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....