Re: rwsem, gcc3 again

2001-05-16 Thread mirabilos
Andrea, I doubt that it applies against -ac and I have only very few hard disk space, so please don't beat me I could not try... (I tried the second-to-last but it didn't apply either) But 2.4.3-ac7 works very fine with your older patch. As noticed, I now solved by CONFIG_RWSEM_GENERIC_SPINLOCK=y

Re: rwsem, gcc3 again

2001-05-16 Thread Andrea Arcangeli
On Wed, May 16, 2001 at 02:52:04PM +0100, David Howells wrote: > > Hi Andrea: > > Here you go: > > /usr/local/bin/gcc -D__KERNEL__ -I/inst-kernels/linux-2.4.5-pre2-aa/include -Wall >-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe >-mpreferred-stack-boundary=2

Re: rwsem, gcc3 again

2001-05-16 Thread David Howells
Hi Andrea: Here you go: /usr/local/bin/gcc -D__KERNEL__ -I/inst-kernels/linux-2.4.5-pre2-aa/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686-DEXPORT_SYMTAB -c sys.c sys.c: In function `sys_gethostname':

Re: rwsem, gcc3 again

2001-05-16 Thread Andrea Arcangeli
On Wed, May 16, 2001 at 11:03:27AM +0200, [EMAIL PROTECTED] wrote: > David, > I am using the gcc-3.0 snapshot of 14.5.2001 from codesourcery (i686 binary). > I have now tried to mimic CPU=386 behaviour (patch posted yesterday night) > and it compiles (just sound fails), by exchanging y and n in >

Re: rwsem, gcc3 again

2001-05-16 Thread eccesys
David, I am using the gcc-3.0 snapshot of 14.5.2001 from codesourcery (i686 binary). I have now tried to mimic CPU=386 behaviour (patch posted yesterday night) and it compiles (just sound fails), by exchanging y and n in CONFIG_RWSEM_GENERIC_SPINLOCK and CONFIG_RWSEM_XCHGADD_ALGORITHM. Thanks

Re: rwsem, gcc3 again

2001-05-16 Thread eccesys
David, I am using the gcc-3.0 snapshot of 14.5.2001 from codesourcery (i686 binary). I have now tried to mimic CPU=386 behaviour (patch posted yesterday night) and it compiles (just sound fails), by exchanging y and n in CONFIG_RWSEM_GENERIC_SPINLOCK and CONFIG_RWSEM_XCHGADD_ALGORITHM. Thanks

Re: rwsem, gcc3 again

2001-05-16 Thread Andrea Arcangeli
On Wed, May 16, 2001 at 11:03:27AM +0200, [EMAIL PROTECTED] wrote: David, I am using the gcc-3.0 snapshot of 14.5.2001 from codesourcery (i686 binary). I have now tried to mimic CPU=386 behaviour (patch posted yesterday night) and it compiles (just sound fails), by exchanging y and n in

Re: rwsem, gcc3 again

2001-05-16 Thread David Howells
Hi Andrea: Here you go: /usr/local/bin/gcc -D__KERNEL__ -I/inst-kernels/linux-2.4.5-pre2-aa/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686-DEXPORT_SYMTAB -c sys.c sys.c: In function `sys_gethostname':

Re: rwsem, gcc3 again

2001-05-16 Thread Andrea Arcangeli
On Wed, May 16, 2001 at 02:52:04PM +0100, David Howells wrote: Hi Andrea: Here you go: /usr/local/bin/gcc -D__KERNEL__ -I/inst-kernels/linux-2.4.5-pre2-aa/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686

Re: rwsem, gcc3 again

2001-05-16 Thread mirabilos
Andrea, I doubt that it applies against -ac and I have only very few hard disk space, so please don't beat me I could not try... (I tried the second-to-last but it didn't apply either) But 2.4.3-ac7 works very fine with your older patch. As noticed, I now solved by CONFIG_RWSEM_GENERIC_SPINLOCK=y

Re: rwsem, gcc3 again

2001-05-15 Thread Tom Leete
mirabilos wrote: > > Hi, > I have got that patch with "movl %2,%%edx" and removing the tmp > and still cannot compile with the same error message I posted yesterday. > The problem seems to be that, with or without "inline", it seems to > put a reference into main.o of arch/i386/boot/compressed.

rwsem, gcc3 again

2001-05-15 Thread mirabilos
Hi, I have got that patch with "movl %2,%%edx" and removing the tmp and still cannot compile with the same error message I posted yesterday. The problem seems to be that, with or without "inline", it seems to put a reference into main.o of arch/i386/boot/compressed. So I cannot test -ac9 :( If

rwsem, gcc3 again

2001-05-15 Thread mirabilos
Hi, I have got that patch with movl %2,%%edx and removing the tmp and still cannot compile with the same error message I posted yesterday. The problem seems to be that, with or without inline, it seems to put a reference into main.o of arch/i386/boot/compressed. So I cannot test -ac9 :( If

Re: rwsem, gcc3 again

2001-05-15 Thread Tom Leete
mirabilos wrote: Hi, I have got that patch with movl %2,%%edx and removing the tmp and still cannot compile with the same error message I posted yesterday. The problem seems to be that, with or without inline, it seems to put a reference into main.o of arch/i386/boot/compressed. So I