Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

-static-intel problem in composer xe 2013?

$
0
0

When I tried to build a simple shared library using static link to intel fortran libraries, I got relocation problem:

ifort -fPIC test.f90 -shared -static-intel -o libtest.so

ld: /scratch/ifort64/composer_xe_2013.1.117/compiler/lib/intel64/libifcore.a(for_wseq_lis.o): relocation R_X86_64_32 against `.rodata.str1.4' can not be used when making a shared object; recompile with -fPIC /scratch/ifort64/composer_xe_2013.1.117/compiler/lib/intel64/libifcore.a: could not read symbols: Bad value

It seems the ifort tried to link libifcore.a not libifcore_pic.a; I am using composer xe 2013.1.117 intel64

Any idea about this problem?


Viewing all articles
Browse latest Browse all 2746


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>