[MacPorts] #41061: llvm-gcc42 port installs an error in omp.h

MacPorts noreply at macports.org
Tue Oct 29 11:57:02 PDT 2013


#41061: llvm-gcc42 port installs an error in omp.h
------------------------------+--------------------------------
 Reporter:  john.ehrlinger@…  |      Owner:  macports-tickets@…
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.2.1
 Keywords:  OpenMP            |       Port:  llvm-gcc42
------------------------------+--------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/41061>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list