https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107971
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Gcc just invokes the assembly. The problem is legacy assembly code might still use an executable stack. Best way to fix this is for you to add the option. There is nothing gcc is going to change to be different here. Also the assembler is not part of gcc. Most likely you are using gnu binutils.