Page MenuHomeFreeBSD
Paste P566

Extract from the attachment at https://bugs.freebsd.org/270189#c6
ActivePublic

Authored by grahamperrin on Mar 25 2023, 5:48 AM.
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/src/VBox/Devices/PC/ipxe/src/core/settings.c:289:8: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
char name[ strlen ( name ) + 1 /* NUL */ ];
^
11 warnings and 1 error generated.
kmk: *** [/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/out/freebsd.amd64/release/obj/iPxeBaseBin/src/core/settings.o] Error 1
The failing command:
@clang15 -m32 -c -O2 -fno-pie -fcommon -ffreestanding -ffunction-sections -march=i386 -fomit-frame-pointer -fstrength-reduce -falign-jumps=1 -falign-loops=1 -Os -falign-functions=1 -mstack-alignment=2 -mregparm=3 -mrtd -freg-struct-return -fshort-wchar -Ui386 -Ulinux -include compiler.h -Wall -W -Wformat-nonliteral -fno-stack-protector -fno-dwarf2-cfi-asm -Wno-address -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/src/VBox/Devices/PC/ipxe/src -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/src/VBox/Devices/PC/ipxe/src/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/src/VBox/Devices/PC/ipxe/src/arch/x86/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/src/VBox/Devices/PC/ipxe/src/arch/i386/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/src/VBox/Devices/PC/ipxe/src/arch/i386/include/pcbios -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/out/freebsd.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DARCH=i386 -DPLATFORM=pcbios -DVERSION_MAJOR=1 -DVERSION_MINOR=0 -DVERSION_PATCH=0 -DVERSION=\"1.0.0+\" -D_build_id=0xaffeaffe -DOBJECT=settings -Wp,-MD,/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/out/freebsd.amd64/release/obj/iPxeBaseBin/src/core/settings.o.dep -Wp,-MT,/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/out/freebsd.amd64/release/obj/iPxeBaseBin/src/core/settings.o -Wp,-MP -o /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/out/freebsd.amd64/release/obj/iPxeBaseBin/src/core/settings.o /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.36/src/VBox/Devices/PC/ipxe/src/core/settings.c
*** Error code 2
Stop.

Event Timeline

grahamperrin created this object in space S1 Global.
grahamperrin created this object with edit policy "No One".
grahamperrin changed the title of this paste from Extract from the attachment at <https://bugs.freebsd.org/270189#c6> to Extract from the attachment at https://bugs.freebsd.org/270189#c6.