From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 16 23:41:02 2013 Return-Path: Delivered-To: vbox@freebsd.org Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by hub.freebsd.org (Postfix) with ESMTP id 901CEBC4; Mon, 16 Dec 2013 23:41:02 +0000 (UTC) Message-ID: <52AF8F8D.7070103@FreeBSD.org> Date: Mon, 16 Dec 2013 18:41:01 -0500 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= , Jason bacon Subject: Re: Problem with compat9x References: <52AF4676.3020102@tds.net> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 16 Dec 2013 23:51:20 +0000 Cc: vbox@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 23:41:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-12-16 14:57:55 -0500, Bernhard Fröhlich wrote: > Am 16.12.2013 19:40 schrieb "Jason Bacon" : >> >> >> Are you aware that the latest VirtualBox won't start on 10.0 is >> compat9x > is installed? >> >> Compat9x is required by openjdk7, BTW. Removing openjdk7 and >> compat9x > eliminates the problem. Reinstalling them brings it back. I tried > installing virtualbox-ose using pkg and from source with the same > results. >> >> Regards, >> >> Jason ~~~~~~~~~~ >> >> FreeBSD oyster bacon ~/Books/Computer-books/HPC/Common 403: >> VirtualBox VirtualBox: Error -610 in >> supR3HardenedMainInitRuntime! VirtualBox: >> dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed: > /usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 > required by /usr/local/lib/virtualbox/VBoxRT.so not found >> >> VirtualBox: Tip! It may help to reinstall VirtualBox. >> >> FreeBSD oyster bacon ~/Books/Computer-books/HPC/Common 408: pkg >> info > virtualbox-ose 'compat*' >> virtualbox-ose-4.2.20_1 compat9x-amd64-9.2.902000.201310 >> >> FreeBSD oyster bacon ~/Books/Computer-books/HPC/Common 409: uname >> -a FreeBSD oyster.jbacon.dyndns.org 10.0-RC1 FreeBSD 10.0-RC1 #0 >> r259068: > Sat Dec 7 17:45:20 UTC 2013 > root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > Yes I am aware of that and if you look at the commit history you > will see that I have tried to fix that issue with the last commit. > It has fixed the issue for a couple of vbox binaries (VBoxSVC, > VBoxManage) but some are still broken. (VBoxHeadless, VirtualBox) > > The conflicts entry for compat9x was there already and I will need > to add it again as it seems. BTW, I have a real fix for the problem, i.e., build with Clang (well, as much as possible). In fact, only couple of files (under src/recompiler) are absolutely needed to be compiled with GCC in 4.3.x. Therefore, there is no need for libstdc++.so dependency at all. Here are my experimental ports (based on official vbox@ ports, i.e., https://redports.org/browser/virtualbox/emulators) http://redports.org/browser/jkim/emulators Cheers, Jung-uk Kim * PS: You can also download the ports tarball from here. http://people.freebsd.org/~jkim/virtualbox-4.3.4-ports.tar.bz2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJSr4+NAAoJEHyflib82/FG8L4H/RStQf5zJfI6jl/QWyP9AoFr ph9NLcxVv2AKbzlblJsVsfyf0Vh8OtLJlGTGyStOlenZ0UiXTXYoNuSva6gsKF/A 1vzDYg2ZfeUKbKjNAyfFPzrT9vm6CPWbaYLW6Sd7GH0DvlO1jxWY90O8ozjUCsAF SDRszDl3TymkMFhErAes25I59G+T03bdtx09wtKpI575F7CVbGPG/JcleQlP8Lyb jFxZ670yT+63qWyyx1inXwLfztogZEj/ntmW8Z45fiv/H2OJwPiENUsvfAjSbU6v 5BVOdUUFJ44leyhDGMCroM7PKZPNo0L2MGayMQbB23DAOLr6hBaBBW3d2s7OXEY= =U1om -----END PGP SIGNATURE-----