Messages in this thread | | | Date | Fri, 13 Nov 1998 22:02:46 +0100 (MET) | From | Bernd Schmidt <> | Subject | Re: 2.1.128 / current EGCS |
| |
> > There's still a problem (last time I had forgotten to change the compiler > in the arch/i386/Makefile... Guess I should stop trying stuff after being > at the computer for 18 hours continually ;) ): > > gcc -D__KERNEL__ -I/usr/src/linux-AC/include -Wall -Wstrict-prototypes -O2 > -fomit-frame-pointer -pipe -s -fno-exceptions -pipe -s > -fomit-frame-pointer -mk6 -march=k6 -DCPU=686 -c -o checksum.o > checksum.c > checksum.c: In function `csum_partial': > checksum.c:200: Invalid `asm' statement: > checksum.c:200: fixed or forbidden register 2 (cx) was spilled for class > CREG. > checksum.c: In function `csum_partial_copy_generic': > checksum.c:538: Invalid `asm' statement: > checksum.c:538: fixed or forbidden register 4 (si) was spilled for class > SIREG.
That's a known problem; I didn't fix it yet in the patch I sent to Alan. The asms in checksum.c are rather hard to convert as they'd need too many operands if they were done properly. IMO the whole file should be replaced with a new file checksum.S which is entirely in assembler - the only C code in that file has a comment saying "old compatibility stuff, will be removed soon".
Bernd
- 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/
| |