https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67128
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Szőts Ákos from comment #3) > Option "--with-pic" doesn't work, but the suggested workaround in the > original post does. I think using --disable-shared --with-pic *should* work, but it doesn't because of PR 58638.