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

Reply via email to