From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15159 invoked by alias); 12 May 2009 07:42:21 -0000 Received: (qmail 15151 invoked by uid 22791); 12 May 2009 07:42:20 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp23.services.sfr.fr (HELO smtp23.services.sfr.fr) (93.17.128.20) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 May 2009 07:42:12 +0000 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2324.sfr.fr (SMTP Server) with ESMTP id 08FE07000081; Tue, 12 May 2009 09:42:10 +0200 (CEST) Received: from [192.168.1.101] (152.174.71-86.rev.gaoland.net [86.71.174.152]) by msfrf2324.sfr.fr (SMTP Server) with ESMTP id B2FF5700008F; Tue, 12 May 2009 09:42:09 +0200 (CEST) X-SFR-UUID: 20090512074209733.B2FF5700008F@msfrf2324.sfr.fr Subject: Re: Graphite build fails if PPL configured with --disable-shared From: Laurent GUERBY To: Ian Lance Taylor Cc: gcc@gcc.gnu.org In-Reply-To: References: Content-Type: text/plain Date: Tue, 12 May 2009 08:13:00 -0000 Message-Id: <1242114128.20334.20.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-05/txt/msg00291.txt.bz2 On Mon, 2009-05-11 at 13:07 -0700, Ian Lance Taylor wrote: > Another Graphite build issue: it appears that I must not use > --disable-shared when I configure PPL. If I do use --disable-shared, I > get this: > > /home/iant/gnu/ppl-0.10.2-install/lib/libppl_c.a(ppl_c_implementation_common.o): In function `finalize': > /home/iant/gnu/ppl-0.10.2/interfaces/C/../../src/ppl.hh:1842: undefined reference to `operator delete(void*)' > > followed by thousands of similar errors. This is unfortunate, as it > means that I must manually set LD_LIBRARY_PATH to the directory where > the PPL library is installed. This also makes it harder for anybody > else to run the compiler that I build. This needs to be fixed. > > > Also, a minor issue: cloog "make clean" fails: > > rm /version.h > rm: cannot remove `/version.h': No such file or directory Last time I tried I was able to build a gmp/mpfr/ppl/cloog static and libstdc++ dynamic (system) GCC: http://gcc.gnu.org/ml/gcc/2009-03/msg00856.html As shown in the discussion last option must be: --with-host-libstdc++=/usr/lib/libstdc++.so.6 Laurent