https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 50614 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50614&action=edit gcc11-pr100096.patch Thanks. So, from your readelf -wi dump it seems it is only libintl.a that doesn't have --enable-host-shared support. So, can you please test this patch and see if all libgccjit.so* text relocations are gone with that? Can't test myself as on Linux libintl.a is never built - gettext is in the C library.