- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried icx (2021.3.0) on a code base that compiles just fine with Intel Classic C++ 19.1, MSVC, clang and gcc. A specific file causes it to crash with this error message:
[1/2] Building CXX object CMakeFiles\solver.dir\solver\dev\asrc\asrcconv.cpp.obj
FAILED: CMakeFiles/solver.dir/solver/dev/asrc/asrcconv.cpp.obj
C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\icx.exe /nologo /TP -DUNICODE -D_CRT_SECURE_NO_WARNINGS -D_LIB -D_UNICODE -D__STDC_WANT_LIB_EXT1__ -IC:\ltspice\ltspice\fmt\fmt.git\include /Qm64 /bigobj /std:c++17 /EHsc /Zc:wchar_t /Zc:inline /Zc:forScope /O3 /Qlong-double /Qpc80 /Zi /O2 /Ob1 /DNDEBUG -MT -QMMD -QMT CMakeFiles\solver.dir\solver\dev\asrc\asrcconv.cpp.obj -QMF CMakeFiles\solver.dir\solver\dev\asrc\asrcconv.cpp.obj.d /FoCMakeFiles\solver.dir\solver\dev\asrc\asrcconv.cpp.obj /FdCMakeFiles\solver.dir\solver.pdb -c C:\ltspice\ltspice\solver\dev\asrc\asrcconv.cpp
C:\ltspice\ltspice\out\build\windows-x64-release-oneapi\EXEC : fatal error : error in backend: Stack empty??
PLEASE submit a bug report to https://software.intel.com/en-us/support/priority-support and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: C:\\PROGRA~2\\Intel\\oneAPI\\compiler\\latest\\windows\\bin\\clang-cl.exe @C:\\Users\\mborn\\AppData\\Local\\Temp\\171440arg2
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'C:\ltspice\ltspice\solver\dev\asrc\asrcconv.cpp'.
4. Running pass 'X86 FP Stackifier' on function ''
#0 0x00007ffefbc79689 (C:\WINDOWS\System32\KERNELBASE.dll+0x39689)
#1 0x00007ff7ed1a305a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x5e305a)
#2 0x00007ff7ed1ec9e9 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x62c9e9)
#3 0x00007ff7ecbc7d9e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x7d9e)
#4 0x00007ff7ed1a348b (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x5e348b)
#5 0x00007ff7ed1a3365 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x5e3365)
#6 0x00007ff7ed63b51c (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0xa7b51c)
#7 0x00007ff7ed638dc1 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0xa78dc1)
#8 0x00007ff7ed613a63 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0xa53a63)
#9 0x00007ff7ecdc91ce (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x2091ce)
#10 0x00007ff7ecdceba3 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x20eba3)
#11 0x00007ff7ecdc9731 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x209731)
#12 0x00007ff7ee3bacab (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x17facab)
#13 0x00007ff7ee77a717 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x1bba717)
#14 0x00007ff7efbb25d5 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x2ff25d5)
#15 0x00007ff7ee775ba8 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x1bb5ba8)
#16 0x00007ff7ee6d072e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x1b1072e)
#17 0x00007ff7ed4eb54c (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x92b54c)
#18 0x00007ff7ed58d1c6 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x9cd1c6)
#19 0x00007ff7ecbc79ef (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x79ef)
#20 0x00007ff7ecbc56f4 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x56f4)
#21 0x00007ff7ee4b1506 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x18f1506)
#22 0x00007ff7ed1a2ebf (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x5e2ebf)
#23 0x00007ff7ee4b0b10 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x18f0b10)
#24 0x00007ff7ed494eb0 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x8d4eb0)
#25 0x00007ff7ed4953d9 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x8d53d9)
#26 0x00007ff7ed4b3ab7 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x8f3ab7)
#27 0x00007ff7ecbc4f19 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x4f19)
#28 0x00007ff7f0dbd7c8 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin\clang-cl.exe+0x41fd7c8)
#29 0x00007ffefdf77974 (C:\WINDOWS\System32\KERNEL32.DLL+0x17974)
#30 0x00007ffefed0a2f1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x5a2f1)
C:\ltspice\ltspice\out\build\windows-x64-release-oneapi\clang-cl : error : clang frontend command failed with exit code 70 (use -v to see invocation)
Intel(R) oneAPI DPC++/C++ Compiler 2021.3.0 (2021.3.0.20210619)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\PROGRA~2\Intel\oneAPI\compiler\latest\windows\bin
clang-cl: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-cl: note: diagnostic msg: C:\Users\mborn\AppData\Local\Temp\asrcconv-15f153.cpp
clang-cl: note: diagnostic msg: C:\Users\mborn\AppData\Local\Temp\asrcconv-15f153.sh
clang-cl: note: diagnostic msg:
********************
ninja: build stopped: subcommand failed.
I can't post my source code here, but perhaps Intel is still interested in improving their compiler?
Best Regards,
Mathias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mathias,
This issue was fixed in the released Intel oneAPI DPC++/C++ Compiler which is part of oneAPI 2022.1 Base Toolkit.
The toolkit can be downloaded here: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html
I have checked the reproducer from this forum thread with the released compiler and the code compiles successfully on our end.
Regards,
Khalik.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
>>but perhaps Intel is still interested in improving their compiler?
Yes, definitely we would like to consider your feedback in improving the compilers.
>>I can't post my source code here
You have a choice to send your source code by private message. So if you are willing to send it, please do let us know, so that we can contact you privately.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I would like to give you what you need to fix this.
Best Regards,
Mathias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for contacting Intel support.
We were able to reproduce issue on our end.
We have now escalated this issue to a development team.
Have a nice day ahead!
Regards,
Khalik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
still crashes with 2021.4.
Best Regards,
Mathias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The fix is not available in 2021.4.
It should be available in one of the upcoming releases of Intel OneAPI.
Regards,
Khalik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mathias,
This issue was fixed in the released Intel oneAPI DPC++/C++ Compiler which is part of oneAPI 2022.1 Base Toolkit.
The toolkit can be downloaded here: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html
I have checked the reproducer from this forum thread with the released compiler and the code compiles successfully on our end.
Regards,
Khalik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread.
Any further interaction in this thread will be considered community only.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page