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

From: Domsalla, Thorsten (thorsten.domsalla@sap.com)
Date: Fri Jan 21 2000 - 07:09:52 EST


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@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:25 EST