bug-libtool
[Top][All Lists]
Advanced

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

Problem with libtool


From: Richard Graham
Subject: Problem with libtool
Date: Thu, 10 Jan 2008 16:14:46 -0500
User-agent: Microsoft-Entourage/11.3.6.070618

I am trying to build Open MPI on the Cray's (Compute Node Linux), and ran
into the following problem.  In our configure script we get the wl parameter
set to -Wl,

But when the following part of the build is run:

/bin/sh ../../../libtool --tag=CC   --mode=link cc  -O2
-I/opt/xt-pe/default/include/   -L/opt/xt-mpt/default/lib/snos64/  -o
orteboot orteboot.o ../../../orte/libopen-rte.la  -lnsl -lutil -lpct
-lalpslli -lalpsutil


It results in:
cc -O2 -I/opt/xt-pe/default/include/ -o orteboot orteboot.o
-L/opt/xt-mpt/default/lib/snos64/ ../../../orte/.libs/libopen-rte.a
-L/opt/torque/2.2.0-snap.200711011704/lib
/opt/torque/2.2.0-snap.200711011704/lib/libtorque.so
/ccs/home/rlgraham/orte_cnl/opal/.libs/libopen-pal.a -lnsl -lutil -lpct
-lalpslli -lalpsutil --rpath /opt/torque/2.2.0-snap.200711011704/lib --rpath
/opt/torque/2.2.0-snap.200711011704/lib

Loosing the -Wl, value.  Insteat of -Wl,--rpath I get --rpath, which the pgi
compiler does not recognize.  Are there any hints on how to trouble shoot
this ?

I manually ran:
/bin/sh ../../../libtool --tag=CC   --mode=link cc  -O2
-I/opt/xt-pe/default/include/   -L/opt/xt-mpt/default/lib/snos64/  -o
orteboot orteboot.o ../../../orte/libopen-rte.la  -lnsl -lutil -lpct
-lalpslli -lalpsutil

And here is some (seemingly) relevant output:
+ reload_cmds=$LD$reload_flag -o $output$reload_objs
+ wl=
+ objext=o
+ libext=a
+ shrext_cmds=.so

I am sure this is incomplete information, but am not sure what else to
provide to help diagnose this.

Thanks,
Rich





reply via email to

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