https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472
--- Comment #6 from 8dcc.git at gmail dot com --- (In reply to Xi Ruoyao from comment #4) > > I tried compiling the source with: > > > > gcc -S -masm=intel -no-pie -o output.s source.c > > > > And the issue still persists. > > -no-pie is only passed through to the linker. The compiler option is > -fno-PIE. You are right. And yes, when compiling with -fno-PIE instead of -no-pie, the issue does not happen.