public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Error compiling 2.4 with CVS gcc on Athlon
@ 2001-01-02 20:12 Ghadi Shayban
  2001-01-02 20:20 ` Alan Cox
  2001-01-02 20:39 ` Richard Henderson
  0 siblings, 2 replies; 4+ messages in thread
From: Ghadi Shayban @ 2001-01-02 20:12 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-02 22:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-02 20:12 Error compiling 2.4 with CVS gcc on Athlon Ghadi Shayban
2001-01-02 20:20 ` Alan Cox
2001-01-02 20:39 ` Richard Henderson
2001-01-02 21:55   ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox