Re: Linux - x86/ptrace/gcc 4.7 build error

From: Willy Tarreau
Date: Thu Jun 13 2013 - 14:42:07 EST

On Thu, Jun 13, 2013 at 08:31:08PM +0200, Sven-Haegar Koch wrote:
> On Thu, 13 Jun 2013, Willy Tarreau wrote:
> > 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, I would
> > like it if you could try in your environment to confirm that they correctly
> > fix the issue.
> hello Willy,
> With your two new patches applied on top I was able to build my kernel
> package both using gcc 4.7 (Debian Wheezy) and gcc 4.4 (Debian Squeeze).

Great, thanks for the report!

> (But I did not try rebooting the server yet)

no pb, usually on that old kernels, we get build failure reports in the week of
the release and boot issues during the next month because it seems that not that
many people use them on machines where unplanned reboots are permitted :-)

Thanks !

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at