[OMPI users] error -- libtool unsupported hardcode properties

2007-06-19 Thread Andrew Friedley
I'm trying to build Open MPI v1.2.2 with gcc/g++/g77 3.4.4 and pathf90 
v2.4 on a linux system, and see this error when compiling ompi_info:


/bin/sh ../../../libtool --tag=CXX --mode=link g++  -g -O2 
-finline-functions -pthread  -export-dynamic   -o ompi_info 
components.o ompi_info.o output.o param.o version.o 
../../../ompi/libmpi.la -lnsl -lutil  -lm

libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[2]: *** [ompi_info] Error 1
make[2]: Leaving directory 
`/g/g21/afriedle/work/ompibuild/openmpi-1.2.2/ompi/tools/ompi_info'

make[1]: *** [all-recursive] Error 1

Google didn't turn anything up.  Strange thing is, gcc 3.4.5 works just 
fine on this system.  I'm using this to build:


export CC=gcc
export CXX=g++
export F77=g77
export FC=pathf90
export CFLAGS="-g -O2"
export CXXFLAGS="-g -O2"
export FFLAGS="-fno-second-underscore -g -O2"
export FCFLAGS="-fno-second-underscore -g -O2"
export PREFIX=$ROOT/gnudbg

./configure --prefix=$PREFIX --enable-debug --enable-mpi-f77 
--enable-mpi-f90 --with-openib=/usr


I've attached the config.log.. any ideas?

Andrew


config.log.bz2
Description: BZip2 compressed data


Re: [OMPI users] error -- libtool unsupported hardcode properties

2007-06-19 Thread Jeff Squyres
I have not seen this before -- did you look in the libtool  
documentation?  ("See the libtool documentation for more information.")


On Jun 19, 2007, at 6:46 PM, Andrew Friedley wrote:

I'm trying to build Open MPI v1.2.2 with gcc/g++/g77 3.4.4 and  
pathf90 v2.4 on a linux system, and see this error when compiling  
ompi_info:


/bin/sh ../../../libtool --tag=CXX --mode=link g++  -g -O2 -finline- 
functions -pthread  -export-dynamic   -o ompi_info components.o  
ompi_info.o output.o param.o version.o ../../../ompi/libmpi.la - 
lnsl -lutil  -lm

libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[2]: *** [ompi_info] Error 1
make[2]: Leaving directory `/g/g21/afriedle/work/ompibuild/ 
openmpi-1.2.2/ompi/tools/ompi_info'

make[1]: *** [all-recursive] Error 1

Google didn't turn anything up.  Strange thing is, gcc 3.4.5 works  
just fine on this system.  I'm using this to build:


export CC=gcc
export CXX=g++
export F77=g77
export FC=pathf90
export CFLAGS="-g -O2"
export CXXFLAGS="-g -O2"
export FFLAGS="-fno-second-underscore -g -O2"
export FCFLAGS="-fno-second-underscore -g -O2"
export PREFIX=$ROOT/gnudbg

./configure --prefix=$PREFIX --enable-debug --enable-mpi-f77 -- 
enable-mpi-f90 --with-openib=/usr


I've attached the config.log.. any ideas?

Andrew





--
Jeff Squyres
Cisco Systems



Re: [OMPI users] error -- libtool unsupported hardcode properties

2007-06-20 Thread Terry Frankcombe
Isn't this another case of trying to use two different Fortran compilers
at the same time?


On Tue, 2007-06-19 at 20:04 -0400, Jeff Squyres wrote:
> I have not seen this before -- did you look in the libtool  
> documentation?  ("See the libtool documentation for more information.")
> 
> On Jun 19, 2007, at 6:46 PM, Andrew Friedley wrote:
> 
> > I'm trying to build Open MPI v1.2.2 with gcc/g++/g77 3.4.4 and  
> > pathf90 v2.4 on a linux system, and see this error when compiling  
> > ompi_info:
> >
> > /bin/sh ../../../libtool --tag=CXX --mode=link g++  -g -O2 -finline- 
> > functions -pthread  -export-dynamic   -o ompi_info components.o  
> > ompi_info.o output.o param.o version.o ../../../ompi/libmpi.la - 
> > lnsl -lutil  -lm
> > libtool: link: unsupported hardcode properties
> > libtool: link: See the libtool documentation for more information.
> > libtool: link: Fatal configuration error.
> > make[2]: *** [ompi_info] Error 1
> > make[2]: Leaving directory `/g/g21/afriedle/work/ompibuild/ 
> > openmpi-1.2.2/ompi/tools/ompi_info'
> > make[1]: *** [all-recursive] Error 1
> >
> > Google didn't turn anything up.  Strange thing is, gcc 3.4.5 works  
> > just fine on this system.  I'm using this to build:
> >
> > export CC=gcc
> > export CXX=g++
> > export F77=g77
> > export FC=pathf90
> > export CFLAGS="-g -O2"
> > export CXXFLAGS="-g -O2"
> > export FFLAGS="-fno-second-underscore -g -O2"
> > export FCFLAGS="-fno-second-underscore -g -O2"
> > export PREFIX=$ROOT/gnudbg
> >
> > ./configure --prefix=$PREFIX --enable-debug --enable-mpi-f77 -- 
> > enable-mpi-f90 --with-openib=/usr
> >
> > I've attached the config.log.. any ideas?
> >
> > Andrew
> > 
> > 
> 
> 



Re: [OMPI users] error -- libtool unsupported hardcode properties

2007-06-20 Thread Jeff Squyres
It could be; I didn't mention it because this is building ompi_info,  
a C++ application that should have no fortran issues with it.


But then again, who knows?  Maybe you're right :-) -- perhaps libtool  
is just getting confused because you used g77 and pathf90 -- why not  
use pathf90 for both FC and F77?  pathf90 is capable of compiling  
both Fortran 77 and 90 applications.



On Jun 20, 2007, at 5:58 AM, Terry Frankcombe wrote:

Isn't this another case of trying to use two different Fortran  
compilers

at the same time?


On Tue, 2007-06-19 at 20:04 -0400, Jeff Squyres wrote:

I have not seen this before -- did you look in the libtool
documentation?  ("See the libtool documentation for more  
information.")


On Jun 19, 2007, at 6:46 PM, Andrew Friedley wrote:


I'm trying to build Open MPI v1.2.2 with gcc/g++/g77 3.4.4 and
pathf90 v2.4 on a linux system, and see this error when compiling
ompi_info:

/bin/sh ../../../libtool --tag=CXX --mode=link g++  -g -O2 -finline-
functions -pthread  -export-dynamic   -o ompi_info components.o
ompi_info.o output.o param.o version.o ../../../ompi/libmpi.la -
lnsl -lutil  -lm
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[2]: *** [ompi_info] Error 1
make[2]: Leaving directory `/g/g21/afriedle/work/ompibuild/
openmpi-1.2.2/ompi/tools/ompi_info'
make[1]: *** [all-recursive] Error 1

Google didn't turn anything up.  Strange thing is, gcc 3.4.5 works
just fine on this system.  I'm using this to build:

export CC=gcc
export CXX=g++
export F77=g77
export FC=pathf90
export CFLAGS="-g -O2"
export CXXFLAGS="-g -O2"
export FFLAGS="-fno-second-underscore -g -O2"
export FCFLAGS="-fno-second-underscore -g -O2"
export PREFIX=$ROOT/gnudbg

./configure --prefix=$PREFIX --enable-debug --enable-mpi-f77 --
enable-mpi-f90 --with-openib=/usr

I've attached the config.log.. any ideas?

Andrew







___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
Jeff Squyres
Cisco Systems



Re: [OMPI users] error -- libtool unsupported hardcode properties

2007-06-20 Thread Andrew Friedley
I'm not seeing anything particularly relevant in the libtool 
documentation.  I think this might be referring to hardcoding paths in 
shared libraries?


Using pathf90 for both FC and F77 does not change anything.  Should have 
been more clear in my first email -- gcc 3.4.5 using pathf90 for FC 
works fine.


Even more interesting -- I just tried configuring with --disable-mpi-f77 
--disable-mpi-f90 and still see the exact same error.  So I'm pretty 
convinced this is not a fortran issue.  I've tried disabling debugging 
and using -O0 as well, but still get the same error.


Is there anywhere else I should be looking?  I have to admit, I'm 
stumped here..


Andrew


Jeff Squyres wrote:
It could be; I didn't mention it because this is building ompi_info,  
a C++ application that should have no fortran issues with it.


But then again, who knows?  Maybe you're right :-) -- perhaps libtool  
is just getting confused because you used g77 and pathf90 -- why not  
use pathf90 for both FC and F77?  pathf90 is capable of compiling  
both Fortran 77 and 90 applications.



On Jun 20, 2007, at 5:58 AM, Terry Frankcombe wrote:

Isn't this another case of trying to use two different Fortran  
compilers

at the same time?


On Tue, 2007-06-19 at 20:04 -0400, Jeff Squyres wrote:

I have not seen this before -- did you look in the libtool
documentation?  ("See the libtool documentation for more  
information.")


On Jun 19, 2007, at 6:46 PM, Andrew Friedley wrote:


I'm trying to build Open MPI v1.2.2 with gcc/g++/g77 3.4.4 and
pathf90 v2.4 on a linux system, and see this error when compiling
ompi_info:

/bin/sh ../../../libtool --tag=CXX --mode=link g++  -g -O2 -finline-
functions -pthread  -export-dynamic   -o ompi_info components.o
ompi_info.o output.o param.o version.o ../../../ompi/libmpi.la -
lnsl -lutil  -lm
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[2]: *** [ompi_info] Error 1
make[2]: Leaving directory `/g/g21/afriedle/work/ompibuild/
openmpi-1.2.2/ompi/tools/ompi_info'
make[1]: *** [all-recursive] Error 1

Google didn't turn anything up.  Strange thing is, gcc 3.4.5 works
just fine on this system.  I'm using this to build:

export CC=gcc
export CXX=g++
export F77=g77
export FC=pathf90
export CFLAGS="-g -O2"
export CXXFLAGS="-g -O2"
export FFLAGS="-fno-second-underscore -g -O2"
export FCFLAGS="-fno-second-underscore -g -O2"
export PREFIX=$ROOT/gnudbg

./configure --prefix=$PREFIX --enable-debug --enable-mpi-f77 --
enable-mpi-f90 --with-openib=/usr

I've attached the config.log.. any ideas?

Andrew





___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users





Re: [OMPI users] error -- libtool unsupported hardcode properties

2007-06-20 Thread Jeff Squyres

On Jun 20, 2007, at 11:41 AM, Andrew Friedley wrote:


I'm not seeing anything particularly relevant in the libtool
documentation.  I think this might be referring to hardcoding paths in
shared libraries?

Using pathf90 for both FC and F77 does not change anything.  Should  
have

been more clear in my first email -- gcc 3.4.5 using pathf90 for FC
works fine.

Even more interesting -- I just tried configuring with --disable- 
mpi-f77

--disable-mpi-f90 and still see the exact same error.  So I'm pretty
convinced this is not a fortran issue.  I've tried disabling debugging
and using -O0 as well, but still get the same error.


Bummer.  :-(


Is there anywhere else I should be looking?  I have to admit, I'm
stumped here..


It could be a gcc bug...?  What I would do is try to replicate this  
with a small / non-OMPI example using a trivial AC/AM/LT-based  
project.  If you can replicate (which I hope you would be able to; we  
do some weird things in building OMPI, but not that weird), send it  
on to the libtool list.



Andrew


Jeff Squyres wrote:

It could be; I didn't mention it because this is building ompi_info,
a C++ application that should have no fortran issues with it.

But then again, who knows?  Maybe you're right :-) -- perhaps libtool
is just getting confused because you used g77 and pathf90 -- why not
use pathf90 for both FC and F77?  pathf90 is capable of compiling
both Fortran 77 and 90 applications.


On Jun 20, 2007, at 5:58 AM, Terry Frankcombe wrote:


Isn't this another case of trying to use two different Fortran
compilers
at the same time?


On Tue, 2007-06-19 at 20:04 -0400, Jeff Squyres wrote:

I have not seen this before -- did you look in the libtool
documentation?  ("See the libtool documentation for more
information.")

On Jun 19, 2007, at 6:46 PM, Andrew Friedley wrote:


I'm trying to build Open MPI v1.2.2 with gcc/g++/g77 3.4.4 and
pathf90 v2.4 on a linux system, and see this error when compiling
ompi_info:

/bin/sh ../../../libtool --tag=CXX --mode=link g++  -g -O2 - 
finline-

functions -pthread  -export-dynamic   -o ompi_info components.o
ompi_info.o output.o param.o version.o ../../../ompi/libmpi.la -
lnsl -lutil  -lm
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[2]: *** [ompi_info] Error 1
make[2]: Leaving directory `/g/g21/afriedle/work/ompibuild/
openmpi-1.2.2/ompi/tools/ompi_info'
make[1]: *** [all-recursive] Error 1

Google didn't turn anything up.  Strange thing is, gcc 3.4.5 works
just fine on this system.  I'm using this to build:

export CC=gcc
export CXX=g++
export F77=g77
export FC=pathf90
export CFLAGS="-g -O2"
export CXXFLAGS="-g -O2"
export FFLAGS="-fno-second-underscore -g -O2"
export FCFLAGS="-fno-second-underscore -g -O2"
export PREFIX=$ROOT/gnudbg

./configure --prefix=$PREFIX --enable-debug --enable-mpi-f77 --
enable-mpi-f90 --with-openib=/usr

I've attached the config.log.. any ideas?

Andrew





___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
Jeff Squyres
Cisco Systems



Re: [OMPI users] error -- libtool unsupported hardcode properties

2007-06-20 Thread Mostyn Lewis

Why not edit libtool to see what it is doing (it's just a script)
- you will get a lot of output:

Add a "set -x" as the second line and stand well back :-)

#! /bin/sh
set -x

Mostyn

On Wed, 20 Jun 2007, Andrew Friedley wrote:


I'm not seeing anything particularly relevant in the libtool
documentation.  I think this might be referring to hardcoding paths in
shared libraries?

Using pathf90 for both FC and F77 does not change anything.  Should have
been more clear in my first email -- gcc 3.4.5 using pathf90 for FC
works fine.

Even more interesting -- I just tried configuring with --disable-mpi-f77
--disable-mpi-f90 and still see the exact same error.  So I'm pretty
convinced this is not a fortran issue.  I've tried disabling debugging
and using -O0 as well, but still get the same error.

Is there anywhere else I should be looking?  I have to admit, I'm
stumped here..

Andrew


Jeff Squyres wrote:

It could be; I didn't mention it because this is building ompi_info,
a C++ application that should have no fortran issues with it.

But then again, who knows?  Maybe you're right :-) -- perhaps libtool
is just getting confused because you used g77 and pathf90 -- why not
use pathf90 for both FC and F77?  pathf90 is capable of compiling
both Fortran 77 and 90 applications.


On Jun 20, 2007, at 5:58 AM, Terry Frankcombe wrote:


Isn't this another case of trying to use two different Fortran
compilers
at the same time?


On Tue, 2007-06-19 at 20:04 -0400, Jeff Squyres wrote:

I have not seen this before -- did you look in the libtool
documentation?  ("See the libtool documentation for more
information.")

On Jun 19, 2007, at 6:46 PM, Andrew Friedley wrote:


I'm trying to build Open MPI v1.2.2 with gcc/g++/g77 3.4.4 and
pathf90 v2.4 on a linux system, and see this error when compiling
ompi_info:

/bin/sh ../../../libtool --tag=CXX --mode=link g++  -g -O2 -finline-
functions -pthread  -export-dynamic   -o ompi_info components.o
ompi_info.o output.o param.o version.o ../../../ompi/libmpi.la -
lnsl -lutil  -lm
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[2]: *** [ompi_info] Error 1
make[2]: Leaving directory `/g/g21/afriedle/work/ompibuild/
openmpi-1.2.2/ompi/tools/ompi_info'
make[1]: *** [all-recursive] Error 1

Google didn't turn anything up.  Strange thing is, gcc 3.4.5 works
just fine on this system.  I'm using this to build:

export CC=gcc
export CXX=g++
export F77=g77
export FC=pathf90
export CFLAGS="-g -O2"
export CXXFLAGS="-g -O2"
export FFLAGS="-fno-second-underscore -g -O2"
export FCFLAGS="-fno-second-underscore -g -O2"
export PREFIX=$ROOT/gnudbg

./configure --prefix=$PREFIX --enable-debug --enable-mpi-f77 --
enable-mpi-f90 --with-openib=/usr

I've attached the config.log.. any ideas?

Andrew





___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users