linux-mips-fnet
[Top] [All Lists]

Re: Linking problem, _end not at the end

To: "Nicholas C. Weaver" <nweaver@CS.Berkeley.EDU>
Subject: Re: Linking problem, _end not at the end
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Thu, 26 Aug 1999 01:53:26 +0200
Cc: linux-mips@fnet.fr
In-reply-to: <199908251638.JAA08287@hiss.CS.Berkeley.EDU>; from Nicholas C. Weaver on Wed, Aug 25, 1999 at 09:38:50AM -0700
References: <199908251638.JAA08287@hiss.CS.Berkeley.EDU>
On Wed, Aug 25, 1999 at 09:38:50AM -0700, Nicholas C. Weaver wrote:

>       I am currently attempting to get linux-mips working on the DDB
> Vrc5074 development board (NEC Vr5000 CPU, Vrc5074 glue chip, little
> endian mips), and I'm having problems with the linking.  My current
> start point is 2.2.10 from the SGI repository.  (Note that I know
> there are some other problems with this kernel on little-endian
> machines, but I can wait on that until I fix this problem).
> 
>       Specifically, _end is not the last symbol in the kernel, which
> causes the memory management routines to think that the free memory
> starts in the middle of the kernel's static memory.  
> 
>       I'm using the arch/mips/ld.script.little as the linking
> script, LD version is GNU ld version 2.9.1 (with BFD 2.9.1) (stock
> compiled from the standard binutils distribution).  Suggestions as to
> what might be wrong?

2.9.1 is so buggy on MIPS that I won't even bother to further consider
bug reports against it.  Use 2.8.1 with the patches from
ftp.linux.sgi.com.  Aside of that, I fixed the problem a few days ago
in the CVS archive.

  Ralf

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