http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52747
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-28 14:44:09 UTC --- The -Wtrampolines is that warning. Note that -Wl,-z,noexecstack is a user error in that case, you are requesting the linker to override any automatic deduction on whether trampolines are used or not, by promising they aren't used, even when you actually use them. If you don't use -Wl,-z,noexecstack, the compiler/assembler/linker will DTRT automatically, unless you have *.s/*.S sources (those need to be tagged manually, or with -Wa,--noexecstack).