ql-developers  

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

Richard Zidlicky
Wed, 18 Aug 2004 16:42:06 -0700

On Thu, Aug 19, 2004 at 12:16:04AM +0200, Thierry Godefroy wrote:
> 
> 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...

looks like a ".chip" directive from some earlier asm statement
did something strange, can you look at the assembler output?


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

as did 2.4.26.

Richard