ld: .* Not enough room for program headers / linux-mips

Florian Lohoff flo@rfc822.org
Mon Apr 17 01:33:00 GMT 2000


On Mon, Apr 17, 2000 at 05:49:31PM +1000, Alan Modra wrote:
> There shouldn't have been any mods.
> cd /usr/tmp
> wget ' http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/elf32.em.diff?cvsroot=src&r1=1.13&r2=1.14 '
> cd <ld_source_directory>
> patch -p2 -R < '/usr/tmp/elf32.em.diff?cvsroot=src&r1=1.13&r2=1.14'

[flo@resume binutils-000416-src]$ patch -R -p1 <elf32.em-diff1 
patching file `ld/emultempl/elf32.em'
Hunk #3 succeeded at 908 (offset -3 lines).
Hunk #4 FAILED at 919.
Hunk #5 FAILED at 975.
Hunk #6 FAILED at 1035.
Hunk #7 succeeded at 1067 (offset 2 lines).
3 out of 7 hunks FAILED -- saving rejects to ld/emultempl/elf32.em.rej

> > I am now doing a dated checkout the day before 1.13 came in.
> 
> OK, that should test the same thing.

Ok - that was the correct suspicion you had ... It works 
with -D 20000228

[...]
cd tmpdir; gcc -shared -lc -Wl,-soname,libgmp.so.2 \
           -o libgmp.so.2.0.2 *.o */*.o
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib tmpdir/libgmp.a; else 
[...]

Flo
-- 
Florian Lohoff		flo@rfc822.org		      	+49-subject-2-change
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."



More information about the Binutils mailing list