From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3528 invoked by alias); 11 May 2009 20:13:37 -0000 Received: (qmail 3520 invoked by uid 22791); 11 May 2009 20:13:36 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-qy0-f126.google.com (HELO mail-qy0-f126.google.com) (209.85.221.126) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 May 2009 20:13:28 +0000 Received: by qyk32 with SMTP id 32so3918361qyk.0 for ; Mon, 11 May 2009 13:13:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.82.12 with SMTP id z12mr1206910qck.59.1242072803906; Mon, 11 May 2009 13:13:23 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 May 2009 23:45:00 -0000 Message-ID: <6dc9ffc80905111313l7f190d37sc1c4f7fd3bd4615a@mail.gmail.com> Subject: Re: Graphite build fails if PPL configured with --disable-shared From: "H.J. Lu" To: Ian Lance Taylor Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00282.txt.bz2 On Mon, May 11, 2009 at 1:07 PM, Ian Lance Taylor wrote: > Another Graphite build issue: it appears that I must not use > --disable-shared when I configure PPL. =A0If I do use --disable-shared, I > get this: > > /home/iant/gnu/ppl-0.10.2-install/lib/libppl_c.a(ppl_c_implementation_com= mon.o): In function `finalize': > /home/iant/gnu/ppl-0.10.2/interfaces/C/../../src/ppl.hh:1842: undefined r= eference to `operator delete(void*)' > > followed by thousands of similar errors. =A0This is unfortunate, as it > means that I must manually set LD_LIBRARY_PATH to the directory where > the PPL library is installed. =A0This also makes it harder for anybody > else to run the compiler that I build. =A0This needs to be fixed. > > Personally, I think all those extra libraries should be linked in statically. Otherwise, I can't give my compiler binaries to others. I have been using: http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00132.html --=20 H.J.