bug-libtool
[Top][All Lists]
Advanced

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

Oracle Solaris Studio 12.2 compiler incompatibility with libtool


From: Terry Dontje
Subject: Oracle Solaris Studio 12.2 compiler incompatibility with libtool
Date: Mon, 15 Nov 2010 07:00:17 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Lightning/1.0b2 Thunderbird/3.1.6

Ralf,

I am actually seeing an incompatibility between libtool and Solaris Studio 12.2 "Fortran" compiler (not C).  It looks like lt_prog_compiler_wl is being set to -rpath and not '-Wl,-rpath or '-Qoption ld -path'.  Below is the libtool link line and I've attached the output of libtool --config to this email.


/bin/sh ../../../libtool  --tag=FC   --mode=link f95 -I../../../ompi/include -I../../../../ompi/include -M. -I../../../../ompi/mpi/f90 -I../../../ompi/mpi/f90  -m64 -version-info 0:0:0  -export-dynamic  -o libmpi_f90.la -rpath /workspace/tdd/ctnext/tr-linux/lib mpi.lo mpi_sizeof.lo mpi_comm_spawn_multiple_f90.lo mpi_testall_f90.lo mpi_testsome_f90.lo mpi_waitall_f90.lo mpi_waitsome_f90.lo mpi_wtick_f90.lo mpi_wtime_f90.lo   ../../../ompi/mpi/f77/libmpi_f77.la -lrt -lnsl  -lutil -lm
libtool: link: f95 -G  .libs/mpi.o .libs/mpi_sizeof.o .libs/mpi_comm_spawn_multiple_f90.o .libs/mpi_testall_f90.o .libs/mpi_testsome_f90.o .libs/mpi_waitall_f90.o .libs/mpi_waitsome_f90.o .libs/mpi_wtick_f90.o .libs/mpi_wtime_f90.o   -rpath /workspace/tdd/ctnext/ws-trunk/linux/ompi/mpi/f77/.libs -rpath /workspace/tdd/ctnext/ws-trunk/linux/ompi/.libs -rpath /workspace/tdd/ctnext/tr-linux/lib -L/workspace/tdd/ctnext/ws-trunk/linux/ompi/.libs ../../../ompi/mpi/f77/.libs/libmpi_f77.so /workspace/tdd/ctnext/ws-trunk/linux/ompi/.libs/libmpi.so -lcrypto -lssl -ldl -lrt -lnsl -lutil -lm  -m64   -mt -soname libmpi_f90.so.0 -o .libs/libmpi_f90.so.0.0.0
f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise
f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise
f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise
f90: Warning: Option -soname passed to ld, if ld is invoked, ignored otherwise
/usr/bin/ld: unrecognized option '-path'

thanks,

--
Oracle
Terry D. Dontje | Principal Software Engineer
Developer Tools Engineering | +1.781.442.2631
Oracle - Performance Technologies
95 Network Drive, Burlington, MA 01803
Email address@hidden



Attachment: libtool.config
Description: Text document


reply via email to

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