https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116642
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Joshua from comment #12) > You can't *do* that in this environment. No relocations allowed. you requested PIE which requires some relocations.