Closed
Description
If I do compile newest IGC release with enabled vc-intrinsics, compilation fails due segfaulting. Using LLVM 13.
[775/894] cd /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF && /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfOCL64.cmcl.bc VCBiFPrintfOCL64.clang.bc
FAILED: IGC/VectorCompiler/lib/BiF/VCBiFPrintfOCL64.cmcl.bc /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF/VCBiFPrintfOCL64.cmcl.bc
cd /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF && /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfOCL64.cmcl.bc VCBiFPrintfOCL64.clang.bc
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfOCL64.cmcl.bc VCBiFPrintfOCL64.clang.bc
#0 0x000076f3def2a6e0 (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xdbd6e0)
#1 0x000076f3def278ae (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xdba8ae)
#2 0x000076f3ddd17c40 (/lib64/libc.so.6+0x3dc40)
#3 0x000076f3dde51187 (/lib64/libc.so.6+0x177187)
#4 0x000076f3deeb5a24 llvm::ToolOutputFile::ToolOutputFile(llvm::StringRef, std::error_code&, llvm::sys::fs::OpenFlags) (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xd48a24)
#5 0x000055654cde4ae4 std::error_code::error_code() /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/system_error:200:7
#6 0x000055654cde4ae4 main /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713/IGC/VectorCompiler/CMCL/tools/Translator/Main.cpp:49:19
#7 0x000076f3ddd033eb (/lib64/libc.so.6+0x293eb)
#8 0x000076f3ddd03499 __libc_start_main (/lib64/libc.so.6+0x29499)
#9 0x000055654cde4ca1 _start (/var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool+0x2ca1)
[776/894] cd /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF && /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfZE64.cmcl.bc VCBiFPrintfZE64.clang.bc
FAILED: IGC/VectorCompiler/lib/BiF/VCBiFPrintfZE64.cmcl.bc /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF/VCBiFPrintfZE64.cmcl.bc
cd /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF && /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfZE64.cmcl.bc VCBiFPrintfZE64.clang.bc
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfZE64.cmcl.bc VCBiFPrintfZE64.clang.bc
#0 0x00007844d8d466e0 (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xdbd6e0)
#1 0x00007844d8d438ae (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xdba8ae)
#2 0x00007844d7b33c40 (/lib64/libc.so.6+0x3dc40)
#3 0x00007844d7c6d187 (/lib64/libc.so.6+0x177187)
#4 0x00007844d8cd1a24 llvm::ToolOutputFile::ToolOutputFile(llvm::StringRef, std::error_code&, llvm::sys::fs::OpenFlags) (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xd48a24)
#5 0x000061dc0cfcaae4 std::error_code::error_code() /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/system_error:200:7
#6 0x000061dc0cfcaae4 main /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713/IGC/VectorCompiler/CMCL/tools/Translator/Main.cpp:49:19
#7 0x00007844d7b1f3eb (/lib64/libc.so.6+0x293eb)
#8 0x00007844d7b1f499 __libc_start_main (/lib64/libc.so.6+0x29499)
#9 0x000061dc0cfcaca1 _start (/var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool+0x2ca1)
[777/894] cd /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF && /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfOCL32.cmcl.bc VCBiFPrintfOCL32.clang.bc
FAILED: IGC/VectorCompiler/lib/BiF/VCBiFPrintfOCL32.cmcl.bc /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF/VCBiFPrintfOCL32.cmcl.bc
cd /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF && /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfOCL32.cmcl.bc VCBiFPrintfOCL32.clang.bc
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfOCL32.cmcl.bc VCBiFPrintfOCL32.clang.bc
#0 0x000072305c6de6e0 (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xdbd6e0)
#1 0x000072305c6db8ae (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xdba8ae)
#2 0x000072305b4cbc40 (/lib64/libc.so.6+0x3dc40)
#3 0x000072305b51784c (/lib64/libc.so.6+0x8984c)
#4 0x000072305b4cbbb2 gsignal (/lib64/libc.so.6+0x3dbb2)
#5 0x000072305b4b644a abort (/lib64/libc.so.6+0x2844a)
#6 0x000072305b72693c (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/libstdc++.so.6+0xa493c)
#7 0x000072305b754787 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/libstdc++.so.6+0xd2787)
#8 0x000072305b7547f2 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/libstdc++.so.6+0xd27f2)
#9 0x000072305b754a84 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/libstdc++.so.6+0xd2a84)
#10 0x000072305b72651e (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/libstdc++.so.6+0xa451e)
#11 0x000072305c669a0a llvm::ToolOutputFile::ToolOutputFile(llvm::StringRef, std::error_code&, llvm::sys::fs::OpenFlags) (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xd48a0a)
#12 0x000056f1b16e6ae4 std::error_code::error_code() /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/system_error:200:7
#13 0x000056f1b16e6ae4 main /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713/IGC/VectorCompiler/CMCL/tools/Translator/Main.cpp:49:19
#14 0x000072305b4b73eb (/lib64/libc.so.6+0x293eb)
#15 0x000072305b4b7499 __libc_start_main (/lib64/libc.so.6+0x29499)
#16 0x000056f1b16e6ca1 _start (/var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool+0x2ca1)
[778/894] cd /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF && /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfZE32.cmcl.bc VCBiFPrintfZE32.clang.bc
FAILED: IGC/VectorCompiler/lib/BiF/VCBiFPrintfZE32.cmcl.bc /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF/VCBiFPrintfZE32.cmcl.bc
cd /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/VectorCompiler/lib/BiF && /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfZE32.cmcl.bc VCBiFPrintfZE32.clang.bc
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool -o VCBiFPrintfZE32.cmcl.bc VCBiFPrintfZE32.clang.bc
#0 0x000076c80a2ed6e0 (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xdbd6e0)
#1 0x000076c80a2ea8ae (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xdba8ae)
#2 0x000076c8090dac40 (/lib64/libc.so.6+0x3dc40)
#3 0x000076c809214187 (/lib64/libc.so.6+0x177187)
#4 0x000076c80a278a24 llvm::ToolOutputFile::ToolOutputFile(llvm::StringRef, std::error_code&, llvm::sys::fs::OpenFlags) (/usr/lib/llvm/13/lib64/libLLVM-13.so+0xd48a24)
#5 0x000055ff15de4ae4 std::error_code::error_code() /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/system_error:200:7
#6 0x000055ff15de4ae4 main /var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713/IGC/VectorCompiler/CMCL/tools/Translator/Main.cpp:49:19
#7 0x000076c8090c63eb (/lib64/libc.so.6+0x293eb)
#8 0x000076c8090c6499 __libc_start_main (/lib64/libc.so.6+0x29499)
#9 0x000055ff15de4ca1 _start (/var/tmp/portage/dev-util/intel-graphics-compiler-1.0.10713/work/intel-graphics-compiler-igc-1.0.10713_build/IGC/Release/CMCLTranslatorTool+0x2ca1)
[502440.006395] bash[17089]: segfault at 7ffc3d7b7f74 ip 000059515babb88e sp 00007ffc3d7b7f70 error 6 in bash[59515ba09000+b5000]
[502440.006403] Code: 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 41 56 41 55 49 89 f5 41 54 49 89 fc 55 53 48 8d a4 24 b8 fe ff ff 8b 1d 92 71 04 00 <89> 54 24 04 64 48 8b 04 25 28 00 00 00 48 89 84 24 38 01 00 00 31
[502440.012737] bash[17086]: segfault at 7fff2e87efa4 ip 00005cd9fc69988e sp 00007fff2e87efa0 error 6 in bash[5cd9fc5e7000+b5000]
[502440.012746] Code: 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 41 56 41 55 49 89 f5 41 54 49 89 fc 55 53 48 8d a4 24 b8 fe ff ff 8b 1d 92 71 04 00 <89> 54 24 04 64 48 8b 04 25 28 00 00 00 48 89 84 24 38 01 00 00 31
[502440.086531] bash[17093]: segfault at 7ffc682a7f34 ip 000059bd9abb288e sp 00007ffc682a7f30 error 6 in bash[59bd9ab00000+b5000]
[502440.086538] Code: 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 41 56 41 55 49 89 f5 41 54 49 89 fc 55 53 48 8d a4 24 b8 fe ff ff 8b 1d 92 71 04 00 <89> 54 24 04 64 48 8b 04 25 28 00 00 00 48 89 84 24 38 01 00 00 31
Metadata
Metadata
Assignees
Labels
No labels