From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1581 invoked by alias); 1 Jun 2009 15:03:45 -0000 Received: (qmail 1116 invoked by uid 22791); 1 Jun 2009 15:03:41 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.physik.uni-muenchen.de (HELO mail.physik.uni-muenchen.de) (192.54.42.129) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Jun 2009 15:03:36 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id DE9E727DFF; Mon, 1 Jun 2009 17:03:33 +0200 (CEST) Received: from mail.physik.uni-muenchen.de ([127.0.0.1]) by localhost (mail.physik.uni-muenchen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pkLy6i7iSX6F; Mon, 1 Jun 2009 17:03:33 +0200 (CEST) Received: from tobias-schluters-computer.local (e181004057.adsl.alicedsl.de [85.181.4.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 990F927DFD; Mon, 1 Jun 2009 17:03:33 +0200 (CEST) Message-ID: <4A23EDB3.3080203@physik.uni-muenchen.de> Date: Mon, 01 Jun 2009 15:03:00 -0000 From: =?ISO-8859-1?Q?Tobias_Schl=FCter?= User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Jack Howarth CC: gcc@gcc.gnu.org Subject: Re: Bootstrap broken on darwin / fink References: <4A23A87C.6080609@physik.uni-muenchen.de> <20090601142031.GA7986@bromo.med.uc.edu> In-Reply-To: <20090601142031.GA7986@bromo.med.uc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00010.txt.bz2 Hi Jack, Jack Howarth wrote: > You didn't show the configure options you used to build gcc trunk > against the fink libraries. You need at least... > > --with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib > --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib > > Note that we don't set CPPFLAGS or LDFLAGS to have -I/sw/include or > -L/sw/lib in the fink gcc packaging so that only those libraries that > we explicitly set are picked up from fink. All other cases should be > picked up from the system libraries. I wasn't aware of this. So far, I've only used --with-gmp=/sw and it worked like a charm, but I've not tried buildig gcc in a while, maybe I updated my fink tree in the meantime. My guess is, that as libcpp doesn't use gmp it doesn't get the -I/sw/include, whereas gcc/ gets it from --with-gmp. There are libiconvs in both /usr and /sw. Both with --with-libiconv-prefix=/sw and --with-libiconv-prefix=/usr, the build still fails in the same place, i.e. the libiconv from /usr is not picked up even if explicitly requested. Cheers, - Tobi