This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Graphite build fails if PPL configured with --disable-shared
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 11 May 2009 13:13:23 -0700
- Subject: Re: Graphite build fails if PPL configured with --disable-shared
- References: <m3prefxv25.fsf@google.com>
On Mon, May 11, 2009 at 1:07 PM, Ian Lance Taylor <iant@google.com> 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.
>
>
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
--
H.J.