Re: gcc-2.95.2-51 is buggy

2000-11-27 Thread Pavel Pisa;research student
Hello all, I have used patch from GCC-PATCHES list posted by Bernd Schmidt . Because of high importance I am forwarding this patch to Linux-Kernel. Patch seems to solve problem. I have added warning print for case of problem, to find which parts of Linux kernel could be affected by this GCC bug.

Re: gcc-2.95.2-51 is buggy

2000-11-26 Thread J . A . Magallon
On Sun, 26 Nov 2000 16:33:25 Olaf Dietsche wrote: > > A simple `gcc -march=i686' or `gcc -mpentiumpro' does fix it as > well. So, if you configure your kernel with `CONFIG_M686=y' the problem > should be gone. > That does not work for 2.2 kernels. Always compile for -m486. To use the -march fl

Re: gcc-2.95.2-51 is buggy

2000-11-26 Thread Russell King
Mike Castle writes: > Btw, was this ever tested on other arch's? I don't remember seeing > anything come across this list. Well, I've tested it on egcs-1.1.2 and RH's gcc 2.96 on ARM, both of which appear ok. _ |_| - ---+---+- | |

Re: gcc-2.95.2-51 is buggy

2000-11-26 Thread Mike Castle
On Sun, Nov 26, 2000 at 04:33:25PM +0100, Olaf Dietsche wrote: > A simple `gcc -march=i686' or `gcc -mpentiumpro' does fix it as > well. So, if you configure your kernel with `CONFIG_M686=y' the problem > should be gone. Btw, was this ever tested on other arch's? I don't remember seeing anything

Re: gcc-2.95.2-51 is buggy

2000-11-26 Thread Rik van Riel
On 26 Nov 2000, Olaf Dietsche wrote: > A simple `gcc -march=i686' or `gcc -mpentiumpro' does fix it as > well. So, if you configure your kernel with `CONFIG_M686=y' the > problem should be gone. Except for the fact that it'll no longer boot on Pentiums and 486es ;) Rik -- Hollywood goes for wor

Re: gcc-2.95.2-51 is buggy

2000-11-26 Thread Olaf Dietsche
Rik van Riel <[EMAIL PROTECTED]> writes: > On Sat, 25 Nov 2000, Andries Brouwer wrote: > > On Sat, Nov 25, 2000 at 03:26:15PM -0200, Rik van Riel wrote: > > > > > The gcc-2.95.2-6cl from Conectiva 6.0 is buggy too. > > > > Yes. Probably you have seen it by now, but the difference between > > go

Re: gcc-2.95.2-51 is buggy

2000-11-25 Thread Rik van Riel
On Sat, 25 Nov 2000, Andries Brouwer wrote: > On Sat, Nov 25, 2000 at 03:26:15PM -0200, Rik van Riel wrote: > > > The gcc-2.95.2-6cl from Conectiva 6.0 is buggy too. > > Yes. Probably you have seen it by now, but the difference between > good and bad versions of gcc-2.95.2 did not lie in the app

Re: gcc-2.95.2-51 is buggy

2000-11-25 Thread Andries Brouwer
On Sat, Nov 25, 2000 at 03:26:15PM -0200, Rik van Riel wrote: > The gcc-2.95.2-6cl from Conectiva 6.0 is buggy too. Yes. Probably you have seen it by now, but the difference between good and bad versions of gcc-2.95.2 did not lie in the applied patches, but was the difference between compilation

Re: gcc-2.95.2-51 is buggy

2000-11-25 Thread Jeff V. Merkey
On Sat, Nov 25, 2000 at 03:26:15PM -0200, Rik van Riel wrote: Rik, We refuse to use it here at present. Builds from it have a lot of problems, for some reason. Andre is looking into it more deeply than I, but I agree with your assessment. Jeff > On Fri, 24 Nov 2000, Neil Brown wrote: > > O

Re: gcc-2.95.2-51 is buggy

2000-11-25 Thread Rik van Riel
On Fri, 24 Nov 2000, Neil Brown wrote: > On Friday November 24, [EMAIL PROTECTED] wrote: > > >> ... RedHat's GCC snapshot "2.96" handles this case just fine. > > > > > Now, if you can isolate the relevant part of the diff between > > > 2.95.2 and RH 2.96... > > > > Maybe I have to be more precis

Re: gcc-2.95.2-51 is buggy

2000-11-24 Thread Matthew Vanecek
[EMAIL PROTECTED] wrote: > > > so the reason why it did not show up in the gcc you picked up from > > ftp.gnu.org is that you have compiled it so that it defaults to -mcpu=i686 > > Yes, you are right. > > So 2.95.2 fails for i386, i486, i586 and does not fail for i686. > RedHat 7.0's gcc 2.96

Re: gcc-2.95.2-51 is buggy

2000-11-24 Thread Mikael Pettersson
On Fri, 24 Nov 2000, Jakub Jelinek wrote: >so the reason why it did not show up in the gcc you picked up from >ftp.gnu.org is that you have compiled it so that it defaults to -mcpu=i686 >where the bug does not show up. Indeed. I just ran some tests, and I can confirm that gcc 2.95.2 vanilla exhi

Re: gcc-2.95.2-51 is buggy

2000-11-24 Thread Andries . Brouwer
> so the reason why it did not show up in the gcc you picked up from > ftp.gnu.org is that you have compiled it so that it defaults to -mcpu=i686 Yes, you are right. So 2.95.2 fails for i386, i486, i586 and does not fail for i686. Andries - To unsubscribe from this list: send the line "unsubscr

Re: gcc-2.95.2-51 is buggy

2000-11-24 Thread Linux Kernel Developer
> > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs > > gcc version 2.95.2 19991024 (release) > > % /usr/bin/gcc -Wall -O2 -o bug bug.c; ./bug > > 0x8480 > > % /usr/gcc/aeb/bin/gcc -v > > Reading specs from /usr/gcc/aeb/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs > > gcc versio

Re: gcc-2.95.2-51 is buggy

2000-11-24 Thread Jakub Jelinek
On Fri, Nov 24, 2000 at 06:20:33AM +0100, [EMAIL PROTECTED] wrote: > >> ... RedHat's GCC snapshot "2.96" handles this case just fine. > > > Now, if you can isolate the relevant part of the diff between > > 2.95.2 and RH 2.96... > > Maybe I have to be more precise in the statement "gcc 2.95.2 is

Re: gcc-2.95.2-51 is buggy

2000-11-24 Thread Ion Badulescu
On Fri, 24 Nov 2000 06:20:33 +0100 (MET), [EMAIL PROTECTED] wrote: > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs > gcc version 2.95.2 19991024 (release) > % /usr/bin/gcc -Wall -O2 -o bug bug.c; ./bug > 0x8480 > % /usr/gcc/aeb/bin/gcc -v > Reading specs from /usr/gcc/aeb/l

Re: gcc-2.95.2-51 is buggy

2000-11-24 Thread Frédéric L . W . Meunier
[EMAIL PROTECTED] wrote: > % /usr/gcc/aeb/bin/gcc -v > Reading specs from > /usr/gcc/aeb/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs > gcc version 2.95.2 19991024 (release)gcc version 2.95.2 19991024 (release) > % /usr/gcc/aeb/bin/gcc -Wall -O2 -o nobug bug.c; ./nobug > 0x0 Interesting. On a Sla

Re: gcc-2.95.2-51 is buggy

2000-11-23 Thread Alexander Viro
On Fri, 24 Nov 2000, Neil Brown wrote: > Ditto for gcc-2.95.2-13 from Debian (potato). It exhibits the same > bug. > Debian applies a total of 49 patches to gcc and the libraries. > > I am tempted to write a little script which discards the patches one > by one and re-builds and re-tests each

Re: gcc-2.95.2-51 is buggy

2000-11-23 Thread Neil Brown
On Friday November 24, [EMAIL PROTECTED] wrote: > >> ... RedHat's GCC snapshot "2.96" handles this case just fine. > > > Now, if you can isolate the relevant part of the diff between > > 2.95.2 and RH 2.96... > > Maybe I have to be more precise in the statement "gcc 2.95.2 is buggy". > > I just

gcc-2.95.2-51 is buggy

2000-11-23 Thread Andries . Brouwer
>> ... RedHat's GCC snapshot "2.96" handles this case just fine. > Now, if you can isolate the relevant part of the diff between > 2.95.2 and RH 2.96... Maybe I have to be more precise in the statement "gcc 2.95.2 is buggy". I just installed gcc 2.95.2 freshly ftp'ed from ftp.gnu.org, and % /u