From owner-freebsd-ports@FreeBSD.ORG Fri Jul 4 12:36:41 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 816D61065702 for ; Fri, 4 Jul 2008 12:36:41 +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 3228E8FC21 for ; Fri, 4 Jul 2008 12:36:41 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id DA59074400B; Fri, 4 Jul 2008 15:36:38 +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 2DxBd-ephToo; Fri, 4 Jul 2008 15:36:38 +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 5779774400A; Fri, 4 Jul 2008 15:36:38 +0300 (EEST) Message-ID: <486E1953.90108@icyb.net.ua> Date: Fri, 04 Jul 2008 15:36:35 +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> <486D108E.8030100@icyb.net.ua> <486D12D5.1060304@icyb.net.ua> <20080703223457.GA41872@hades.panopticon> In-Reply-To: <20080703223457.GA41872@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: Fri, 04 Jul 2008 12:36:41 -0000 on 04/07/2008 01:34 Dmitry Marakasov said the following: > * Andriy Gapon (avg@icyb.net.ua) wrote: > >> A s we can see -L/usr/lib comes before gcc-4.2.4 path and thus base >> libstdc+ is picked over the correct one. >> >> Since you can not reproduce this in clean environment I wonder where >> that -L/usr/lib comes from. > Seems like you're right, I don't have -L/usr/lib in gcc args when > building gnash. > > Could you please send me conf* files from the workdir (config.log etc.) > and all Makefile* files (Makefile, Makefile.in from all subdirs). > Dmitry, I decided to do some more local research before sending you that bulk data. Here's what I have so far. 1. There is no -L/usr/lib in the corresponding libtool invocation, so it means that libtool itself adds it. 2. There is the following line in libtool script (in gnash base dir): sys_lib_search_path_spec=" /usr/lib/" 3. In configure script I see that is set based on $CC -print-search-dirs 4. gcc42 -print-search-dirs produces "good" list of directories where its specific directories precede /usr/lib. 5. But gcc -print-search-dirs produces only /usr/lib. -- Andriy Gapon