libgccjit.so build fails with ISL enabled

Prathamesh Kulkarni prathamesh.kulkarni@linaro.org
Sun Jan 11 23:44:00 GMT 2015


Hi David,
I tried to build  gcc trunk on x86_64-unknown-linux-gnu with ISL enabled,
Configured with --enable-languages=all,go,ada,jit --enable-host-shared
and got following error messages:
/usr/bin/ld: /home/prathamesh.kulkarni/gnu-toolchain/flatten-cfgloop/build/./isl/.libs/libisl.a(isl_val_gmp.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a shared object; recompile with -fPIC
/home/prathamesh.kulkarni/gnu-toolchain/flatten-cfgloop/build/./isl/.libs/libisl.a:
could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [libgccjit.so.0.0.1] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2

I rebuilt leaving jit and the build succeeded. Am I building jit incorrectly ?

Thanks,
Prathamesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 26988 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20150111/61fd9117/attachment.bin>


More information about the Gcc-help mailing list