https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112643
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect the common theme here is enable-default-pie . In the case of the original report was built with a compiler that had enabled and --disable-bootstrap got it.