[Bug jit/86845] New: libgccjit.so.0.0.1 build error with in-tree isl: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 3 16:45:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86845
Bug ID: 86845
Summary: libgccjit.so.0.0.1 build error with in-tree isl:
relocation R_X86_64_32 against `.rodata.str1.8' can
not be used when making a shared object; recompile
with -fPIC
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: jit
Assignee: dmalcolm at gcc dot gnu.org
Reporter: msebor at gcc dot gnu.org
Target Milestone: ---
While trying to build GCC with enough support to debug bug 86841 (apparently
the ISL installed on the machine isn't good enough), I downloaded and installed
the latest prerequisites, configured GCC via 'configure --enable-host-shared
--enable-languages=all' and got the error below. This used to work fine.
/usr/bin/ld:
/opt/notnfs/msebor/build/gcc-git/./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
/opt/notnfs/msebor/build/gcc-git/./isl/.libs/libisl.a: error adding symbols:
Bad value
collect2: error: ld returned 1 exit status
/opt/notnfs/msebor/src/gcc/git/gcc/jit/Make-lang.in:97: recipe for target
'libgccjit.so.0.0.1' failed
make[3]: *** [libgccjit.so.0.0.1] Error 1
make[3]: *** Waiting for unfinished jobs....
More information about the Gcc-bugs
mailing list