Re: ld problem


Subject: Re: ld problem
From: Constantine Vetoshev (Constantine.Vetoshev@Dartmouth.EDU)
Date: Wed May 10 2000 - 17:57:32 PDT


On Wed, May 10, 2000 at 08:42:44PM -0400, Christopher C. Chimelis wrote:

> Hmmm...yeah, I noticed that. It shouldn't be that way...check to make
> sure that /usr/bin/ld and /usr/bin/as exist. It could be that gcc is
> trying to use Compaq's versions of gas and ld, which may be incompatible
> for some reason or another...
>
> It's the link that's worrying me...

I'm fairly sure that gcc is not calling the Compaq linker. The errors
are reported as coming from collect2.

You're right in terms of the link being the problem. I just tried the
following:

leopard:~% gcc -g -Wall -c ctest.c
leopard:~% /usr/bin/ld -m elf64alpha -O1 -dynamic-linker /lib/ld-linux.so.2 -o ctest /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/alpha-linux/2.95.2/crtbegin.o -L/usr/lib/gcc-lib/alpha-linux/2.95.2 ctest.o -lgcc -lc -lgcc /usr/lib/gcc-lib/alpha-linux/2.95.2/crtend.o /usr/lib/crtn.o
leopard:~% ./ctest
Hello, World!
arguments: ./ctest

Works like a charm. So, is this my machine screwing up, or is this a
problem with the .debs?

---Constantine Vetoshev

-- 
To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



This archive was generated by hypermail 2a22 : Thu Jun 01 2000 - 09:46:26 PDT