Hi Orion, Prentice, list
I had a related problem recently,
building OpenMPI with gcc, g++ and pgf90 8.0-4 on CentOS 5.2.
Configure would complete, but not make.
See this thread for a workaround:
http://www.open-mpi.org/community/lists/users/2009/04/8724.php
Gus Correa
---------------------------------------------------------------------
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
---------------------------------------------------------------------
Orion Poplawski wrote:
Prentice Bisbal wrote:
Orion,
I have no trouble getting thread support during configure with PGI 8.0-3
I'm mixing the pgf and gcc compilers which causes the trouble.
Here is the config.log entry for the F77 test:
configure:65969: checking if F77 compiler and POSIX threads work as is
configure:66066: gcc -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -fPIC -finline-functions -fno-strict-aliasing -I. -c
conftest.c
conftest.c: In function 'pthreadtest_':
conftest.c:12: warning: null argument where non-null required (argument 3)
conftest.c:14: warning: null argument where non-null required (argument 1)
conftest.c:16: warning: null argument where non-null required (argument 1)
conftest.c:16: warning: null argument where non-null required (argument 3)
configure:66073: $? = 0
configure:66083: pgf95 -fastsse -fPIC conftestf.f conftest.o -o conftest
-Wl,-z,noexecstack -lnsl -lutil -lm
conftestf.f:
conftest.o:(.data.DW.ref.__gcc_personality_v0[DW.ref.__gcc_personality_v0]+0x0):
undefined reference to `__gcc_personality_v0'
Looks like I need link to -lgcc_eh some how.