Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Building otfcompress with binutils-gold fails
From: Matthias Jurenz (matthias.jurenz_at_[hidden])
Date: 2012-02-16 11:35:37


Actually, Libtool evaluates the dependencies of libotf.la where -lz should
appear:

$ cat otflib/libotf.la | grep dependency_libs
# Linker flags that can not go in dependency_libs.
dependency_libs=' -lz'

In base of that Libtool should add -lz to the linker command line, or not?

However, adding -lz to otfcompress_LDADD in .../otfcompress/Makefile.am doesn't
should hurt.

Matthias

On Wednesday 15 February 2012 19:54:07 Dmitri Gribenko wrote:
> On Wed, Feb 15, 2012 at 8:08 PM, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> > What is "gold"? Can you send all the information listed here (e.g., I
don't know what version of Open MPI you're reporting about):
> gold is the new binutils linker.
>
> OS: Debian sid amd64 with g++-4.6, binutils-gold packages installed
> OpenMPI: latest svn trunk
>
> Dmitri