https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106270
Wilco <wilco at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #2 from Wilco <wilco at gcc dot gnu.org> --- GCC will crash well before reaching 128 MBytes of .text. So what is the real underlying problem? Note that GCC could split huge .text sections automatically to allow insertion of linker veneers every 128MB. So -mlong-calls is simply an incorrect solution for a problem that doesn't exist yet...