#42244: openmpi-default not compiling using clang on Mac OSX 10.6.8 ------------------------+-------------------------------- Reporter: andrewhw@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ------------------------+-------------------------------- When running "port upgrade outdated" on Mac OSX 10.6.8, openmpi-devel fails. As can be seen in the log, the test for clang seems to determine that the C compiler cannot produce an executable. This is particularly odd, as this is a machine used regularly for C/C++ work, under both clang and gcc. As an example: talos [ 80 ]% cd /tmp talos [ 81 ]% cat > hello.c #include <stdio.h> int main() { printf("Hello, world?\n"); return 0; } talos [ 82 ]% clang -o hello hello.c talos [ 83 ]% ./hello Hello, world? talos [ 84 ]% uname -a reports: Darwin talos 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64 -- Ticket URL: <https://trac.macports.org/ticket/42244> MacPorts <http://www.macports.org/> Ports system for OS X