https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The important question is what TUs are compiled without -fPIC/-fpic, those with those options are fine. So perhaps readelf -wi libgccjit.so.0 | grep DW_AT_producer | grep -v 'fPIC\|fpic' ?