[MacPorts] #39089: openmpi @1.7.1: Cannot determine global symbol label prefix during configure
MacPorts
noreply at macports.org
Fri May 17 19:53:31 PDT 2013
#39089: openmpi @1.7.1: Cannot determine global symbol label prefix during
configure
------------------------------+-------------------
Reporter: Peter.Danecek@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: openmpi |
------------------------------+-------------------
Comment (by jdgleeson@…):
Fixes to this problem were discussed here: http://www.open-
mpi.org/community/lists/devel/2011/01/8923.php
Either add `-xassembler` for Apple gcc-4.0, or use Apple gcc-4.2:
The assembler code...
{{{
$ cat conftest.s
.text
# _gsym_test_func
.globl _gsym_test_func
_gsym_test_func:
# _gsym_test_func
}}}
Failure during configuration...
{{{
$ /usr/bin/gcc-4.0 -std=gnu99 -DNDEBUG -pipe -O2 -arch ppc -finline-
functions -fno-strict-aliasing -c conftest.s
conftest.s:2:3: error: invalid preprocessing directive #_gsym_test_func
conftest.s:5:3: error: invalid preprocessing directive #_gsym_test_func
}}}
gcc-4.0 with `-xassembler` produces no output (the desired result)...
{{{
$ /usr/bin/gcc-4.0 -std=gnu99 -DNDEBUG -pipe -O2 -arch ppc -finline-
functions -fno-strict-aliasing -xassembler -c conftest.s
}}}
gcc-4.2 produces no output (the desired result)...
{{{
$ /usr/bin/gcc-4.2 -std=gnu99 -DNDEBUG -pipe -O2 -arch ppc -finline-
functions -fno-strict-aliasing -c conftest.s
}}}
--
Ticket URL: <https://trac.macports.org/ticket/39089#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list