Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] 1.6.0 - make check failures on OSX Lion using clang-3.1
From: P. Martin (mrsmiley98_at_[hidden])
Date: 2012-05-17 15:15:33

Hello, I'm reporting these make check failures on OSX Lion 10.7.4
for Homebrew, a package installer for Macs. I am trying to author
the updated install script for openmpi-1.6.0 using Homebrew, but
I get a few test failures using the default compiler, clang-3.1.

Note: I get no test failures using llvm-gcc-4.2.1 (5658, 2336.9).

My setup:
iMac from 2009
OSX Lion 10.7.4
Core i5 quad-core 64-bit nehalem
XCode 4.3.2
clang 3.1 (build 318)
gfortran 4.2.4-5666.3

I took a look at your FAQ and searched both users and devel lists
for clang and OSX posts concerning test failures, but I only found
one thread where a clang bug was found concerning weak symbols.

As the bug report on is still open with no updates,
I just tested it, and clang-3.1 returns an error now instead
of compiling that:

$ clang -shared -fvisibility=hidden weak.c -o && nm -D | grep foo
weak.c:6:36: error: only weak aliases are supported on darwin
int foo_b(void) __attribute((weak, alias(("foo_c"))));

So here is what happened with me and openmpi-1.6.0 and make check:

configure terminal output -
config.log -
make V=1 log -
make V=1 check -

Let me know how I can help. I suppose the warnings between lines
745-800 of the log for make check in datatype are significant where there
are a couple of array out of bounds errors, and later the abort trap 6
messages. Also line 1811 of the configure terminal output mentioned
Darwin being an unknown architecture.

Okay that's about it. I hope it was ok to gist those logs as versus
load your mail server up, but I can fix that if you need it.