From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 11 20:32:18 2013 Return-Path: Delivered-To: vbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00E4CF44 for ; Wed, 11 Dec 2013 20:32:18 +0000 (UTC) Received: from mail-oa0-x22b.google.com (mail-oa0-x22b.google.com [IPv6:2607:f8b0:4003:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B0E66153E for ; Wed, 11 Dec 2013 20:32:17 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id i7so7940521oag.16 for ; Wed, 11 Dec 2013 12:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7+gcd5cMMop+y9CplJtCbU0ygld7nl+q5kQOStEAH7g=; b=OWpJFkOMERt5zL7poXwOkpMOChCCIvV+72Jg9mEMyy/0bIBeRGQw6JvlB8+orEYfUf fzTbUv8i35kmY1qWOweyi/3yIECuBTcn6w8oAJtMIPVcoThBgXq2YvvM68jXnhoowwHt HEG/A0AeUEcTbRvm16UaCC8K4XD0CNFURL4rY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7+gcd5cMMop+y9CplJtCbU0ygld7nl+q5kQOStEAH7g=; b=ktPk50dwCvh3iHs7qmRL597Wi+3kgbgkYUkf1n83USRjf+88YEoqGLaq/R6VxEaHvY /Xm1ITVfoVK0wBOsUdygfn/AXmeyGIwDDHZ7Hy95Xvl8F9lCEe9SRmSmXudpynwp0pR0 F9rGHZticmjv1srapJkMtuyPV0hlTKqZnBZ5kE3LOCKi9NBP/ap4+0Hb2IJ4aPj0Oi7v YioVLCkWD49X4ICYzsHgehjlErQ7ATI6qh4I10YIt4W0uFhmAcPvIpsYoqtlys2ZdjBq NKS7ABBVfGjSnANzpk/lwevdJR6iIvJcfKZ1qegopyPpwp4ln/67eI9B7CQew4AJoi7G v/Jw== X-Gm-Message-State: ALoCoQlw+0IP57U8898gRP8YenUa0/orxCLz+AoH3VPXIkfHFPVJtN/VhsAIpgRRd747xiYNUx9u MIME-Version: 1.0 X-Received: by 10.60.103.106 with SMTP id fv10mr2758096oeb.44.1386793937061; Wed, 11 Dec 2013 12:32:17 -0800 (PST) Received: by 10.76.154.2 with HTTP; Wed, 11 Dec 2013 12:32:16 -0800 (PST) X-Originating-IP: [46.206.71.7] Received: by 10.76.154.2 with HTTP; Wed, 11 Dec 2013 12:32:16 -0800 (PST) In-Reply-To: <52A8C3DA.7010303@intertainservices.com> References: <52A8C3DA.7010303@intertainservices.com> Date: Wed, 11 Dec 2013 21:32:16 +0100 Message-ID: Subject: Re: FreeBSD Port: emulators/virtualbox-ose From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: Mike Jakubik X-Mailman-Approved-At: Wed, 11 Dec 2013 20:57:35 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "ports@freebsd.org Ports" , 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: Wed, 11 Dec 2013 20:32:18 -0000 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