Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7039 Discussions

Warnings while building MKL 2024.0 with gcc 8.3

Aniket_Mane
Beginner
727 Views

Hi, 
I'm trying to upgrade MKL version in our application to 2024.0

I'm not getting any warnings while building application with GNU 4.8.5, however I get below warnings on GNU 8.3 version.

How do I fix these?

 

/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: <mkl lib path>/mkl_linux/2024.0/lib/intel64_lin/libmkl_core.a(_mc3_dtrmm_ll.o): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001

[1491/1492] Linking CXX executable <app bin path>

/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: <app so>.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002

/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: <app so>.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001

0 Kudos
3 Replies
Gennady_F_Intel
Moderator
719 Views

could you show how did you link against onemkl?

0 Kudos
Aniket_Mane
Beginner
696 Views

Thanks for your response.

I'm adding below for linking:

-Wl,--start-group {mkl path}/mkl_linux/2024.0/lib/intel64_lin/libmkl_intel_lp64.a {mkl path}/mkl_linux/2024.0/lib/intel64_lin/libmkl_intel_thread.a {mkl path}/mkl_linux/2024.0/lib/intel64_lin/libmkl_core.a -Wl,--end-group -liomp5 -lpthread -lm -lresolv -lrt -lintexcmo -ldl

0 Kudos
Gennady_F_Intel
Moderator
668 Views

Aniket,

 

We see the problem on our end either

and will try to investigate the cause of this case.... meantime, we could see

the very similar reports e.x. here (https://github.com/intel/linux-sgx/issues/785

) and the cause of the problem is related to version of binutils used.

into this thread, I see as follows: "After following the instructions here to install the toolchain mitigations,

these warnings no longer appear on linking."

I hope it will help you as well.

 

--Gennady


0 Kudos
Reply