- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We compile our Windows executable with Visual Studio 2008 and the /SAFESEH linker option. When attempting to link against the MKL static libraries, we get dozens of errors like the following:
mkl_core.lib(_p4m_xdcopy.obj) : error LNK2026: module unsafe for SAFESEH image.
Removing the /SAFESEH option from our binaries works, but we don't want to do this. The documentation for linker error LNK2026 indicates that the modules in question need to be compiled with Visual C++ .NET 2003 or later. Is MKL built with Visual Studio or Intel's compilers? Would it be possible to have the Windows version of MKL be rebuilt so that it can be linked with executables using /SAFESEH?
Thanks.
Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, MKL is building by the Intel Compiler. What version are you talking about? We need to check this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are using the latest version of the MKL, 10.3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem seems to be related to the use of the DFTI functions. Attached is a modified version of your project which reproduces the problem. The essential changes are in test.cpp so you can just pick those up. I also changed the linked libraries tomkl_intel_c.lib, mkl_sequential.lib, and mkl_core.lib, which is what we are using in our project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, I reproduced the problem with DFTI based example.
Would it be possible to have the Windows version of MKL be rebuilt so that it can be linked with executables using /SAFESEH?
We need to investigate the effort required to provide this capability and also any possible side-effects - primarily related to performance - that it might introduce.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to investigate the effort required to provide this capability and also any possible side-effects - primarily related to performance - that it might introduce.
Would it be possible to get a status update on this investigation? We intend to license the MKL, but this issue is a showstopper for our application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thanks, that's great news.
Would it be possible to ask for a more precise time frame for the bug fix? All of the other alternatives we have, including using the DLL versions of the MKL, are really not desirable for our application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ken,
the problem has been fixed in the latest 10.3 Update2 which is available now. Please let us know if the any further issues will be discovered.
Regards,Gennady
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page