This is the mail archive of the
mailing list for the GCC project.
Re: Graphite build fails if PPL configured with --disable-shared
- From: Janis Johnson <janis187 at us dot ibm 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:14:24 -0700
- Subject: Re: Graphite build fails if PPL configured with --disable-shared
- References: <firstname.lastname@example.org>
- Reply-to: janis187 at us dot ibm dot com
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.
I get around this by setting LDFLAGS for the ppl configure:
I copy libstdc++.a into the directory with the other GCC host
Building these libraries is indeed quite painful.