Date: Wed, 11 Dec 2013 21:32:16 +0100 From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at> To: Mike Jakubik <mike.jakubik@intertainservices.com> Cc: "ports@freebsd.org Ports" <ports@freebsd.org>, vbox@freebsd.org Subject: Re: FreeBSD Port: emulators/virtualbox-ose Message-ID: <CAE-m3X3Jv-xcpUp5M8saNhHTK2G37z4pu-0zv0TpwkbMHCpj1w@mail.gmail.com> In-Reply-To: <52A8C3DA.7010303@intertainservices.com> References: <52A8C3DA.7010303@intertainservices.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 11.12.2013 21:04 schrieb "Mike Jakubik" < mike.jakubik@intertainservices.com>: > > Hello, > > I've updated to the recent 4.2.20 version only to find a runtime error due to libstdc++, I see the recent commit made to fix this on 10, however I am running 9-stable and do not have compat9x installed. I wish thisport did not need gcc to compile, it always seems to be a problem. I can only repeat myself. It will not happen any day soon because clang does not support global register variables and they do not seem to have any interest to implement that. > $ 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 Your setup is very strange but it's about the same issue as on 10 as it seems. With the update to 4.2.20 I have added a change that should add the gcc path to the ports gcc of libstdc++.so.6 to the vbox rpath but it seems to have no effect for you. Could you please send me the following output just to verify: strings /usr/lib/libstdc++.so.6 | grep GLIBCXX On my FreeBSD 10 machine there is no such file so I wonder if that might be a leftover file from a base update. > $ uname -a > FreeBSD freebsd.local 9.2-STABLE FreeBSD 9.2-STABLE #0: Wed Dec 11 13:51:20 EST 2013 mjakubik@freebsd.local:/usr/obj/usr/src/sys/FREEBSD amd64 > > $ pkg info|grep virtualbox > virtualbox-ose-4.2.20 A general-purpose full virtualizer for x86 hardware > virtualbox-ose-kmod-4.2.20 VirtualBox kernel module for FreeBSD > > $ pkg info|grep gcc > gcc-4.6.4 GNU Compiler Collection 4.6 > > /etc/make.comf > > WITH_CLANG_IS_CC=true > WITHOUT_GCC=true
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X3Jv-xcpUp5M8saNhHTK2G37z4pu-0zv0TpwkbMHCpj1w>