https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112465
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> --- -mcmodel=large is not well supported in general (no support for PIC/PIE, not well optimized or tested). The newly designed medium model will be far better, but until that is implemented it is best to use -mcpu=native and only use -mcmodel=large if there is no other option.