Neil --
Understood. Sorry, I think I left some context out here...
I am actually the one responsible for the Libtool support for pgcc
(because people on this list have been asking for LAM support for PGI).
I have been unsuccessfully trying to contact PGI for quite some time
to verify that the Libtool PGI support is correct (clearly, it isn't)
and/or to get their assistance to make it correct. Just to clarify --
I am *not* a Libtool expert -- hacking around in their code base is
quite confusing, and clearly I haven't gotten it right yet. :-\
I have received one vague e-mail back from PGI support that did not
include any technical information (they've been CC'ed on all my posts
to libtool-users_at_[hidden]).
The latest beta (b14) reflects Libtool 1.5.14 with a patch that is
currently slated to be included in LT 1.5.16 for "better" (but
apparently still not correct) PGI support. The current patch passes
the entire Libtool test suite (which is why it's slated for LT 1.5.16),
but apparently there's some corner cases with the PGI compiler suite
that it misses.
On Mar 1, 2005, at 9:43 AM, Neil Storer wrote:
> Jeff, John,
>
> It isn't a Portland Group problem. The bug is in the libtool fixes.
> Instead of producing the call to "pgcc" with the parameter:
>
> -soname liblamf77mpi.so.0
>
> libtool should produce it with:
>
> -Wl,-soname=liblamf77mpi.so.0
>
> DON'T FORGET THE COMMA, NOR THE EQUALS SIGN.
>
> "-soname=<name>" is an option on the loader "ld", the description of
> which is:
>
> When creating an ELF shared object, set the internal DT_SONAME
> field to the specified name.
> When an executable is linked with a shared object which has a
> DT_SONAME field, then
> when the executable is run the dynamic linker will attempt to load
> the shared object
> specified by the DT_SONAME field rather than using the file name
> given to the linker.
>
>
> Regards
> Neil
>
>
> Jeff Squyres wrote:
> #$%@#$%@#$%
>
> I'll try [again] to get in touch with PGI; I've been relatively
> unsuccessful so far (does anyone have any contacts at PGI?).
>
>
> On Feb 28, 2005, at 10:19 PM, John Lau wrote:
>
>
> Dear Jeff,
>
> Thank you for the 7.1.2b14.
> I have tried it with PGI compiler but still got error:
>
> pgcc -
> shared .libs/abort_f.o .libs/accept_f.o .libs/accumulate_f.o
> .libs/address_f.o
> <... many .o files ...>
> .libs/wsetname_f.o .libs/wstart_f.o .libs/wtick_f.o .libs/wtime_f.o
> .libs/wwait_f.o .libs/xbuoy_f.o .libs/xcoloron_f.o
> .libs/xcoloroff_f.o -lpthread -lc -soname liblamf77mpi.so.0 -o
> .libs/liblamf77mpi.so.0.0.0
> pgcc-Warning-Unknown switch: -soname
> File with unknown suffix passed to linker: liblamf77mpi.so.0
>
> Is libtool forget to add "-Wl," to -soname?
>
> Best regards,
> John Lau
>
> On Fri, 2005-02-25 at 09:47 -0500, lam-request_at_[hidden] wrote:
>
> I just posted LAM/MPI 7.1.2b14 with the latest libtool fixes for the
> Portland Group compilers.
>
> Anyone who had problems before with PGI compilers, please give this a
> whirl.
>
> -- {+} Jeff Squyres
> {+} jsquyres_at_[hidden]
> {+} http://www.lam-mpi.org/
>
>
> -- John Lau Chi Fai
> Cluster Technology Ltd.
> cflau_at_[hidden]
> Tel: (852) 2994-3727
> Fax: (852) 2994-2101
> <lam-
> make.log><config.log>_______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
>
>
>
> --
> +-----------------+---------------------------------
> +------------------+
> | Neil Storer | Head: Systems S/W Section | Operations Dept.
> |
> +-----------------+---------------------------------
> +------------------+
> | ECMWF, | email: neil.storer_at_[hidden] | //=\\ //=\\
> |
> | Shinfield Park, | Tel: (+44 118) 9499353 | // \\// \\
> |
> | Reading, | (+44 118) 9499000 x 2353 | ECMWF
> |
> | Berkshire, | Fax: (+44 118) 9869450 | ECMWF
> |
> | RG2 9AX, | | \\ //\\ //
> |
> | UK | URL: http://www.ecmwf.int/ | \\=// \\=//
> |
> +--+--------------+---------------------------------+----------------
> +-+
> | ECMWF is the European Centre for Medium-Range Weather Forecasts |
> +-----------------------------------------------------------------+
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|