ql-developers  

[ql-developers] Problem compiling Linux v2.4.27 on the Q60

Thierry Godefroy
Wed, 18 Aug 2004 15:28:31 -0700

Hello...

I tried to compile the v2.4.27 kernel for the Q60 today, but I came across a strange 
assembler error.

I get:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
-fno-strength-reduce -ffixed-a2 -m68060   -nostdinc -iwithprefix include 
-DKBUILD_BASENAME=setup  -DEXPORT_SYMTAB -c setup.c
{standard input}: Assembler messages:
{standard input}:291: Error: invalid instruction for this architecture; needs fpu 
(68040, 68060 or 68881/68882) -- statement `frestore -4(%a6)' ignored
make[1]: *** [setup.o] Error 1

The weird thing is that the -m68060 option is passed and 'as' complains about no 68060 
fpu...

The version for 'as' is 2.11.90.0.25, gcc is v3.1.

The v2.4.23 of the Linux kernel compiles just fine in this respect...

Any idea ?

Thierry Godefroy.