Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7291 ディスカッション

unrecognized relocation (0x2a) in section `.text'

Aniket_Mane
ビギナー
1,571件の閲覧回数

Hi,

I'm trying to upgrade MKL version in our application to 2024 from 2019.2.187
However, on new version I'm getting below error while linking MKL library to executable while building:

/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: external/mkl_linux/2024.0/lib/intel64_lin/libmkl_core.a(cpu_feature_dispx_mkl_patched.o): unrecognized relocation (0x2a) in section `.text'
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

 

Linker command:

libdbcore.a external/zlib/libzlib.a -lcurl64 -Wl,--start-group external/mkl_linux/2024.0/lib/intel64_lin/libmkl_intel_lp64.a external/mkl_linux/2024.0/lib/intel64_lin/libmkl_intel_thread.a external/mkl_linux/2024.0/lib/intel64_lin/libmkl_core.a -Wl,--end-group -liomp5 -lpthread -lm -ldl -lresolv -lrt

0 件の賞賛
0 返答(返信)
返信