https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116472

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #4 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to 8dcc.git from comment #3)
> > Are you sure you don't have some patch which breaks this?
> I haven't manually patched GCC, it was installed it from the Arch
> repository, which is apparently configured with `--enable-default-pie`,
> according to `gcc -v`.
> 
> > Oh -fPIE is needed to get the "broken" assembly.
> 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.

Reply via email to