bug-libtool
[Top][All Lists]
Advanced

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

Fwd: Problem with libtool and Absoft Fortran on Mac OS X


From: Jeff Squyres
Subject: Fwd: Problem with libtool and Absoft Fortran on Mac OS X
Date: Wed, 3 Feb 2010 12:04:42 -0500

Trying to send Tony's bug report again -- this time without attachments... (see 
below)

The previously-attached files are located here: 
http://www.open-mpi.org/~jsquyres/libtool-absoft-issue/


Begin forwarded message:

> From: "Tony Goelz" <address@hidden>
> Date: February 3, 2010 11:22:35 AM EST
> To: <address@hidden>
> Cc: "Jeff Squyres (jsquyres)" <address@hidden>
> Subject: Problem with libtool and Absoft Fortran on Mac OS X
> 
> Absoft's ongoing involvement in the Open MPI testing process has uncovered a
> problem with libtool and our compilers running on Apple's OS X. In a nutshell,
> libtool is passing unsupported options to our compiler drivers when creating
> dynamic shared libraries.
> 
> I've attached a simple example (absoft-libtool-bug-1.0.tar.gz) which 
> illustrates
> the problem along with the config.log and the output from the configure and 
> make
> commands (output.tar.gz).
> 
> The configure command needed to duplicate the issue is
> 
>  ./configure FC=/Applications/Absoft9.5/bin/f90  \
>              F77=/Applications/Absoft9.5/bin/f77
> 
> The problem is the options libtool is passing when using our compiler to 
> perform
> the link of the dynamic library (from line 9 of make_output):
> 
> -install_name /usr/local/lib/libtest.0.dylib
> -compatibility_version 1
> -current_version 1.0
> 
> Our compilers report these as unrecognized options and the link fails.
> 
> A suggested fix which I tested by hand editing the link command issued by
> libtool is using the "-Wl," option pass these options through our driver:
> 
> 
> -Wl,-install_name -Wl,filename
> -Wl,-compatibility_version -Wl,1
> -Wl,-current_version  -Wl,1.0
> 
> Please let me know if I can provide further information or assistance.
> 
> Regards,
> 
> Tony Goelz
> Absoft Corporation


-- 
Jeff Squyres
address@hidden




reply via email to

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