Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report - "Build target X86CommonTableGen" #9841

Open
Sred1992 opened this issue Jan 16, 2025 · 0 comments
Open

Bug Report - "Build target X86CommonTableGen" #9841

Sred1992 opened this issue Jan 16, 2025 · 0 comments

Comments

@Sred1992
Copy link

Image

PhaseScriptExecution Generate\ lib/Target/X86/X86GenInstrInfo.inc /Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/build/LLVM.build/Debug/X86CommonTableGen.build/Script-5EB4DBFEF71E2D9BB1F6BE29.sh (in target 'X86CommonTableGen' from project 'LLVM')
cd /Users/scai/Desktop/swift-project/llvm-project/llvm
/bin/sh -c /Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/build/LLVM.build/Debug/X86CommonTableGen.build/Script-5EB4DBFEF71E2D9BB1F6BE29.sh

PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/Debug/bin/llvm-tblgen -gen-instr-info -instr-info-expand-mi-operand-info=0 -I /Users/scai/Desktop/swift-project/llvm-project/llvm/lib/Target/X86 -I/Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/include -I/Users/scai/Desktop/swift-project/llvm-project/llvm/include -I /Users/scai/Desktop/swift-project/llvm-project/llvm/lib/Target /Users/scai/Desktop/swift-project/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o /Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/lib/Target/X86/X86GenInstrInfo.inc
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):
0 llvm-tblgen 0x0000000102a77840 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 80
1 llvm-tblgen 0x0000000102a77dd8 PrintStackTraceSignalHandler(void*) + 28
2 llvm-tblgen 0x0000000102a75ce0 llvm::sys::RunSignalHandlers() + 152
3 llvm-tblgen 0x0000000102a78880 SignalHandler(int) + 276
4 libsystem_platform.dylib 0x000000019363b584 _sigtramp + 56
5 libsystem_pthread.dylib 0x000000019360ac20 pthread_kill + 288
6 libsystem_c.dylib 0x0000000193517a30 abort + 180
7 llvm-tblgen 0x000000010268c91c void std::__1::__check_strict_weak_ordering_sorted[abi:dn180100]<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>, std::__1::pair<llvm::Record const, llvm::OpcodeInfo>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0&) + 648
8 llvm-tblgen 0x000000010268c5e4 void std::__1::__sort_impl[abi:dn180100]<std::__1::_ClassicAlgPolicy, std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>, std::__1::__wrap_iter<std::__1::pair<llvm::Record const, llvm::OpcodeInfo>>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0&) + 156
9 llvm-tblgen 0x000000010268c53c void std::__1::sort[abi:dn180100]<std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>, std::__1::__wrap_iter<std::__1::pair<llvm::Record const, llvm::OpcodeInfo>>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0) + 64
10 llvm-tblgen 0x000000010268c498 void llvm::sort<std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>, std::__1::__wrap_iter<std::__1::pair<llvm::Record const, llvm::OpcodeInfo>>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0) + 72
11 llvm-tblgen 0x0000000102688830 void llvm::sort<std::__1::vector<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>, std::__1::allocator<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>>&, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::vector<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>, std::__1::allocator<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>>&, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0) + 76
12 llvm-tblgen 0x000000010267d45c processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&) + 1980
13 llvm-tblgen 0x000000010267bd28 llvm::CodeGenSchedModels::collectSTIPredicates() + 520
14 llvm-tblgen 0x0000000102677a94 llvm::CodeGenSchedModels::CodeGenSchedModels(llvm::RecordKeeper&, llvm::CodeGenTarget const&) + 584
15 llvm-tblgen 0x000000010267c274 llvm::CodeGenSchedModels::CodeGenSchedModels(llvm::RecordKeeper&, llvm::CodeGenTarget const&) + 44
16 llvm-tblgen 0x00000001026bedc4 std::__1::__unique_ifllvm::CodeGenSchedModels::__unique_single std::__1::make_unique[abi:dn180100]<llvm::CodeGenSchedModels, llvm::RecordKeeper&, llvm::CodeGenTarget const&>(llvm::RecordKeeper&, llvm::CodeGenTarget const&) + 52
17 llvm-tblgen 0x00000001026bed28 llvm::CodeGenTarget::getSchedModels() const + 60
18 llvm-tblgen 0x00000001028c82d4 (anonymous namespace)::InstrInfoEmitter::InstrInfoEmitter(llvm::RecordKeeper&) + 104
19 llvm-tblgen 0x00000001028c6ec0 (anonymous namespace)::InstrInfoEmitter::InstrInfoEmitter(llvm::RecordKeeper&) + 36
20 llvm-tblgen 0x00000001028c6e44 EmitInstrInfo(llvm::RecordKeeper&, llvm::raw_ostream&) + 80
21 llvm-tblgen 0x0000000102acab00 llvm::TableGenMain(char const*, std::__1::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) + 820
22 llvm-tblgen 0x0000000102998998 main + 180
23 dyld 0x00000001932820e0 start + 2360
/Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/build/LLVM.build/Debug/X86CommonTableGen.build/Script-5EB4DBFEF71E2D9BB1F6BE29.sh: line 6: 26619 Abort trap: 6 /Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/Debug/bin/llvm-tblgen -gen-instr-info -instr-info-expand-mi-operand-info=0 -I /Users/scai/Desktop/swift-project/llvm-project/llvm/lib/Target/X86 -I/Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/include -I/Users/scai/Desktop/swift-project/llvm-project/llvm/include -I /Users/scai/Desktop/swift-project/llvm-project/llvm/lib/Target /Users/scai/Desktop/swift-project/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o /Users/scai/Desktop/swift-project/build/Xcode-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-arm64/lib/Target/X86/X86GenInstrInfo.inc
Command PhaseScriptExecution failed with a nonzero exit code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant