linux-mips
[Top] [All Lists]

Re: Recommended toolchain

To: vhouten@kpn.com
Subject: Re: Recommended toolchain
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Thu, 29 Mar 2001 19:51:29 +0200 (MET DST)
Cc: Karel van Houten <K.H.C.vanHouten@research.kpn.com>, Simon Gee <simong@oz.agile.tv>, linux-mips@oss.sgi.com
In-reply-to: <200103291728.TAA01350@sparta.research.kpn.com>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Thu, 29 Mar 2001, Houten K.H.C. van (Karel) wrote:

> This happens when I compile kernel 2.4.0-test9 with
> binutils 2.10.1, gcc 2.95.3, glibc 2.2.2 on my 5000/260 (R4k)
> (the same source/config compiles fine with 2.8.1/egcs-2.90.27/glibc-2.0.6):
[...]
> ./elf2ecoff /usr/src/linux/vmlinux vmlinux.ecoff -a
> wrote 20 byte file header.
> wrote 56 byte a.out header.
> wrote 240 bytes of section headers.
> wrote 4 byte pad.
> writing 30560 bytes...
> Intersegment gap (-2147256160 bytes) too large.
> make[1]: *** [vmlinux.ecoff] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.0t9-R4k/arch/mips/boot'
> make: *** [boot] Error 2

 I recall I needed to edit the ld script for linux 2.4.0-test12 that I am
currently using.  Just watch out which sections have improper addresses. 
Alternatively grab a newer version -- the script was fixed later (by Ralf,
IIRC).

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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