libtool
[Top][All Lists]
Advanced

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

Re: Unwanted shared runtime libraries getting added


From: Ethan Mallove
Subject: Re: Unwanted shared runtime libraries getting added
Date: Mon, 11 Oct 2010 14:11:19 -0400
User-agent: Mutt/1.5.14 (2007-03-31)

On Mon, Oct/11/2010 07:51:20PM, Ralf Wildenhues wrote:
> Hello Ethan,
> 
> * Ethan Mallove wrote on Mon, Oct 11, 2010 at 01:59:20PM CEST:
> > On Fri, Oct/08/2010 02:24:26PM, Robert Boehne wrote:
> > >    I think the mode=compile line doesn't tell us much about what happens 
> > > when
> > >    mode=link - post what you get on the "libtool --mode=link" command.
> > 
> > $ /bin/sh ../../../libtool  --tag=CXX   --mode=link icpc  -O3 -DNDEBUG 
> > -Wall -static-intel -m32 -finline-functions -fexceptions -pthread 
> > -version-info 0:0:0 -export-dynamic  -fexceptions  -o libmpi_cxx.la -rpath 
> > /o
> > pt/SUNWhpc/HPC9.0/intel/instrument/lib mpicxx.lo intercepts.lo comm.lo 
> > datatype.lo win.lo file.lo ../../../ompi/libmpi.la -lnsl  -lutil
> > libtool: link: icpc -shared  .libs/mpicxx.o .libs/intercepts.o .libs/comm.o 
> > .libs/datatype.o .libs/win.o .libs/file.o   -Wl,-rpath -Wl,$ORIGIN 
> > -Wl,-rpath -Wl,$ORIGIN/.. -Wl,-rpath -Wl,$ORIGIN/../lib -Wl,-rpath -W
> > l,$ORIGIN -Wl,-rpath -Wl,$ORIGIN/.. -Wl,-rpath -Wl,$ORIGIN/../lib 
> > ../../../ompi/.libs/libmpi.so -lnsl -lutil 
> > -L/ws/ompi-tools/intel/Compiler/11.0/084/lib/ia32 
> > -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/32 -L/usr/li
> > b/gcc/x86_64-redhat-linux/4.1.2/ 
> > -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../ -L/lib/ -L/usr/lib -limf 
> > -lsvml -lm -lipgo -ldecimal -lstdc++ -lpthread -lirc -lgcc_s -lirc_s -ldl 
> > -lc  -m32 -pthread   -pthread
> >  -Wl,-soname -Wl,libmpi_cxx.so.0 -o .libs/libmpi_cxx.so.0.0.0
> 
> Thanks.  Now, please rerun that command manually, but with --tag=CXX
> replaced by --tag=CC.  Post command plus output.

$ /bin/sh ../../../libtool --tag=CC --mode=link icpc -O3 -DNDEBUG -Wall 
-static-intel -m64 -finline-functions -fexceptions -pthread -version-info 0:0:0 
-export-dynamic -fexceptions -o libmpi_cxx.la -rpath 
/opt/SUNWhpc/HPC9.0/intel/instrument/lib/lib64 mpicxx.lo intercepts.lo comm.lo 
datatype.lo win.lo file.lo ../../../ompi/libmpi.la -lnsl -lutil
libtool: link: rm -fr  .libs/libmpi_cxx.la .libs/libmpi_cxx.lai 
.libs/libmpi_cxx.so .libs/libmpi_cxx.so.0 .libs/libmpi_cxx.so.0.0.0
libtool: link: icc -shared  .libs/mpicxx.o .libs/intercepts.o .libs/comm.o 
.libs/datatype.o .libs/win.o .libs/file.o   -Wl,-rpath -Wl,$ORIGIN -Wl,-rpath 
-Wl,$ORIGIN/.. -Wl,-rpath -Wl,$ORIGIN/../../lib/64 -Wl,-rpath -Wl,$ORIGIN 
-Wl,-rpath -Wl,$ORIGIN/.. -Wl,-rpath -Wl,$ORIGIN/../../lib/64 
../../../ompi/.libs/libmpi.so -ldl -lnsl -lutil  -m64 -pthread   -pthread 
-Wl,-soname -Wl,libmpi_cxx.so.0 -o .libs/libmpi_cxx.so.0.0.0

Thanks,
Ethan

> 
> Thanks,
> Ralf



reply via email to

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