Sven-Haegar, Christoph, concerning the issue below, I could reproduce both Sven-Haegar's error (running make headers_check with the patch applied) and Christoph's build error with gcc 4.7 on i686 without the patch. I noticed that neither syscall_trace_enter() nor syscall_trace_leave() were called from C code, all were from pure asm. So I simply reverted the first patch then removed the two function prototypes and everything is OK for me now using gcc 4.7, i686 and x86_64. I'm attaching the two patches here to be appled on top of 2.6.32.61, I would like it if you could try in your environment to confirm that they correctly fix the issue. Thanks, Willy -- On Mon, Jun 10, 2013 at 05:11:49PM +0200, Sven-Haegar Koch wrote: > On Mon, 10 Jun 2013, Willy Tarreau wrote: > > > Willy Tarreau (2): > > x86, ptrace: fix build breakage with gcc 4.7 > > This change breaks "make headers_install": > > CHECK include (0 files) > CHECK include/asm (54 files) > /home/haegar/src/2.6.32/linux/usr/include/asm/ptrace.h:5: included file 'linux/linkage.h' is not exported > make[3]: *** [/home/haegar/src/2.6.32/linux/usr/include/asm/.check] Error 123 > make[2]: *** [headers_check] Error 2 > make[1]: *** [deb-pkg] Error 2 > make: *** [deb-pkg] Error 2 > > c'ya > sven-haegar > > -- > Three may keep a secret, if two of them are dead. > - Ben F. > -- > To unsubscribe from this list: send the line "unsubscribe stable" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html