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

Re: ICE on linux-2.6 (2.6.18, official debs)



Hi,

On Mon, 23 Oct 2006, Goswin von Brederlow wrote:

> "Christian T. Steigies" <cts@debian.org> writes:
> 
> > On Fri, Oct 20, 2006 at 08:11:30AM +0200, Goswin von Brederlow wrote:
> >> 
> >> Could someone tell me how the official images were build?
> 
> Same question for linux-2.6.16 (in build-m68k-none-amiga):
> 
>   AS      arch/m68k/math-emu/fp_scan.o
> 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
> 
> Does that suddenly disapear when you cross compile too?

That actually is a bug in binutils. Newer Debian kernel sources should 
have a workaround or the simpler solution is to turn fpu emulation, it's 
not needed on Amigas anyway.

> > I cross-compiled them on an i386 or amd64 machine using this command:
> > debuild -d -B -am68k
> >
> > The cross-compiler is built from the debian source packages without any
> > additional patches:
> 
> How do you build them for amd64? I tried building the toolchain-source
> package for m68k-linux on amd64 but it failed. I also asked Hector
> Oron (zumbi on irc) if he could build a toolchain from the new cross
> toolchain repository and he also failed for amd64 (worked for i386
> though).

toolchain-source is pretty much obsolete, use the gcc and binutils source 
directly, both contain a README.cross on how to produce a cross compiler.

bye, Roman



Reply to: