Opened 12 years ago
Closed 11 years ago
#39089 closed defect (fixed)
openmpi @1.7.1: Cannot determine global symbol label prefix during configure
Reported by: | petrrr | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard | Cc: | jdgleeson, larryv (Lawrence Velázquez) |
Port: | openmpi |
Description (last modified by larryv (Lawrence Velázquez))
The updated port fails to configure on an Mac OS X 10.5.8 system.
The respective main.log and config.log attached.
Attachments (3)
Change History (12)
Changed 12 years ago by petrrr
Attachment: | openmpi+gcc47.main.log added |
---|
Changed 12 years ago by petrrr
Attachment: | openmpi+gcc47.config.log added |
---|
The config.log from the work/build directory
comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Summary: | openmpi @1.7.1 fails to configure → openmpi @1.7.1: Cannot determine global symbol label prefix during configure |
Thanks. In the future, please Cc relevant port maintainers.
comment:3 Changed 12 years ago 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
Changed 12 years ago by jdgleeson
Attachment: | Portfile.diff added |
---|
comment:6 Changed 12 years ago by larryv (Lawrence Velázquez)
Blacklisting gcc-4.0 is probably easiest.
compiler.blacklist gcc-4.0
comment:7 Changed 12 years ago by petrrr
Blacklisting worked for me. Should I provide a diff or will the maintainer commit this directly?
comment:8 Changed 11 years ago by petrrr
This problem persists in the updated version 1.7.2. So what about blacklisting gcc-4.0 ?
comment:9 Changed 11 years ago by larryv (Lawrence Velázquez)
Keywords: | leopard added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Maintainer timeout, done in r108127.
The main.log file