Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r4815 - branches/components/src
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2012-09-05 12:05:21


Le 05/09/2012 17:23, Jeff Squyres a écrit :
> On Sep 5, 2012, at 11:12 AM, Brice Goglin wrote:
>
>>> To be clear: we have exactly the same situation in OMPI, and we do not link any of our DSOs against libmpi.so (we used to, but we don't any more because of the discussion on the https://svn.open-mpi.org/trac/ompi/wiki/Linkers wiki page).
>> So I would need to remove -no-undefined from plugins ldflags and darwin
>> (and you?) may be happy again? But iirc, removing this flag broke
>> something else, I'll check again.
> Ah, yes; I confess that I have not looked closely on the components branch. :-(
>
> But yes; you should not have --no-undefined when building the plugins. It's fine for building libhwloc, I think.

The reason for adding -no-undefined is "libtool: link: undefined symbols
not allowed in i686-w64-ming32 shared libraries".

There's an easy answer to this, disable plugins on Windows. Can you ask
Shiqing about what he thinks/does for OMPI?

Brice