Scratching my head over this one - I can replicate it, but need to think a bit on how to solve it.
On Mon, Feb 2, 2015 at 7:08 PM, Paul Hargrove <phhargr...@lbl.gov> wrote: > I have a Mac OSX 10.8 system, where cc is clang. > I have no problems with a default build from the current master tarball. > However, a static-only build leads to a link failure on opal_wrapper. > > Configured with > --prefix=... --enable-debug CC=cc CXX=c++ --enable-static > --disable-shared > > Failing portion of "make V=1": > > /bin/sh ../../../libtool --tag=CC --mode=link cc -g -finline-functions > -fno-strict-aliasing -export-dynamic -o opal_wrapper opal_wrapper.o > ../../../opal/libopen-pal.la > libtool: link: cc -g -finline-functions -fno-strict-aliasing -o > opal_wrapper opal_wrapper.o ../../../opal/.libs/libopen-pal.a -lm > Undefined symbols for architecture x86_64: > "_opal_pmix", referenced from: > _opal_get_proc_hostname in libopen-pal.a(proc.o) > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > -Paul > > > -- > Paul H. Hargrove phhargr...@lbl.gov > Computer Languages & Systems Software (CLaSS) Group > Computer Science Department Tel: +1-510-495-2352 > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 > > _______________________________________________ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2015/02/16899.php >