Bug 2459 - 龙芯llvm构建testcase失败
Summary: 龙芯llvm构建testcase失败
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Modules (show other bugs) BaseOS Modules
Version: 8.6
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: geliwei-ali
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 14:29 UTC by 葛立伟
Modified: 2022-12-14 17:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 葛立伟 alibaba_cloud_group 2022-10-20 14:29:45 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 葛立伟 alibaba_cloud_group 2022-10-20 14:30:40 UTC
http://koji.openanolis.cn/taskinfo?taskID=402655


LLVM ERROR: Found 1 machine code errors.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0.      Program arguments: /builddir/build/BUILD/llvm-13.0.1.src/loongarch64-redhat-linux-gnu/bin/llc -enable-misched -verify-machineinstrs
1.      Running pass 'Function Pass Manager' on module '<stdin>'.
2.      Running pass 'Verify generated machine code' on function '@pr14302'
 #0 0x000000ffef87e55c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0xdb655c)
 #1 0x000000ffef87c9c8 llvm::sys::RunSignalHandlers() (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0xdb49c8)
 #2 0x000000ffef87d328 (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0xdb5328)
 #3 0x000000fffcc30850 (linux-vdso.so.1+0x850)
 #4 0x000000ffee66503c raise (/lib64/libc.so.6+0x4503c)
 #5 0x000000ffee6513ac abort (/lib64/libc.so.6+0x313ac)
 #6 0x000000ffef7c931c llvm::report_fatal_error(llvm::Twine const&, bool) (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0xd0131c)
 #7 0x000000ffefcb4518 llvm::verifyMachineFunction(llvm::MachineFunctionAnalysisManager*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::MachineFunction const&) (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0x11ec518)
 #8 0x000000ffefbfb4c4 (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0x11334c4)
 #9 0x000000ffef9a4898 llvm::FPPassManager::runOnFunction(llvm::Function&) (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0xedc898)
#10 0x000000ffef9a4b38 llvm::FPPassManager::runOnModule(llvm::Module&) (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0xedcb38)
#11 0x000000ffef9a5ac4 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/builddir/build/BUILDROOT/llvm-13.0.1-1.0.2.module+an8.7.0+10854+1d93b293.loongarch64//usr/lib64/libLLVM-13.so+0xeddac4)
#12 0x000000aaae3a68b8 compileModule(char**, llvm::LLVMContext&) /builddir/build/BUILD/llvm-13.0.1.src/loongarch64-redhat-linux-gnu/../tools/llc/llc.cpp:692:5
#13 0x000000aaae39f92c main /builddir/build/BUILD/llvm-13.0.1.src/loongarch64-redhat-linux-gnu/../tools/llc/llc.cpp:390:5
#14 0x000000ffee6517ec __libc_start_main (/lib64/libc.so.6+0x317ec)
#15 0x000000aaae39fea4 _start (/builddir/build/BUILD/llvm-13.0.1.src/loongarch64-redhat-linux-gnu/bin/llc+0xfea4)
/builddir/build/BUILD/llvm-13.0.1.src/loongarch64-redhat-linux-gnu/test/CodeGen/PowerPC/Output/misched.ll.script: line 1: 71015 Aborted                 (core dumped) /builddir/build/BUILD/llvm-13.0.1.src/loongarch64-redhat-linux-gnu/bin/llc -enable-misched -verify-machineinstrs < /builddir/build/BUILD/llvm-13.0.1.src/test/CodeGen/PowerPC/misched.ll
Comment 2 葛立伟 alibaba_cloud_group 2022-12-14 17:45:31 UTC
已经fix