- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to use icpx with -fsanitize=address
and I've got a link error
the libraries libclang_rt.asan* are missing
With 2021.4 version, the last I used, it was working... and very useful
/opt/intel/oneapi/compiler/latest/linux/bin/icpx -DSANITIZER_ADDR_AVAILABLE -fno-omit-frame-pointer -fsanitize=address -std=c++17 -MD -MT CMakeFiles/cmTC_b4b66.dir/src.cxx.o -MF CMakeFiles/cmTC_b4b66.dir/src.cxx.o.d -o CMakeFiles/cmTC_b4b66.dir/src.cxx.o -c /workspaces/snle3g-ipt/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_b4b66
/opt/cmake-3.24.3-linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b4b66.dir/link.txt --verbose=1
/opt/intel/oneapi/compiler/latest/linux/bin/icpx -fno-omit-frame-pointer -fsanitize=address CMakeFiles/cmTC_b4b66.dir/src.cxx.o -o cmTC_b4b66
/usr/bin/ld: cannot find /opt/intel/oneapi/compiler/2023.0.0/linux/lib/clang/16.0.0/lib/linux/libclang_rt.asan_static-x86_64.a: No such file or directory
/usr/bin/ld: cannot find /opt/intel/oneapi/compiler/2023.0.0/linux/lib/clang/16.0.0/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory
/usr/bin/ld: cannot find /opt/intel/oneapi/compiler/2023.0.0/linux/lib/clang/16.0.0/lib/linux/libclang_rt.asan_cxx-x86_64.a: No such file or directory
Do you plan to add the sanitizers to icpx again ?
best regards,
Mic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for your reply
yes, it works with 2023.2
best regards,
Mic
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
Could you please try the latest oneAPI 2023.2 version and let us know the results?
If the issue still persists, please provide the following details you were using so that we can investigate the issue at our end.
1. Source code with detailed steps you have followed
2. Operating system details
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for your reply
yes, it works with 2023.2
best regards,
Mic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel
Thanks and Regards,
Pendyala Sesha Srinivas
![](/skins/images/92C5BEB64AD8DB80DE2B33716453E265/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page