Giter Club home page Giter Club logo

Comments (3)

pvelesko avatar pvelesko commented on July 30, 2024

Similar error, using num-threads = p-cores

[ 45%] Linking CXX static library ../../libLLVMMCJIT.a
[ 45%] Built target LLVMMCJIT
during GIMPLE pass: pre
/space/pvelesko/intel-compute-runtime-build/neo/build/igc/IGC/llvm-deps/src/llvm/lib/Transforms/Utils/SimplifyCFG.cpp: In function ‘bool {anonymous}::SimplifyCFGOpt::SpeculativelyExecuteBB(llvm::BranchInst*, llvm::BasicBlock*, const llvm::TargetTransformInfo&)’:
/space/pvelesko/intel-compute-runtime-build/neo/build/igc/IGC/llvm-deps/src/llvm/lib/Transforms/Utils/SimplifyCFG.cpp:2394:6: internal compiler error: Segmentation fault
 2394 | bool SimplifyCFGOpt::SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB,
      |      ^~~~~~~~~~~~~~
0x7fba8904251f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7fba89029d8f __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7fba89029e3f __libc_start_main_impl
        ../csu/libc-start.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
gmake[2]: *** [igc/IGC/llvm-deps/build/src/lib/Transforms/Utils/CMakeFiles/LLVMTransformUtils.dir/build.make:986: igc/IGC/llvm-deps/build/src/lib/Transforms/Utils/CMakeFiles/LLVMTransformUtils.dir/SimplifyCFG.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:13682: igc/IGC/llvm-deps/build/src/lib/Transforms/Utils/CMakeFiles/LLVMTransformUtils.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2

from intel-graphics-compiler.

pvelesko avatar pvelesko commented on July 30, 2024

Similar error when trying to use clang-14

[3342/7452] Building CXX object igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o
FAILED: igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o 
/usr/bin/clang++ @igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o.rsp -MD -MT igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o -MF igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o.d -o igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o -c /space/pvelesko/intel-compute-runtime-build/igc/IGC/VectorCompiler/lib/GenXCodeGen/GenXLowering.cpp
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /usr/bin/clang++ @igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o.rsp -MD -MT igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o -MF igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o.d -o igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXLowering.cpp.o -c /space/pvelesko/intel-compute-runtime-build/igc/IGC/VectorCompiler/lib/GenXCodeGen/GenXLowering.cpp
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module '/space/pvelesko/intel-compute-runtime-build/igc/IGC/VectorCompiler/lib/GenXCodeGen/GenXLowering.cpp'.
4.      Running pass 'Live DEBUG_VALUE analysis' on function '@_Z28getPredicateForLoadSplittingPN4llvm8CallInstE'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/lib/x86_64-linux-gnu/libLLVM-14.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x31)[0x7f17e803fd01]
/lib/x86_64-linux-gnu/libLLVM-14.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0xee)[0x7f17e803da3e]
/lib/x86_64-linux-gnu/libLLVM-14.so.1(_ZN4llvm3sys15CleanupOnSignalEm+0xfb)[0x7f17e803f0ab]
/lib/x86_64-linux-gnu/libLLVM-14.so.1(+0xd6bdff)[0x7f17e7f6bdff]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f17e6a42520]
/lib/x86_64-linux-gnu/libLLVM-14.so.1(_ZN4llvm13LexicalScopes24getOrCreateAbstractScopeEPKNS_12DILocalScopeE+0x63)[0x7f17e8309183]
[0x5420250]
clang: error: clang frontend command failed with exit code 139 (use -v to see invocation)
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/GenXLowering-c77610.cpp
clang: note: diagnostic msg: /tmp/GenXLowering-c77610.sh
clang: note: diagnostic msg: 

********************
[3343/7452] Building CXX object igc/IGC/VectorCompiler/lib/GenXCodeGen/CMakeFiles/VCCodeGen.dir/GenXCisaBuilder.cpp.o
ninja: build stopped: subcommand failed.

from intel-graphics-compiler.

pvelesko avatar pvelesko commented on July 30, 2024

Turns out to be due to a faulty CPU.

from intel-graphics-compiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.