-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Following the instructions for building with Visual Studio, MSVC produces an exception when compiling in Release mode.
Environment
- OS: Windows 11
- Compiler: MSVC (19.44.35217)
- SAF performance library being used: SAF_USE_INTEL_MKL_LP64
- Any optional SAF flags enabled: None
- Other environment details: Visual Studio 2022 17.14.16 + bundled CMake
Reproducible Steps
Steps to create the smallest reproducible scenario:
cmake -S . -B build -G "Visual Studio 17" -A x64 -DSAF_PERFORMANCE_LIB=SAF_USE_INTEL_MKL_LP64
cd build
,msbuild ALL_BUILD.vcxproj /p:Configuration=Release /m
- Build fails: CL produces an exception when compiling
saf_utility_filters.c
Expected Output
It should build successfully.
Actual Output
CL!RaiseException()+0x8a
CL!RaiseException()+0x8a
CL!CloseTypeServerPDB()+0x1093a7
CL!CloseTypeServerPDB()+0x1d71ed
cl : command line error D8040: error creating or communicating with child process [saf.vcxproj]
Additional Information
- It compiles successfully in Debug mode.
- Disabling compiler optimisations on
saf_utility_filters.c
(/O2 to /Od) also fixes the problem. - This could be a compiler bug. I tried rolling back Visual Studio by one version with the same result.
ssaue
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working