https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77464 --- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Or at least give a clearer error that mentions -fPIC ...