[Call for Testers] VirtualBox 4.2.4

Mike Jakubik mike.jakubik at intertainservices.com
Tue Oct 30 21:04:55 UTC 2012


On Tuesday 30 October 2012 4:05:06 PM Mike Jakubik wrote:
> On Tuesday 30 October 2012 3:56:29 PM Bernhard Fröhlich wrote:
> > On Tue, Oct 30, 2012 at 8:12 PM, Mike Jakubik
> > 
> > > Hello, i have just tried to compile this on an up to date releng9
> > > system.
> > > 
> > > - Base GCC, compiles ok, works ok.
> > > 
> > > - GCC47, fails, due to ugly -fno-format-extensions and
> > > -fformat-extensions compiler hacks.
> > 
> > Patches are welcome but it's not supported from us yet and probably will
> > never be.
> 
> Thats a shame, i'll see if i can make it work, though im not an expert in
> this field.

This was apprantly already discussed by others two years ago.

http://lists.freebsd.org/pipermail/freebsd-emulation/2010-July/007873.html

I've modified Config.kmk to exclude those FreeBSD custom compiler options and it 
continued to compile. Unforntunately it did fail again but for a different 
reason, it seems like getting this to work with an up to date version of gcc 
wouldnt be too hard by someone who knew what they were doing.


---
kBuild: Compiling VBoxSVC - /usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/src/VBox/Main/src-
server/freebsd/HostHardwareFreeBSD.cpp
In file included from /usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/src/VBox/Main/src-
server/freebsd/HostHardwareFreeBSD.cpp:44:0:
/usr/include/cam/cam.h:261:39: error: 'FILE' has not been declared
In file included from /usr/include/cam/cam_ccb.h:42:0,
                 from /usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/src/VBox/Main/src-
server/freebsd/HostHardwareFreeBSD.cpp:45:
/usr/include/cam/scsi/scsi_all.h:2183:31: error: 'FILE' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.4/src/VBox/Main/src-
server/freebsd/HostHardwareFreeBSD.cpp: In function 'int 
getDVDInfoFromCAM(DriveInfoList*, bool*)':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.4/src/VBox/Main/src-
server/freebsd/HostHardwareFreeBSD.cpp:254:122: warning: invalid conversion 
from 'int' to 'periph_pattern_flags' [-fpermissive]
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.4/src/VBox/Main/src-
server/freebsd/HostHardwareFreeBSD.cpp: At global scope:
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.4/src/VBox/Main/src-
server/freebsd/HostHardwareFreeBSD.cpp:337:12: warning: unused parameter 
'isDVD' [-Wunused-parameter]
kmk: *** [/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/obj/VBoxSVC/src-
server/freebsd/HostHardwareFreeBSD.o] Error 1
The failing command:
@g++47 -c -O2 -g -pipe -pedantic -Wshadow -Wshadow -Wall -Wextra -Wno-missing-
field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-
long-long -Wno-long-long -Wno-delete-non-virtual-dtor -Wno-variadic-macros -
Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar -fpermissive -
fexceptions -frtti -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-
aliasing -fvisibility-inlines-hidden -fvisibility=hidden -
DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -g -pipe -pedantic -
Wshadow -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-trigraphs -
fdiagnostics-show-option -Wno-long-long -Wno-long-long -Wno-delete-non-
virtual-dtor -Wno-variadic-macros -Wno-long-long -Wno-non-virtual-dtor -
Wshadow -fshort-wchar -fpermissive -fexceptions -frtti -O2 -mtune=generic -
fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -
fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -
m64 -I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/src/VBox/Main/include -
I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/obj/VBoxSVC -
I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/obj/Main/ -
I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.4/src/VBox/Main -
I/usr/include -I/usr/X11R6/include -I/usr/local/include -
I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include 
-I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom 
-I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/string 
-I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom 
-I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub 
-I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/ipcd 
-I/usr/local/include/libpng -I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/include -I/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release -DVBOX -
DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -
DVBOX_WITH_HARDENING -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ 
-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\" -DIN_RING3 -DUNICODE 
-DNDEBUG=1 -DVBOX_WITH_XPCOM -DVBOX_MAIN_SETTINGS_ADDONS -DIN_VMM_STATIC -
DVBOX_WITH_SYS_V_IPC_SESSION_WATCHER -DVBOX_WITH_RAW_MODE -DVBOX_WITH_NETFLT -
DVBOX_WITH_CROGL -DVBOX_WITH_GUEST_PROPS -DVBOX_WITH_GUEST_CONTROL -
DVBOX_WITH_USB_CARDREADER -DVBOX_WITH_HOSTNETIF_API -
DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_WITH_VBOXSDL -DVBOX_WITH_HEADLESS -
DVBOX_WITH_QTGUI -DVBOX_WITH_HGCM -DVBOX_WITH_ALSA -DVBOX_WITH_PULSE -
DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_AHCI -DVBOX_WITH_LSILOGIC -
DVBOX_WITH_RESOURCE_USAGE_API -DVBOX_WITH_PDM_ASYNC_COMPLETION -
DVBOX_WITH_EXTPACK -DVBOX_WITH_VUSB -DVBOX_WITH_S3 -DVBOX_WITH_PCI_PASSTHROUGH 
-DVBOX_WITH_USB -DVBOX_WITH_EHCI -DVBOX_WITH_NEW_USB_CODE_ON_DARWIN -
DVBOX_WITH_HOSTNETIF_API -DVBOX_USE_LIBHAL -Wp,-
MD,/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/obj/VBoxSVC/src-
server/freebsd/HostHardwareFreeBSD.o.dep -Wp,-
MT,/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/obj/VBoxSVC/src-
server/freebsd/HostHardwareFreeBSD.o -Wp,-MP -o 
/usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/out/freebsd.amd64/release/obj/VBoxSVC/src-
server/freebsd/HostHardwareFreeBSD.o /usr/ports/emulators/virtualbox-
ose/work/VirtualBox-4.2.4/src/VBox/Main/src-
server/freebsd/HostHardwareFreeBSD.cpp
*** [do-build] Error code 2



More information about the freebsd-ports mailing list