https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64296
Martin Sebor changed:
What|Removed |Added
Last reconfirmed|2015-04-13 00:00:00 |2015-12-16
CC||msebor at gcc dot gnu.org
Known to fail||6.0
--- Comment #3 from Martin Sebor ---
Assuming this is the same error, it's still failing on today's trunk. After
configuring with the following options:
--enable-languages=ada,c,c++,fortran,go,java,jit,lto,objc,obj-c++
--enable-host-shared
I got the error below. I added the --enable-host-shared after a configure
error that said it was needed for jit.
/home/msebor/build/gcc-trunk-svn/./prev-gcc/xg++
-B/home/msebor/build/gcc-trunk-svn/./prev-gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/home/msebor/build/gcc-trunk-svn/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/msebor/build/gcc-trunk-svn/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/home/msebor/build/gcc-trunk-svn/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/msebor/build/gcc-trunk-svn/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/msebor/scm/fsf/gcc-svn/libstdc++-v3/libsupc++
-L/home/msebor/build/gcc-trunk-svn/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/msebor/build/gcc-trunk-svn/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie -g -O2 -gtoggle -DIN_GCC -fPIC-fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
-DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o lto1 \
lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o lto/lto-partition.o
lto/lto-symtab.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a
-L/home/msebor/build/gcc-trunk-svn/./isl/.libs -lisl
-L/home/msebor/build/gcc-trunk-svn/./gmp/.libs
-L/home/msebor/build/gcc-trunk-svn/./mpfr/.libs
-L/home/msebor/build/gcc-trunk-svn/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic
-ldl -L./../zlib -lz libcommon.a ../libcpp/libcpp.a
../libbacktrace/.libs/libbacktrace.a ../libiberty/pic/libiberty.a
../libdecnumber/libdecnumber.a
/usr/bin/ld:
/home/msebor/build/gcc-trunk-svn/./isl/.libs/libisl.a(isl_val_gmp.o):
relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a
shared object; recompile with -fPIC
/home/msebor/build/gcc-trunk-svn/./isl/.libs/libisl.a: error adding symbols:
Bad value
collect2: error: ld returned 1 exit status
/home/msebor/scm/fsf/gcc-svn/gcc/jit/Make-lang.in:84: recipe for target
'libgccjit.so.0.0.1' failed
make[3]: *** [libgccjit.so.0.0.1] Error 1
make[3]: *** Waiting for unfinished jobs
rm -f stamp-gnatlib2-rts stamp-tools
rm fsf-funding.pod grmic.pod gcov.pod gc-analyze.pod gpl.pod cpp.pod gfdl.pod
gccgo.pod gfortran.pod gcc.pod gcj-dbtool.pod jcf-dump.pod gcj.pod
jv-convert.pod gcov-tool.pod gij.pod
make[3]: Leaving directory '/home/msebor/build/gcc-trunk-svn/gcc'
Makefile:4435: recipe for target 'all-stage2-gcc' failed
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory '/home/msebor/build/gcc-trunk-svn'
Makefile:27942: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/home/msebor/build/gcc-trunk-svn'
Makefile:28185: recipe for target 'bootstrap' failed
make: *** [bootstrap] Error 2