RE: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0

2005-03-16 Thread Mikael Pettersson
Mikael Starvik writes: > Another comment: > > >CFLAGS += -ffreestanding to avoid gcc magically turning sprintf() > > into calls to non-existent strcpy(). > > You could use -fno-builtin-sprintf instead and thus also avoid the abs > change. Cool. I'll test that and if it works w/o exposing

RE: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0

2005-03-16 Thread Mikael Starvik
Sent: Thursday, March 10, 2005 9:50 AM To: 'Mikael Pettersson'; 'linux-kernel@vger.kernel.org' Subject: RE: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0 >+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR >= 96) Should be __GNUC_MINOR__ -O

RE: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0

2005-03-10 Thread Mikael Pettersson
On Thu, 10 Mar 2005 09:50:11 +0100, Mikael Starvik wrote: >>+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR >= 96) > >Should be __GNUC_MINOR__ Thanks, I'll fix that. /Mikael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

RE: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0

2005-03-10 Thread Mikael Starvik
t: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0 Here is a preliminary set of patches to allow gcc-4.0 (20050130) to compile the 2.4.30-pre1 kernel. I make no claim that the patches are complete, but they have been tested successfully on i386 (multiple boxes), x86-64, and ppc32. The change

Re: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0

2005-02-23 Thread Mikael Pettersson
Adrian Bunk writes: > On Thu, Feb 10, 2005 at 04:28:58PM +0100, Mikael Pettersson wrote: > > Here is a preliminary set of patches to allow gcc-4.0 (20050130) > > to compile the 2.4.30-pre1 kernel. I make no claim that the patches > > are complete, but they have been tested successfully on i386

Re: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0

2005-02-23 Thread Adrian Bunk
On Thu, Feb 10, 2005 at 04:28:58PM +0100, Mikael Pettersson wrote: > Here is a preliminary set of patches to allow gcc-4.0 (20050130) > to compile the 2.4.30-pre1 kernel. I make no claim that the patches > are complete, but they have been tested successfully on i386 (multiple > boxes), x86-64, and

[PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0

2005-02-10 Thread Mikael Pettersson
Here is a preliminary set of patches to allow gcc-4.0 (20050130) to compile the 2.4.30-pre1 kernel. I make no claim that the patches are complete, but they have been tested successfully on i386 (multiple boxes), x86-64, and ppc32. The changes fall into these categories: - static-vs-non-static mism