- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My setup: VS2017, Intel C++ Compiler 2021 (OneAPI base toolkit 2021.2)
Hi all,
When I try to compile an application the uses acosh or cbrt from cmath (and probably other cmath functions), it works when interprocedural optimisation is disabled.
If I set Interprocedural optimisation to "Multi-File (/Qipo)", I get undefined symbol error:
1>lld-link: : error : undefined symbol: __declspec(dllimport) __svml_acosh32
1>lld-link: : error : undefined symbol: __declspec(dllimport) __svml_acosh64
Here is a minimal example:
#include <iostream>
#include "cmath"
int main() {
std::cout << "success " << std::acosh(2.0) << std::endl;
return 0;
}
It seems like a bug. Any idea?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
We are unable to reproduce the error at our end with the same version of the OneAPI Base Toolkit. Could you please provide your vsx project file so we can check the configuration and debug it?
Thanks & Regards
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply.
See attached a complete project that fails on my side. Note that it fails in Release mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hii,
We are able to reproduce the error on our end. We are working on it and will get back to you soon.
Thanks&Regards
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try with the latest oneAPI to see if the issue is resolved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like this issue no longer reproduces in oneAPI. Thus, we are going to close this thread.
If you need anything else, please create a new one.
Thanks,

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page