Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6731 Discussions

undefined symbol:__libm_error_support_wrapper_x64

liujyi
Beginner
648 Views

Dear colleagues,

I'm compiling cpp code with icpc (icpc version 2021.7.0 (gcc version 4.8.5 compatibility), firstly Intel® oneAPI Base Toolkit installed, and then Intel® oneAPI HPC Toolkit intalled on the computer) on Centos 7. During compilation there is no error, While during runtime there appears the error in the following:

 

./md: symbol lookup error: ./md: undefined symbol: __libm_error_support_wrapper_x64

 

Here is my makefile in the following:

icpc -g -diag-disable=10441 -o md *.cpp *.h -I/opt/fftw/3.3.10/include -L/opt/fftw/3.3.10/lib -lfftw3

 

By ldd md, I got 

linux-vdso.so.1 => (0x00007fffcb53c000)
libfftw3.so.3 => /lib64/libfftw3.so.3 (0x00007fbe950d2000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fbe94dca000)
libm.so.6 => /lib64/libm.so.6 (0x00007fbe94ac8000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbe948b2000)
libc.so.6 => /lib64/libc.so.6 (0x00007fbe944e4000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fbe942e0000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbe95457000)

 

When i compile the same code with g++, everything is ok.

g++ -o md *.cpp *.h -I/opt/fftw/3.3.10/include -L/opt/fftw/3.3.10/lib -lfftw3

 

I cannot obtain any useful information about 'libm_error_support_wrapper_x64'. What's wrong with my system? Any suggestion to fix this problem will be greatly appreciated.

Many thanks

Jianyi Liu

0 Kudos
3 Replies
ShanmukhS_Intel
Moderator
600 Views

Hi Jiyanyi Liu,

 

Thanks for posting on Intel Communities.

 

Could you please share with us a sample reproducer/project file and steps(if any) so that we could try reproducing your issue at our end and assist you further?

 

Best Regards,

Shanmukh.SS

 

0 Kudos
ShanmukhS_Intel
Moderator
570 Views

Hi Jiyanyi,


A gentle reminder:

We have not heard back from you. Could you please get back to us with the earlier-mentioned details so that we could look into your issue further?


Best Regards,

Shanmukh.SS


0 Kudos
ShanmukhS_Intel
Moderator
547 Views

Hi Jiyanyi Liu,


We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Best Regards,

Shanmukh.SS


0 Kudos
Reply