This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Graphite build fails if PPL configured with --disable-shared


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]