[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug with shared libs, Solaris Workshop
From: |
Ralf Wildenhues |
Subject: |
Re: Bug with shared libs, Solaris Workshop |
Date: |
Tue, 29 Mar 2005 09:20:19 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Jeff,
* Jeff Squyres wrote on Tue, Mar 29, 2005 at 04:29:32AM CEST:
> Greetings. I have noticed a problem with building shared libraries
> with the native Solaris Workshop compilers in 64 bit mode:
>
> - Solaris 2.8
> - Libtool 1.5.14
> - Workshop 6 update 2 C 5.3 Patch 111679-14 2004/02/20
*snip*
> /bin/bash ../libtool --tag=CC --mode=link cc -xarch=v9 -o
> liblt_pgi_c.la -rpath /usr/local/lib one/liblt_pgi_c_one.la
> two/liblt_pgi_c_two.la
> -----
>
> Libtool then turns that into:
>
> ------
> /usr/ccs/bin/ld -G -h liblt_pgi_c.so.0 -o .libs/liblt_pgi_c.so.0.0.0
> -Wl,-z -Wl,allextract one/.libs/liblt_pgi_c_one.a
> two/.libs/liblt_pgi_c_two.a -Wl,-z -Wl,defaultextract -lc
I fixed that with a patch on 2005-03-22. Please retry with the CVS
version of branch-1-5, and report remaining problems. I believe the
xarch thingy should work fine.
Regards,
Ralf