bug-gnu-utils
[Top][All Lists]
Advanced

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

ld v2.11 dumps core


From: Sami Farin
Subject: ld v2.11 dumps core
Date: Tue, 1 May 2001 00:00:35 +0300
User-agent: Mutt/1.2.4i

hi. I have a little prob with binutils, ld more specifically.
my system is Redhat Linux, kernel 2.4.4, glibc-2.2.2 (glibc-2.2.2-10
rpm from RH7.1), gcc-2.95.3, binutils-2.11.

when compiling lame-3.88[1], ld dumps core:
gcc -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
  -I/usr/X11R6/include -o lame main.o get_audio.o lametime.o parse.o
  portableio.o timestatus.o brhist.o -lm -lncurses
  ../libmp3lame/.libs/libmp3lame.a 
collect2: ld terminated with signal 11 [Segmentation fault]
make: *** [lame] Error 1

...

Core was generated by /usr/local/i686-pc-linux-gnu/bin/ld -m elf_i386
-dynamic-linker /lib/ld-linux.s'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x8075a14 in bfd_section_from_shdr (abfd=0x51, shindex=137) at elf.c:1274
1274          if ((hdr->sh_flags & SHF_ALLOC) != 0

...

(now I recompiled binutils-2.11 and tried lame-3.88 again, but
got a new core)
#0  0x80722f4 in elf_link_input_bfd (finfo=0x0, input_bfd=0x0) at elflink.h:5540
5540                isec->symbol->value = isym->st_value;

...

any ideas.. is Redhat's glibc buggy?
I just got seg fault in bash-2.05 in clear_unwind_protect_list()...
something strange is going on =)

-- 
Safari - address@hidden - PGP key 0x5A4C19E8 - http://www.iki.fi/safari/
  The UNIX Guru's View of Sex: "unzip ; strip ; touch ; finger ; \
  mount ; fsck ; more ; yes ; umount ; sleep"



reply via email to

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