RE: Can't compile 2.1.7 plus

Brian Blackmore (bnb@looking-glass.org)
Mon, 18 Nov 1996 23:17:24 -0000


Richard Henderson[SMTP:richard@atheist.tamu.edu] wrote:
>> The kernel was compiled on a 2.1.6 machine, with
>> gcc 2.7.2, as 2.7 (BFD 2.7.0.3) and ld 2.7 (BFD 2.7.03).
>You've got an old version of ld hanging out somewhere on your
>system that is being found before the 2.7.0.3 version.

I thought that myself but...

542 [/usr/bin ] root@gryphon.# for a in `find / -name 'ld'`; do ls -l $a; $a --version; done
lrwxrwxrwx 1 bin bin 9 May 25 20:21 /usr/bin/ld -> ld.1.9l.4
ld version 2.7 (with BFD 2.7.0.3)
lrwxrwxrwx 1 root root 12 May 25 20:23 /usr/i486-linuxaout/bin/ld -> ../../bin/ld
ld version 2.7 (with BFD 2.7.0.3)
lrwxrwxrwx 1 root root 12 May 25 20:34 /usr/i486-linux/bin/ld -> ../../bin/ld
ld version 2.7 (with BFD 2.7.0.3)
lrwxrwxrwx 1 root root 12 Nov 11 22:04 /usr/m68k-linux/bin/ld -> ../../bin/ld
ld version 2.7 (with BFD 2.7.0.3)
lrwxrwxrwx 1 root root 12 Nov 11 22:04 /usr/m68k-linuxaout/bin/ld -> ../../bin/ld
ld version 2.7 (with BFD 2.7.0.3)
lrwxrwxrwx 1 root root 12 Nov 11 22:04 /usr/sparc-sun-solaris2/bin/ld -> ../../bin/ld
ld version 2.7 (with BFD 2.7.0.3)
lrwxrwxrwx 1 root root 12 Nov 11 22:04 /usr/sparc-sun-sunos4.1/bin/ld -> ../../bin/ld
ld version 2.7 (with BFD 2.7.0.3)
lrwxrwxrwx 1 root root 12 Nov 11 22:04 /usr/alpha-linux/bin/ld -> ../../bin/ld
ld version 2.7 (with BFD 2.7.0.3)
543 [/usr/bin ] root@gryphon.#

(Okay so I had a rogue symlink when I installed ld, but ld.1.9l.4 is really 2.7)

And gcc reports it will use /usr/i486-linux/bin/ld

Are there any other names an old ld could use to lurk around on my system?