Error compiling 2.4 with CVS gcc on Athlon

Ghadi Shayban (ghad@triad.rr.com)
Tue, 02 Jan 2001 15:12:37 -0500


I have no idea, but I'm guessing this isn't a gcc bug. Here's where my
build fails:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=athlon -c -o mmx.o mmx.c
{standard input}: Assembler messages:
{standard input}:139: Error: bad register name `%%mm0'
make[2]: *** [mmx.o] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2

I thought maybe "mmx" is now named something else in the new gcc, but
compiling it with -march=i686 doesn't change anything.

Ghadi Shayban

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/