1.1.1 local-alloc alloca removal

Cristian Gafton gafton@redhat.com
Mon Nov 23 21:05:00 GMT 1998


On Mon, 23 Nov 1998, Jeffrey A Law wrote:

>   > I am having trouble compiling the linux kernel 2.1.129 with this patch:
> That patch can'be be the source of this problem.

Well, then this is a bug report: the kernel 2.1.129 can not be compiled
using the .config file attached on i386 with the egcs-1.1 prerelease from
the CVS.

gcc 2.7.2 compiles this file just fine,

>   > make[2]: Entering directory `/disk/src/redhat/BUILD/linux/drivers/net'
>   > gcc -D__KERNEL__ -I/disk/src/redhat/BUILD/linux/include -Wall
>   > -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce
>   > -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
>   > -DMODULE -DMODVERSIONS -include
>   > /disk/src/redhat/BUILD/linux/include/linux/modversions.h   -c -o depca.o
>   > depca.c
>   > depca.c: In function `EISA_signature':
>   > depca.c:1841: fixed or forbidden register 7 (sp) was spilled for class
>   > GENERAL_REGS.
>   > This may be due to a compiler bug or to impossible asm
>   > statements or clauses.
>   > cpp: output pipe has been closed
>   > make[2]: *** [depca.o] Error 1
>   > make[2]: Leaving directory `/disk/src/redhat/BUILD/linux/drivers/net'
>   > make[1]: *** [_modsubdir_net] Error 2
>   > make[1]: Leaving directory `/disk/src/redhat/BUILD/linux/drivers'
>   > make: *** [_mod_drivers] Error 2

Cristian
--
----------------------------------------------------------------------
Cristian Gafton   --   gafton@redhat.com   --   Red Hat Software, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 UNIX is user friendly. It's just selective about who its friends are.


More information about the Gcc-bugs mailing list