[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ld goes into endless loop
From: |
Erik Schnetter |
Subject: |
ld goes into endless loop |
Date: |
Mon, 29 Oct 2001 14:41:29 +0100 |
Hi,
I was calling the GNU linker "ld" through the Intel C compiler frontend. I
did not know that this compiler treats the "-Wl" option different from gcc,
and ended up having ld called with a wrong set of options. This drove ld
into an endless loop.
I use the ld version
$ ld --version
GNU ld 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Supported emulations:
elf_i386
i386linux
on a system
$ uname -a
Linux lilypond 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i686 unknown
which has an IA32 processor and runs the SuSE 7.3 distribution.
You can reproduce the erroneous ld behaviour by saying
ld -rpath,a
Note the comma between "-rpath" and "a". I guess this should be flagged as
error by ld. ltrace shows that ld hangs processing its command line options.
-erik
--
Erik Schnetter <address@hidden>
- ld goes into endless loop,
Erik Schnetter <=