Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 19

help, relocation truncated to fit R_X86_64_PC32 against symbol

$
0
0

Hi, trying to compile software, having problems.
My code compiles and runs fine on an itanium system running SLES 10.3 with intel fortran 11.1.075 and MKL 10.2.7.041 using the link line as told by mkl advisor:
-Wl,--start-group $(MKL)/lib/64/libmkl_solver_lp64.a $(MKL)/lib/64/libmkl_intel_lp64.a $(MKL)/lib/64/libmkl_intel_thread.a $(MKL)/lib/64/libmkl_core.a -Wl,--end-group -openmp -lguide -lpthread

Problem is on an x86_64 system running SLES 11.1 with intel fortran 11.1.073 and MKL 10.2.6.038.

Compiled my supporting libraries as *.a files no problem.
When compiling third piece of software, about 50 files to get the executable that I run, all the .F's compile but when linking I get errors below.
This is with "-mcmodel large -shared-intel'.
If I don't use this I get similar errors but not soley related to the mkl library, instead I get:
"relocation truncated to fit: R_X86_64_PC32 against symbol `units_com_' defined in COMMON section in mymainprogram.o".
And sometimes the errors don't have PC32, it's just R_X86_64_32.
I have also tried using -fpic without the mcmodel large and that didn't help.

Is it an MKL version error, does the 10.2.7.041 fix something in the 10.2.6.038 MKL ???
What do these errors mean?
What can I correct to get it to compile/link ?

my link line on the x86_64 system that i'm using, from the mkl advisor, is:
$(MKL)/lib/em64t/libmkl_solver_ilp64.a -Wl,--start-group $(MKL)/lib/em64t/libmkl_intel_ilp64.a $(MKL)/lib/em64t/libmkl_intel_thread.a $(MKL)/lib/em64t/libmkl_core.a -Wl,--end-group -openmp -lguide -lpthread

the link errors with -mcmodel large:

/opt/intel/mkl/10.2.6.038/lib/em64t/libmkl_intel_thread.a(zgemm_drv.o): In function `mkl_blas_zgemm':
../../../../blas/thread/32e/level3/zgemm.c:(.text+0x7d3): relocation truncated to fit: R_X86_64_PC32 against `___kmpv_zeromkl_blas_zgemm_1'
../../../../blas/thread/32e/level3/zgemm.c:(.text+0xf83): relocation truncated to fit: R_X86_64_PC32 against `___kmpv_zeromkl_blas_zgemm_0'
/opt/intel/mkl/10.2.6.038/lib/em64t/libmkl_intel_thread.a(xerbla.o): In function `mkl_serv_setxer':
../../../../serv/kernel/xerbla.c:(.text+0x3): relocation truncated to fit: R_X86_64_PC32 against `mkl_xerbla_address'
/opt/intel/mkl/10.2.6.038/lib/em64t/libmkl_intel_thread.a(xerbla.o): In function `mkl_serv_xerbla':
../../../../serv/kernel/xerbla.c:(.text+0x54): relocation truncated to fit: R_X86_64_PC32 against `mkl_xerbla_address'
/opt/intel/mkl/10.2.6.038/lib/em64t/libmkl_intel_thread.a(mkl_threading.o): In function `mkl_serv_mkl_get_max_threads':
../../../../serv/kernel/mkl_threading.c:(.text+0x40): relocation truncated to fit: R_X86_64_PC32 against `__get_N_Cores_called'
/opt/intel/mkl/10.2.6.038/lib/em64t/libmkl_intel_thread.a(mkl_threading.o): In function `MKL_get_N_Cores':
../../../../serv/kernel/mkl_threading.c:(.text+0x847): relocation truncated to fit: R_X86_64_PC32 against `__get_N_Cores_called'
../../../../serv/kernel/mkl_threading.c:(.text+0x8d1): relocation truncated to fit: R_X86_64_PC32 against `mklaff_len'
../../../../serv/kernel/mkl_threading.c:(.text+0x8ec): relocation truncated to fit: R_X86_64_PC32 against `mklaff_len'
../../../../serv/kernel/mkl_threading.c:(.text+0x9a9): relocation truncated to fit: R_X86_64_PC32 against `mklaff_len'
../../../../serv/kernel/mkl_threading.c:(.text+0xa06): relocation truncated to fit: R_X86_64_PC32 against `mklaff_len'
../../../../serv/kernel/mkl_threading.c:(.text+0xcf2): additional relocation overflows omitted from the output


Viewing all articles
Browse latest Browse all 19

Trending Articles



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