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

regression since previous version 6.7.x #2

Open
fedya opened this issue Nov 2, 2024 · 1 comment
Open

regression since previous version 6.7.x #2

fedya opened this issue Nov 2, 2024 · 1 comment

Comments

@fedya
Copy link

fedya commented Nov 2, 2024

llvm 19.1.3
glibc 2.34
gcc 14.2.0

cc -o obj/skia/skcms_TransformBaseline_and_public/skcms_TransformBaseline.o
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module '../../../../../src/3rdparty/chromium/third_party/skia/modules/skcms/src/skcms_TransformBaseline.cc'.
4.      Running pass 'LoongArch DAG->DAG Pattern Instruction Selection' on function '@_ZN13skcms_private8baselineL12Exec_load_a8ENS0_9StageListEPPKvPKcPcDv4_fS8_S8_S8_i'
 #0 0x00007fffe57da8f0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM.so.19.1+0xb5a8f0)
 #1 0x00007fffe57d8934 llvm::sys::RunSignalHandlers() (/lib64/libLLVM.so.19.1+0xb58934)
 #2 0x00007fffe5718438 (/lib64/libLLVM.so.19.1+0xa98438)
 #3 0x00007fffe57183d4 (/lib64/libLLVM.so.19.1+0xa983d4)
 #4 0x00007fffe57d4f94 llvm::sys::Process::Exit(int, bool) (/lib64/libLLVM.so.19.1+0xb54f94)
 #5 0x0000555558516a88 (/usr/bin/clang+++0x12a88)
 #6 0x00007fffe572858c llvm::report_fatal_error(llvm::Twine const&, bool) (/lib64/libLLVM.so.19.1+0xaa858c)
 #7 0x00007fffe572846c (/lib64/libLLVM.so.19.1+0xaa846c)
 #8 0x00007fffe81104dc (/lib64/libLLVM.so.19.1+0x34904dc)
 #9 0x00007fffe5ff7414 llvm::TargetLowering::LowerCallTo(llvm::TargetLowering::CallLoweringInfo&) const (/lib64/libLLVM.so.19.1+0x1377414)
#10 0x00007fffe6010c70 llvm::SelectionDAGBuilder::lowerInvokable(llvm::TargetLowering::CallLoweringInfo&, llvm::BasicBlock const*) (/lib64/libLLVM.so.19.1+0x1390c70)
#11 0x00007fffe5ffdce0 llvm::SelectionDAGBuilder::LowerCallTo(llvm::CallBase const&, llvm::SDValue, bool, bool, llvm::BasicBlock const*, llvm::TargetLowering::PtrAuthInfo const*) (/lib64/libLLVM.so.19.1+0x137dce0)
#12 0x00007fffe5fecfc4 llvm::SelectionDAGBuilder::visitCall(llvm::CallInst const&) (/lib64/libLLVM.so.19.1+0x136cfc4)
#13 0x00007fffe5fe40ac llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) (/lib64/libLLVM.so.19.1+0x13640ac)
#14 0x00007fffe607a2fc llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void, true, llvm::BasicBlock>, false, true>, llvm::ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void, true, llvm::BasicBlock>, false, true>, bool&) (/lib64/libLLVM.so.19.1+0x13fa2fc)
#15 0x00007fffe60799dc llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/lib64/libLLVM.so.19.1+0x13f99dc)
#16 0x00007fffe6078138 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/lib64/libLLVM.so.19.1+0x13f8138)
#17 0x00007fffe6076b28 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/lib64/libLLVM.so.19.1+0x13f6b28)
#18 0x00007fffe5be14bc llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/lib64/libLLVM.so.19.1+0xf614bc)
#19 0x00007fffe59408d8 llvm::FPPassManager::runOnFunction(llvm::Function&) (/lib64/libLLVM.so.19.1+0xcc08d8)
#20 0x00007fffe59466a4 llvm::FPPassManager::runOnModule(llvm::Module&) (/lib64/libLLVM.so.19.1+0xcc66a4)
#21 0x00007fffe5940f7c llvm::legacy::PassManagerImpl::run(llvm::Module&) (/lib64/libLLVM.so.19.1+0xcc0f7c)
#22 0x00007fffedf67604 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (/lib64/libclang-cpp.so.19.1+0x1f9b604)
#23 0x00007fffee2ec328 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/lib64/libclang-cpp.so.19.1+0x2320328)
#24 0x00007fffecc1a794 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.19.1+0xc4e794)
#25 0x00007fffeee87524 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.19.1+0x2ebb524)
#26 0x00007fffeee0cad0 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.19.1+0x2e40ad0)
#27 0x00007fffeef11940 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.19.1+0x2f45940)
#28 0x00005555585166e4 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang+++0x126e4)
#29 0x0000555558513ee4 (/usr/bin/clang+++0xfee4)
#30 0x00007fffeea98504 (/lib64/libclang-cpp.so.19.1+0x2acc504)
#31 0x00007fffe571839c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/lib64/libLLVM.so.19.1+0xa9839c)
#32 0x00007fffeea97e8c clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (/lib64/libclang-cpp.so.19.1+0x2acbe8c)
#33 0x00007fffeea61b2c clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.19.1+0x2a95b2c)
#34 0x00007fffeea61d78 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/lib64/libclang-cpp.so.19.1+0x2a95d78)
#35 0x00007fffeea7bc30 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/lib64/libclang-cpp.so.19.1+0x2aafc30)
#36 0x00005555585137cc clang_main(int, char**, llvm::ToolContext const&) (/usr/bin/clang+++0xf7cc)
#37 0x0000555558521790 main (/usr/bin/clang+++0x1d790)
#38 0x00007fffe475c9f0 (/lib64/libc.so.6+0x249f0)
#39 0x00007fffe475cad8 __libc_start_main (/lib64/libc.so.6+0x24ad8)
#40 0x0000555558511d50 _start (/usr/bin/clang+++0xdd50)
clang++: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 19.1.3 (ROSA.13 19.1.3-3)
Target: loongarch64-unknown-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/skcms_TransformBaseline-49e02d.cpp
clang++: note: diagnostic msg: /tmp/skcms_TransformBaseline-49e02d.sh
clang++: note: diagnostic msg:

********************
[2922/29842] CC host/obj/third_party/boringssl/boringssl/bcm.o
ninja: build stopped: subcommand failed.
FAILED: src/core/Release/loongarch64/QtWebEngineCore.stamp src/core/Release/loongarch64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp src/core/Release/loongarch64/QtWebEngineCore /home/omv/qt6-qtwebengine/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/loongarch64/QtWebEngineCore.stamp /home/omv/qt6-qtwebengine/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/loongarch64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp /home/omv/qt6-qtwebengine/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/loongarch64/QtWebEngineCore
cd /home/omv/qt6-qtwebengine/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/core && /usr/bin/ninja -C /home/omv/qt6-qtwebengine/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/core/Release/loongarch64 QtWebEngineCore
ninja: build stopped: subcommand failed.
@jiegec
Copy link
Member

jiegec commented Nov 2, 2024

Not observed here, more probably a LLVM bug.

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

2 participants