Opened 11 years ago

Closed 8 years ago

#41061 closed defect (wontfix)

llvm-gcc42 port installs an error in omp.h

Reported by: john.ehrlinger@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: larryv (Lawrence Velázquez)
Port: llvm-gcc42

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

config.log (18.6 KB) - added by john.ehrlinger@… 11 years ago.
Configure log detailing the omp.h error reported

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by john.ehrlinger@…

Attachment: config.log added

Configure log detailing the omp.h error reported

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Description: modified (diff)
Keywords: OpenMP removed
Owner: changed from macports-tickets@… to erickt@…

comment:2 Changed 11 years ago by lpsinger (Leo Singer)

Possibly related to #40713...

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… removed
Owner: changed from erickt@… to jeremyhu@…

Assigning to current maintainer. See #44735.

comment:4 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

comment:5 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.