bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool generates incorrect option for Solaris ld


From: Ralf Wildenhues
Subject: Re: libtool generates incorrect option for Solaris ld
Date: Mon, 2 Jul 2007 20:50:18 +0200
User-agent: Mutt/1.5.15 (2007-05-20)

* Vincent Lefevre wrote on Mon, Jul 02, 2007 at 08:29:22PM CEST:
> On 2007-07-02 11:20:54 -0500, Peter O'Gorman wrote:
> > Please show '/usr/ccs/bin/ld -V' output, and the version of solaris.
> 
> bar:~> /usr/ccs/bin/ld -V
> ld: Software Generation Utilities - Solaris/ELF (3.0)
> 
> This is Solaris 2.7.

AFAICS there should be a software update to bring this up to
| ld: Software Generation Utilities - Solaris Link Editors: 5.7-1.282

which has no -64 but is nice enough to ignore this argument.

I suppose Libtool's  needs to cater to these older linker versions.
What does your system output with this:
  echo 'int main () { return 0; }' > conftest.c
  cc -xarch=v9 -c conftest.c
  /usr/bin/file conftest.o
  ld -64 -o conftest conftest.o; echo $?
  ld -64 -r -o conftest2.o conftest.o; echo $?

(I assume the partial linking test to be more stable across Solaris
versions.)

Thanks,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]