Opened 11 years ago
Last modified 8 years ago
#41061 closed defect
llvm-gcc42 port installs an error in omp.h — at Initial Version
Reported by: | john.ehrlinger@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | llvm-gcc42 |
Description
This came up while installing an R package that uses the OpenMP framework. The package requires autoconf to be installed. Clean install of MacPorts with only autoconf with XCode V5.0.1 on OS X 10.8
Works expected with ./configure with OpenMP support.
Install the llvm-gcc42 port and configure fails with
checking for llvm-gcc-4.2 -arch x86_64 -std=gnu99 option to accept ISO C89... none needed checking for llvm-gcc-4.2 -arch x86_64 -std=gnu99 option to support OpenMP... unsupported configure: WARNING: OpenMP does NOT appear to be supported on this system. configure: creating ./config.status
The log file indicates: configure:2614: llvm-gcc-4.2 -arch x86_64 -std=gnu99 -o conftest -mtune=core2 -g -O2 conftest.c >&5 conftest.c:11: error: expected '=', ',', ';', 'asm' or 'attribute' before 'me' In file included from conftest.c:13: /opt/local/lib/llvm-gcc42/gcc/i686-apple-darwin12/4.2.1/include/omp.h:68: error: expected ')' before '*' token /opt/local/lib/llvm-gcc42/gcc/i686-apple-darwin12/4.2.1/include/omp.h:69: error: expected ')' before '*' token /opt/local/lib/llvm-gcc42/gcc/i686-apple-darwin12/4.2.1/include/omp.h:70: error: expected ')' before '*' token /opt/local/lib/llvm-gcc42/gcc/i686-apple-darwin12/4.2.1/include/omp.h:71: error: expected ')' before '*' token /opt/local/lib/llvm-gcc42/gcc/i686-apple-darwin12/4.2.1/include/omp.h:72: error: expected ')' before '*' token configure:2614: $? = 1 configure: failed program was:
I've attached the config.log file.
Configure log detailing the omp.h error reported