[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: failure compiling glibc-2.2 for mipsel-linux-gnu
From: |
Andreas Jaeger |
Subject: |
Re: failure compiling glibc-2.2 for mipsel-linux-gnu |
Date: |
15 Dec 2000 07:50:55 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) |
>>>>> Thayne Harbaugh writes:
> I am trying to compile glibc-2.2 for mipsel-linux-gnu. Ninety-five
> percent of glibc-2.2 compiles
> correctly except for the elf binfmt. Here is a very short snippet of
> the failure:
> make[2]: Entering directory
> `/mnt/disk/home/tharbaug/linux4tv/glibc-2.2/elf'
> gcc -nostdlib -nostartfiles -shared -o
> /mnt/disk/home/tharbaug/linux4tv/glibc-2.2/foo/elf/ld.so -T
> /mnt/disk/home/tharbaug/linux4tv/glibc-2.2/foo/elf/rtld-ldscript \
> /mnt/disk/home/tharbaug/linux4tv/glibc-2.2/foo/elf/librtld.os
> \
>
> -Wl,--version-script=/mnt/disk/home/tharbaug/linux4tv/glibc-2.2/foo/ld.map
> -Wl,-soname=ld.so.1
> /usr/mipsel-liberate-linux-gnu/bin/ld: bfd assertion fail
> ../../bfd/elf32-mips.c:5390
> /usr/mipsel-liberate-linux-gnu/bin/ld: bfd assertion fail
> ../../bfd/elf32-mips.c:5264
> /usr/mipsel-liberate-linux-gnu/bin/ld: bfd assertion fail
> ../../bfd/elf32-mips.c:5267
> /mnt/disk/home/tharbaug/linux4tv/glibc-2.2/foo/elf/librtld.os(.text+0x14):/mnt/disk/home/tharbaug/linux4tv/glibc-2.2/elf/rtld.c:
> relocation truncated to fit: R_MIPS_GOT16 _DYNAMIC
> /usr/mipsel-liberate-linux-gnu/bin/ld: bfd assertion fail
> ../../bfd/elf32-mips.c:5264
> /usr/mipsel-liberate-linux-gnu/bin/ld: bfd assertion fail
> ../../bfd/elf32-mips.c:5267
> /mnt/disk/home/tharbaug/linux4tv/glibc-2.2/foo/elf/librtld.os(.text+0x90):/mnt/disk/home/tharbaug/linux4tv/glibc-2.2/elf/rtld.c:
> relocation truncated to fit: R_MIPS_GOT16 _dl_skip_args
> /usr/mipsel-liberate-linux-gnu/bin/ld: bfd assertion fail
> ../../bfd/elf32-mips.c:5264
> /usr/mipsel-liberate-linux-gnu/bin/ld: bfd assertion fail
> ../../bfd/elf32-mips.c:5267
> /mnt/disk/home/tharbaug/linux4tv/glibc-2.2/foo/elf/librtld.os(.text+0xf8):/mnt/disk/home/tharbaug/linux4tv/glibc-2.2/elf/rtld.c:
> relocation truncated to fit: R_MIPS_GOT16 _dl_fini
> There are hundreds of similar failures - too numerous to send in an
> email. I am using egcs-1.2.2 and binutils/ld/bfd 2.10.1 (shown below):
> sh-2.03# gcc -v
> Reading specs from
> /usr/lib/gcc-lib/mipsel-liberate-linux-gnu/egcs-2.91.66/specsgcc version
> egcs-2.91.66 19990314 (egcs-1.1.2 release)
> sh-2.03# ld -v
> GNU ld version 2.10.1 (with BFD 2.10.1)
Those binutils version is broken, you need some additional patches.
Get the RPMs from Maciej at
ftp://ftp.ds2.pg.gda.pl/pub/macro/
I'm using successfully this one:
ftp://ftp.ds2.pg.gda.pl/pub/macro/SRPMS/binutils-2.10.1-3.src.rpm
Btw. egcs is also quite old might be the result of some problems,
Andreas
> I'm hoping you understand what's going on and can fix it or point me in
> the
> direction of where I should start looking for more information or
> whatever it takes.
> Thanks.
--
Andreas Jaeger
SuSE Labs address@hidden
private address@hidden
http://www.suse.de/~aj