[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Creation of #debian-68k on irc.debian.org (OFTC)



On Thu, Jun 22, 2006 at 02:54:28PM +1000, Finn Thain wrote:
> 
> Yes, it is lots of "fun". What was the failure? What versions of binutils, 
> gcc, glibc and kernel headers did you use?

I tried to build it with cross-tool, binutils-2.16.1, gcc-4.0.3, glibc-2.3.6
Somebody suggested to me to use official debian sources, but
toolchain-source is not a big help here. Then I realised that the debian
packages have instructions for cross-compling, which actually works, so now
I have debian packages with:

GNU assembler version 2.16.91 (m68k-linux-gnu) using BFD version 2.16.91 20060413 Debian GNU/Linux
gcc version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)

But linux-image fails here:

arch/m68k/math-emu/fp_scan.S: Assembler messages:
arch/m68k/math-emu/fp_scan.S:67: Error: Unknown operator -- statement `getuser.b (%a0),%d0,fp_err_ua1,%a0' ignored
arch/m68k/math-emu/fp_scan.S:75: Error: Unknown operator -- statement `getuser.l (%a0)+,%d2,fp_err_ua1,%a0' ignored

>   CC      drivers/video/fbmem.o
> {standard input}: Assembler messages:
> {standard input}:2113: Error: operands mismatch -- statement `moveq.l #8,%a4' ignored
> make[2]: *** [drivers/video/fbmem.o] Error 1
> make[1]: *** [drivers/video] Error 2
> make: *** [drivers] Error 2

Yup, same error here with my old and trusted gcc-3.3.6.

BTW, I am not using the CVS directly, I diffed the linux-CVS against Linus'
tree and apply that patch to the debian sources. But I can try a clean CVS
checkout, maybe my diff is bad.

Lets move to l-m68k?

Christian



Reply to: