https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77346
--- Comment #6 from Arseny Solokha <asolokha at gmx dot com> --- (In reply to Aldy Hernandez from comment #5) <trimmed> > -fPIC -fno-stack protector Did you copy your session verbatim in #c5? If so, -f(no-)stack-protector apparently has nothing to do w/ the issue. Your cross-compilers most likely default to -fPIC, and while you negated -fstack-protector, you didn't do the same w/ -fPIC. May I ask you to try it once again the following way: % ./cc1 -quiet a.c -quiet -mno-lra -Os -w -I./ -fno-PIC ?