[Top][All Lists]

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

Re: [libtool 2.2] testsuite: 18 19 64 failed [Solaris 7 SPARC]

From: Peter O'Gorman
Subject: Re: [libtool 2.2] testsuite: 18 19 64 failed [Solaris 7 SPARC]
Date: Fri, 07 Mar 2008 16:11:16 -0600
User-agent: Thunderbird (X11/20071115)

Ralf Wildenhues wrote:
> Hello Peter,
> * Peter O'Gorman wrote on Fri, Mar 07, 2008 at 02:04:41AM CET:
>> Peter O'Gorman wrote:
>>> Nelson H. F. Beebe wrote:
>>>>> libtool: link: f90 -shared  -Qoption ld --whole-archive ./.libs/liba1.a 
>>>>> ./.libs/liba2.a -Qoption ld --no-whole-archive     -Qoption ld -soname 
>>>>> -Qoption ld liba12.so.0 -o .libs/liba12.so.0.0.0
>>>>> /convenience.at:211: exit code was 1, expected 0
>>>>> 18. convenience.at:169: 18. FC convenience archives (convenience.at:169): 
>>>>> FAILED (convenience.at:211)
>>> Libtool detected FC as f90, but otherwise used the gcc tools. I'll look
>>> into this.
>> Because we generally use the same archive_cmds for F77, FC as for CXX,
> No we don't.  archive_cmds _is_ tagged.  In a casual test, it worked
> just fine for me to mix gcc and g++ with Solaris 10 f77 and f90.

I know that it is tagged, however, I was smoking a lot of crack at the
time and it must have had a bad effect on my judgement. I will try to
cut down.

Looks like Nelson is using GNU ld, so he always gets -shared in his
archive_cmds. The solution might be to check on solaris if the compiler
is a GNU compiler, and if not, set with_gnu_ld=no for that tag.

Peter O'Gorman

reply via email to

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