Trouble compiling 2.3.39 (also 2.3.40-6) with Athlon support. .

Domsalla, Thorsten thorsten.domsalla en sap.com
Sab Ene 22 04:47:29 CST 2000


Hi,

> Hello, tried compiling both 2.3.39 and 2.3.40-6 with athlon 
> support both failing. I also tried searching archives for 
> similar case but found nothing.

Some days ago I wrote about this problem in this list.

> Maybe there's something with my setup but setting processor 
> config to PPro kernel compiles just fine.
> gcc -D__KERNEL__ -I/usr/src/linux/include -D__SMP__ -Wall 
> -mpreferred-stack-boundary=2 -DCPU=686 -march=pentiumpro 
> -mwide-multiply -fexpensive-optimizations -march=i686  -c -o 

There are two colliding -march compiler options (pentiumpro
and i686). make config sets CFLAGS to ... -march=pentiumpro.
In arch/i386 there's another Makefile that adds -march=i686
to CFLAGS in case of an Athlon system.

Some of the guys guessed the problem might be my SuSE dist.
What distribution do you use?

T. J.
-- 
T.  J.  D O M S A L L A_________________________________
CRM ERP Interfaces   - The impossible we do immediately.
                     -  Miracles require 24-hour notice.
______________________________http://www.domsalla.de/tj/

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



Más información sobre la lista de distribución Ayuda