bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failure compiling glibc-2.2 for mipsel-linux-gnu


From: Thayne Harbaugh
Subject: failure compiling glibc-2.2 for mipsel-linux-gnu
Date: 15 Dec 2000 06:12:16 +0700

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)

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.


-- 
Thayne Harbaugh

Your eyes are weary from staring at the CRT.  You feel sleepy.  Notice how
restful it is to watch the cursor blink.  Close your eyes.  The opinions
stated above are yours.  You cannot imagine why you ever felt otherwise.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]