This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
linker hanging
- To: binutils at sourceware dot cygnus dot com
- Subject: linker hanging
- From: David Müller (ELSOFT AG) <d dot mueller at elsoft dot ch>
- Date: Tue, 21 Aug 2001 16:12:00 +0200
- Organization: ELSOFT AG
Hello
I have troubles to link code on a PowerPC based
Linux/glibc-2.1.3 system.
The following short piece of code triggers this problem:
int main() {
return(0);
}
When compiled with "gcc -o testld testld.c" all is well.
But when an additional library is specified (like "-ldl"
or "-ltermcap"), the linker seems to stop working (it still
consumes processor time, but it don't makes any progress).
> gcc --version
2.95.3
> ld -V
GNU ld version 2.11.90.0.5 (with BFD 2.11.90.0.5)
Supported emulations:
elf32ppclinux
elf32ppc
elf32ppcsim
Any ideas what this could be?
TIA
Dave