Description
Required prerequisites
- Make sure you've read the documentation. Your issue may be addressed there.
- Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
- Consider asking first in the Gitter chat room or in a Discussion.
Problem description
Apologies for a lack of detail in this bug report, i cant specify too much as i dont actually know whats causing the problem, only that it happens exclusively with pybind11.
The issue is that when using intels C++ or DPC++ compilers included in the oneapi toolkit version 2022.1.3 a module i work on compiles successfully but python throws a DLL not found error upon loading. To be clear, it compilers successfully, a .pyd is generated and it looks ok from the outside.
Just as a sanity check i decided to open up the module compiled in MSVC in a hex editor and search for its name (in this case GavinBackendDatasetUtils) and it was present in the file near the end. But in the Intel C++ / DPC++ compiler versions it can not be found in the .pyd file.
I have no clue if this is an issue on intels end or on pybind11s end. So i am posting this here while also following up with intel about the issue. If anyone knows of a fix or has encountered the same issue please reply with any additional information.
The image below is a screencapture of hex editor opening the MSVC compiled module showing the content which is NOT present in the Intel C++/ DPC++ compiled module.
Reproducible example code
No response