From owner-freebsd-ports@FreeBSD.ORG Thu Jul 3 17:46:58 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E80B6106568C for ; Thu, 3 Jul 2008 17:46:58 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5768FC16 for ; Thu, 3 Jul 2008 17:46:58 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 1C7C574400A; Thu, 3 Jul 2008 20:46:56 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Z0aKc6n2op0; Thu, 3 Jul 2008 20:46:55 +0300 (EEST) Received: from [10.2.1.87] (voip.cybervisiontech.com.ua [91.198.50.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 9F3FE744005; Thu, 3 Jul 2008 20:46:55 +0300 (EEST) Message-ID: <486D108E.8030100@icyb.net.ua> Date: Thu, 03 Jul 2008 20:46:54 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.14 (X11/20080611) MIME-Version: 1.0 To: Dmitry Marakasov References: <4860EC81.1010302@icyb.net.ua> <20080624165126.GJ4022@hades.panopticon> <48620622.50808@icyb.net.ua> <20080701193629.GB45179@hades.panopticon> In-Reply-To: <20080701193629.GB45179@hades.panopticon> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Subject: Re: gnash-0.8.3: build fails on 6.3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 17:46:59 -0000 on 01/07/2008 22:36 Dmitry Marakasov said the following: > * Andriy Gapon (avg@icyb.net.ua) wrote: > > Any news on the problem? I've gon 2 more reports of gnash failure on > 6.3. I've tried to reproduce bug in 6.3 jail, but with no luck (tried > rebuilding everything with different suspicios options that may affect > gnash or ports it depends on (WITH_OPTIMIZED_CFLAGS, WITHOUT_DEBUG), > also tried to build everything when multiple versions of gcc are present > - it just builds without problems. I also tried clean re-install (as opposed to upgrade via portupgrade) and that resulted in the same error. > Could you please mail me your make.conf and `pkg_info` output? Let me send those a bit later. Now an important finding - it seems that g++42 tries to use different libstdc++, not its own. I verified with nm that missing symbols are present in /usr/local/lib/gcc-4.2.4/libstdc++.so.6, but g++42 doesn't see them. I explicitly added the library to command line and then linking succeeded. I am quite puzzled as to why g++42 would not see its own libstdc++ or prefer other libstdc++ over its own. Might this be because of -L/usr/lib in the command line? BTW, I have the following GCCs installed: gcc-4.2.4_20080430 gcc-4.3.2_20080626 gcc-ooo-3.4.1_3 Plus base GCC 3.4.6. And their libs: /usr/lib/libstdc++.so /usr/lib/libstdc++.so.5 /usr/lib32/libstdc++.so /usr/lib32/libstdc++.so.5 /usr/local/lib/gcc-4.2.4/libstdc++.so /usr/local/lib/gcc-4.2.4/libstdc++.so.6 /usr/local/lib/gcc-4.3.2/libstdc++.so /usr/local/lib/gcc-4.3.2/libstdc++.so.6 -- Andriy Gapon