From owner-freebsd-emulation@freebsd.org Wed Mar 25 10:33:18 2020 Return-Path: Delivered-To: freebsd-emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0D1B27D14D for ; Wed, 25 Mar 2020 10:33:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48nPbJ2r3mz4G7G for ; Wed, 25 Mar 2020 10:33:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 67CDC27D10C; Wed, 25 Mar 2020 10:33:08 +0000 (UTC) Delivered-To: emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 63F3A27D10B for ; Wed, 25 Mar 2020 10:33:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48nPb60CPYz4G4q for ; Wed, 25 Mar 2020 10:33:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 0EDD91B291; Wed, 25 Mar 2020 10:32:59 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 0A0A21B22E for ; Wed, 25 Mar 2020 10:32:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48nPZv6MP6z4G2k for ; Wed, 25 Mar 2020 10:32:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 339451957F for ; Wed, 25 Mar 2020 10:32:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 02PAWmGP070728 for ; Wed, 25 Mar 2020 10:32:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 02PAWmSM070727 for vbox@FreeBSD.org; Wed, 25 Mar 2020 10:32:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: maintainer-feedback requested: [Bug 245048] emulators/virtualbox-ose: failed with message "version CXXABI_1.3.9 required by /usr/local/lib/virtualbox/VBoxRT.so not found" Date: Wed, 25 Mar 2020 10:32:48 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 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, 25 Mar 2020 10:33:18 -0000 Bugzilla Automation has asked vbox@FreeBSD.org for maintainer-feedback: Bug 245048: emulators/virtualbox-ose: failed with message "version CXXABI_1= .3.9 required by /usr/local/lib/virtualbox/VBoxRT.so not found" https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245048 --- Description --- After I upgraded virtualbox-ose to 5.3.34_1 (ports r528258) built by poudri= ere (I attached the build log until DynamicConfig.kmk was build), it failed with the following error messages.=20=20 =3D=3D=3D begin error messages % virtualbox VirtualBox: Error -610 in supR3HardenedMainInitRuntime! VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed: /usr/lib/libstdc++.so.6: version CXXABI_1.3.9 required by /usr/local/lib/virtualbox/VBoxRT.so not found VirtualBox: Tip! It may help to reinstall VirtualBox. =3D=3D=3D end error messages IMHO, /usr/local/lib/virtualbox/VBoXRT.so dlopen(3)ed by virtualbox should = be linked with /usr/local/lib/gcc9/libstdc++.so.6 installed by lang/gcc9 which= is used to build virtualbox-ose. However, rtld(1) chooses /usr/lib/libstdc++.= so.6 to link due to the following configuration by ldconfig(8).=20=20 =3D=3D=3D begin the output of ldconfig -r for libstdc++.so.6 % ldconfig -r | grep libstdc\+\+ 105:-lstdc++.6 =3D> /usr/lib/libstdc++.so.6 1189:-lstdc++.6 =3D> /usr/local/lib/gcc7/libstdc++.so.6 1201:-lstdc++.6 =3D> /usr/local/lib/gcc8/libstdc++.so.6 1207:-lstdc++.6 =3D> /usr/local/lib/gcc9/libstdc++.so.6 =3D=3D=3D end the output of ldconfig -r for libstdc++.so.6 I tried using LD_LIBRARY_PATH, but it had no effect. I would appreciate if someone gives any suggestion.