From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 178 invoked from network); 10 Jan 1999 16:54:19 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Jan 1999 16:54:19 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA13016 for ; Sun, 10 Jan 1999 11:33:20 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id JAA02129 for axp-list@redhat.com; Sun, 10 Jan 1999 09:33:17 -0700 From: Michal Jaegermann Message-Id: <199901101633.JAA02129@ellpspace.math.ualberta.ca> Subject: Re: problems with 5.1 To: axp-list@redhat.com Date: Sun, 10 Jan 1999 09:33:17 -0700 (MST) In-Reply-To: <369895BF.167E@prr.mpi-stuttgart.mpg.de> from "Roman Martonak" at Jan 10, 99 12:57:51 pm Content-Type: text Roman Martonak wrote: > > I recently installed 5.1 on my UDB and encountered following problems. > > First, during kernel compilation (2.0.35-1 from 5.1 updates) > I got the following error during make modules: > > make[2]: Entering directory `/usr/src/linux-2.0.35/drivers/net' > gcc -D__KERNEL__ -I/usr/src/linux-2.0.35/include -Wall > -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe > -mno-fp-regs -Wa,-m21164a -DBWX_USABLE -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.0.35/include/linux/modversions.h -DEXPORT_SYMTAB -c > slhc.c > {standard input}: gcc: Internal compiler error: program cc1 got fatal > signal 11 .... > The error is reproducible, so it does not look like a hardware-induced > signal 11. No, this is a compiler bug which was, BTW, discussed on this list and for which a fix is known (an optimizer hiccups on in-line functions). > I used freshly compiled egcs-1.1.1. Is it a problem of kernel sources or > of egcs ? Unfortunately this fix, to combine.c, was forgotten in 1.1.1 release and the previous release suffers in an exactly the same way. Current snapshots have the problem corrected thanks to rth. As a workaround to compile slhc.o use a command you quote above with '-O' substituted for '-O2'. It will work. Replacing gcc/combine.c with a one from a snapshot (any will do starting from some early November) and recompiling will fix your compiler. > > Another problem was as I tried to update glibc-2.0.7-13, after the > command > rpm -Uvh glibc-2.0.7-19.alpha.rpm > > I got an error like "archive unpacking failed on file libc-2.0.7.so", Probably you got a corrupted copy of an archive. You can test it with rpm2cpio glibc-2.0.7-19.alpha.rpm | cpio -itv > /dev/null If this is not silent then replace your copy of glibc-2.0.7-19.alpha.rpm. Otherwise it should work. If you are feeling shy and you have another copy of Linux then using '-r' option to rpm will allow you to update NOT the running installation. This is safer with such sensitive thing like glibc. Michal