https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77464
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #3) > Or at least give a clearer error that mentions -fPIC ... Actually this is not a driver issue just a binutils issue if that. Why add no-pie anyways to the ldflags.