2013/1/31 AN <andy_at_neu.net>: > > > On Thu, 31 Jan 2013, Olivier Smedts wrote: > >> 2013/1/30 AN <andy_at_neu.net>: >>> >>> With all due respect to developers, are these changes tested at all >>> before >>> they are added to the codebase? >> >> >> Won't sound respectful if the problem is not related to that commit. >> >> Which compiler are you using for the base system, and for ports ? >> (more specifically for the virtualbox ports) I had the same kind of >> errors when compiling virtualbox with gcc46, not the one in base. >> >> -- >> Olivier Smedts _ >> ASCII ribbon campaign ( ) >> e-mail: olivier_at_gid0.org - against HTML email & vCards X >> www: http://www.gid0.org - against proprietary attachments / \ >> >> "Il y a seulement 10 sortes de gens dans le monde : >> ceux qui comprennent le binaire, >> et ceux qui ne le comprennent pas." >> > > > Hi Olivier: > > > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #33 r246130: Wed Jan 30 > 15:00:08 EST 2013 root_at_FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 > > # cc -v > FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 > Target: x86_64-unknown-freebsd10.0 > Thread model: posix > The answers are in your reply : > # c++ -v > FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 > Target: x86_64-unknown-freebsd10.0 > Thread model: posix So "c++" is clang, not base gcc. > I also have installed as ports: > > # pkg info |grep gcc > gcc-4.7.3.20130119 GNU Compiler Collection 4.7 > gcc-4.6.4.20130125 GNU Compiler Collection 4.6 > gcc-aux-20120614_1 Version of GCC 4.7 with full Ada support > gccmakedep-1.0.2 Create dependencies in makefiles using 'gcc > -M' > > Here is: > > # cat /etc/make.conf > > # added by use.perl 2012-12-05 00:36:53 > PERL_VERSION=5.16.2 > > #.include "/usr/local/etc/port_sites.conf" > > QT4_OPTIONS= QGTKSTYLE > MALLOC_PRODUCTION=yes > > OVERRIDE_LINUX_BASE_PORT=f10 > > > I do not have anything in src.conf > > I rebuilt Vbox with both gcc-4.6.4.20130125 and gcc-4.7.3.20130119, and I > get the same failure which is: > > # VirtualBox > VirtualBox: Error -610 in supR3HardenedMainInitRuntime! > VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed: > /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by > /usr/local/lib/virtualbox/VBoxRT.so not found > > > If I build Vbox with gcc4.2.1 it fails with: > > 6 warnings and 2 errors generated. > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/VBoxC/src-client/ConsoleImpl2.o] > Error 1 > The failing command: > _at_c++ -c -O2 -fPIC -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 -m64 > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Main/include > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/VBoxC > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/Main/ > -I/usr/include -I/usr/X11R6/include -I/usr/local/include > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/string > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/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.6/include > -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/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\" -DPIC -DIN_RING3 > -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DIN_RING3 > -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_COM_INPROC > -DVBOX_WITH_VRDP_VIDEO_CHANNEL -DVBOX_WITH_HGCM -DVBOX_WITH_ALSA > -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_EFI > -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_VUSB -DVBOX_WITH_HGSMI > -DVBOX_WITH_VIDEOHWACCEL -DVBOX_WITH_USB -DVBOX_WITH_EHCI > -DVBOX_WITH_EXTPACK -DVBOX_WITH_PCI_PASSTHROUGH -DVBOX_WITH_CRHGSMI > -DVBOX_WITH_NETSHAPER You can see the command failing is "c++", so... clang. Because WITH_CLANG_IS_CC is default on 10-CURRENT now. > -Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/VBoxC/src-client/ConsoleImpl2.o.dep > -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/VBoxC/src-client/ConsoleImpl2.o > -Wp,-MP -o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/VBoxC/src-client/ConsoleImpl2.o > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Main/src-client/ConsoleImpl2.cpp > *** [do-build] Error code 2 > > Stop in /usr/ports/emulators/virtualbox-ose. > *** [install] Error code 1 > > See full log here: > http://sebsauvage.net/paste/?ca19b77777ca1a9e#4ZPQHnM4hsCAIk2mUxbejW1zvNfCv3uGqR52u4j6fLs= > > So it seems Vbox is broken using any GCC compiler right now. I do not know > how to get Vbox to use clang compiler. IIRC, Vbox will not build with clang > (I could be wrong). > > > You said "I had the same kind of > >> errors when compiling virtualbox with gcc46, not the one in base." > > > What revision number are you at? Does Vbox work for you right now? How do > you compile VBox? Yes, it works when I compile it with base gcc (4.2). > What do I need to do to make Vbox work again? You can compile it with base gcc (read : not "c++" but "g++"). And apologise for your flames against the r246028 commiter ;-) Cheers -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier_at_gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."Received on Thu Jan 31 2013 - 22:18:44 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC