[petsc-dev] configure error on Edison
Satish Balay
balay at mcs.anl.gov
Sun Feb 8 09:34:47 CST 2015
On Sat, 7 Feb 2015, Mark Adams wrote:
> I am getting errors again with metis. This has come up on Hopper but this
> looks different.
> Mark
>
>>>>>>>>>>>>
-- Check for working C compiler: /opt/cray/craype/2.2.1/bin/cc -- broken
/opt/cray/craype/2.2.1/bin/cc -fast -no-ipo
CMakeFiles/cmTryCompileExec1628815744.dir/testCCompiler.c.o -o
cmTryCompileExec1628815744 -rdynamic
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in
`/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libc.a(strcmp.o)'
can not be used when making an executable; recompile with -fPIE and relink
with -pie
<<<<<<<<<<<<
I have no idea why cmake is using -rdynamic here. [or how to tell it not to do that..]
Satish
More information about the petsc-dev
mailing list