Messages in this thread | | | From | bvermeul@blacksta ... | Date | Fri, 11 Dec 1998 14:54:41 +0100 (CET) | Subject | [2.1.131-ac8] Problem compiling ewrk3.c and depca.c with egcs 1.1.1 (Patch included) |
| |
I am having some problems compiling ewrk3.c and depca.c as a module, with egcs 1.1.1. I get the folowing error message:
gcc -D__KERNEL__ -I/usr/src/linux-2.1.131-ac8/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.1.131-ac8/include/linux/modversions.h -c -o depca.o depca.c
depca.c: In function `EISA_signature': depca.c:1802: 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 `/usr/src/linux-2.1.131-ac8/drivers/net' make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory `/usr/src/linux-2.1.131-ac8/drivers' make: *** [_mod_drivers] Error 2
I get the same error on ewkr3.c, also in EISA_signature. de4x5.c also uses an implementation of EISA_signature, but doesn't have the problem. Both depca.c and ewrk3.c use __initfunc() with the function, de4x5.c does not.
I am using egcs 1.1.1: egcs-2.91.60 19981201 (egcs-1.1.1 release) and binutils 2.9.1.0.16
Hope this helps,
Bas Vermeulen.
PS: If you need more information, please let me know.
-- When I shop for hardware I always look for the "Designed for Windows 95" logo. I really thank Microsoft(TM) for encouraging manufacturers to label their products this way, so I know what to AVOID.
I stick to quality software:
Linux 2.0.36 | IBM OS/2 Warp (TM) v4.0
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |