[PATCH] Use -Wno-error=trampolines

Ondřej Bílka neleai@seznam.cz
Tue Jan 6 18:04:00 GMT 2015


On Sat, Jan 03, 2015 at 02:18:06PM -0800, Richard Henderson wrote:
> On gentoo, at least with gcc 4.9, -Wtrampolines are enabled by default:
> 
> tst-execstack-mod.c: In function ‘tryme’:
> tst-execstack-mod.c:16:8: error: trampoline generated for nested function ‘callback’ [-Werror=trampolines]
>    void callback (void) { ok = true; }
>            ^
> 	   cc1: all warnings being treated as errors
> 
> But of course these testcases require the use of trampolines.
> 
> Ok?
> 
ok



More information about the Libc-alpha mailing list