https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So I see 236 R_386_RELATIVE text relocations and 231 other text relocations. Seems the compiler itself is built with -fpic/-fPIC, but some of the libraries that are linked into it are not, e.g. libintl.a, at least parts of libgcc (the dfp stuff), libbacktrace. Perhaps readelf -wi libgccjit.so.0 | grep DW_AT_producer would make it clearer on what is and what is not built with -fpic/-fPIC. On i686-linux I certainly can't reproduce this, there are no text relocations.