linux-mips
[Top] [All Lists]

Re: Cross Compiler again

To: Andre.Messerschmidt@infineon.com
Subject: Re: Cross Compiler again
From: Daniel Jacobowitz <dan@debian.org>
Date: Mon, 26 Nov 2001 15:31:33 -0500
Cc: ralf@oss.sgi.com, linux-mips@oss.sgi.com
In-reply-to: <86048F07C015D311864100902760F1DD01B5E41A@dlfw003a.dus.infineon.com>
References: <86048F07C015D311864100902760F1DD01B5E41A@dlfw003a.dus.infineon.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.23i
On Mon, Nov 26, 2001 at 05:27:38PM +0100, Andre.Messerschmidt@infineon.com 
wrote:
> 
> > -G 0.
> Thanks that helped for the relocation error.
> init/main.o(.text.init+0x7d8): relocation truncated to fit: R_MIPS_GPREL16
> execute_command
> 
> But I still get a lot of undefined references.
> arch/mips/kernel/kernel.o(.debug+0x32e14): undefined reference to `L_E660'
> arch/mips/kernel/kernel.o(.debug+0x60e7c): undefined reference to `L_E549'
> arch/mips/kernel/kernel.o(.debug+0x8d097): undefined reference to `L_E8015'
> arch/mips/kernel/kernel.o(.debug+0x8d0b9): undefined reference to `L_E8015'
> arch/mips/kernel/kernel.o(.debug+0x8d168): undefined reference to `L_E8015'
> arch/mips/kernel/kernel.o(.debug+0x8d18a): undefined reference to `L_E8015'
> ...
> 
> I believe there is still something wrong with my glibc, but I need to check
> that.

I don't know what compiler you're using, but it isn't working right :)
I suspect you're running afoul of the change in debugging format
between binutils 2.10 and 2.11.2.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

<Prev in Thread] Current Thread [Next in Thread>