[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Crash in ld building tcl.
From: |
Keith Harwood |
Subject: |
Crash in ld building tcl. |
Date: |
Mon, 06 Oct 2003 11:18:12 +1000 |
User-agent: |
KMail/1.5.2 |
When building tcl8.4.4 make reports:
gcc -pipe -rdynamic tclAppInit.o -L/usr/src/tcl8.4.4/unix -ltcl8.4 -ldl
-lieee -lm \
-Wl,-rpath,/usr/lib -o tclsh
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/usr/bin/ld: BFD 2.13.2 assertion fail
../../binutils-2.13.2/bfd/elf64-alpha.c:4663
make: *** [tclsh] Error 1
In spite of the message core is not dumped (or if it is, then it is dumped in
some cunning place that only an Armenian carpet seller who has just won the
Armenian Carpet Sellers Prize for Outstanding Cunning can find it).
Investigation shows that the problem arises when elf64_alpha_relocate_section
has an input section named `.debug_info' and an input_bfd named .../libieee.a.
It requires a section named `.rela.debug_info' and bfd_get_section_by_name
can't find any such section. Later it finds a dynamic symbol with
r_type==R_ALPHA_REFQUAD then barfs at BFD_ASSERT(srel != NULL).
Compiler is gcc 3.2.2 as patched in the Suse 8.1 Alpha pseudo-release.
Problem also occurs with gcc 3.2.1 unpatched.
Binutils is 2.13.1 with binutils-2.13.2.1-gprel32.patch. Problem also occurs
with binutils-2.12.90.0.15 from Suse.
Libc is 2.3.1 unpatched.
Investigating libieee.a and ieee-math.c leaves me totally baffled. I am not an
Armenian carpet seller.
The toolchain was built using the instructions of LFS-4.1. It was used in
building some of BLFS-1.0 including most of KDE. This problem only arises
when building tcl8.4.4, tk8.4.4 and a couple of previous versions of the
same.
Can you help me in this, please?
Keith Harwood.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Crash in ld building tcl.,
Keith Harwood <=