This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
build issue
- From: François Dumont <francois dot cppdevs at free dot fr>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 04 Nov 2010 21:37:37 +0100
- Subject: build issue
Hi
Am I the only one to experiment build issues with current SVN trunk ?
make[3]: Leaving directory
`/home/fdt/dev/gcc/host-x86_64-unknown-linux-gnu/gcc'
make[3]: Entering directory
`/home/fdt/dev/gcc/host-x86_64-unknown-linux-gnu/lto-plugin'
/bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Werror -g
-fkeep-inline-functions -no-undefined -bindir
/home/fdt/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0
-Wc,../libiberty/libiberty.a -o liblto_plugin.la -rpath
/home/fdt/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0 lto-plugin.lo
libtool: link: gcc -shared .libs/lto-plugin.o
../libiberty/libiberty.a -Wl,-soname -Wl,liblto_plugin.so.0 -o
.libs/liblto_plugin.so.0.0.0
/usr/bin/ld: ../libiberty/libiberty.a(argv.o): relocation R_X86_64_32S
against `_sch_istable' can not be used when making a shared object;
recompile with -fPIC
../libiberty/libiberty.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [liblto_plugin.la] Error 1
make[3]: Leaving directory
`/home/fdt/dev/gcc/host-x86_64-unknown-linux-gnu/lto-plugin'
make[2]: *** [all-stage1-lto-plugin] Error 2
make[2]: Leaving directory `/home/fdt/dev/gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/fdt/dev/gcc'
make: *** [all] Error 2
Thanks in advance for a solution