[llvm-bugs] [Bug 47484] New: Stack dump thrown for -mcpu=unknown (target is unknown one)
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 10 08:00:03 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47484
Bug ID: 47484
Summary: Stack dump thrown for -mcpu=unknown (target is
unknown one)
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llc
Assignee: unassignedbugs at nondot.org
Reporter: venkataramanan.kumar.llvm at gmail.com
CC: llvm-bugs at lists.llvm.org
--Snip--
unknown' is not a recognized processor for this target (ignoring processor)
'unknown' is not a recognized processor for this target (ignoring processor)
'unknown' is not a recognized processor for this target (ignoring processor)
'unknown' is not a recognized processor for this target (ignoring processor)
'unknown' is not a recognized processor for this target (ignoring processor)
'unknown' is not a recognized processor for this target (ignoring processor)
LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0. Program arguments: /opt/compiler-explorer/clang-trunk/bin/llc -o
./output.s -x86-asm-syntax=intel -mcpu=unknown <source>
1. Running pass 'Function Pass Manager' on module '<source>'.
2. Running pass 'Expand Atomic instructions' on function '@foo'
#0 0x0000561c3268b78c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x25d478c)
#1 0x0000561c326895e4 llvm::sys::RunSignalHandlers()
(/opt/compiler-explorer/clang-trunk/bin/llc+0x25d25e4)
#2 0x0000561c32689733 SignalHandler(int)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x25d2733)
#3 0x00007fe5cc85a3c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
#4 0x00007fe5cc32a18b raise (/lib/x86_64-linux-gnu/libc.so.6+0x4618b)
#5 0x00007fe5cc309859 abort (/lib/x86_64-linux-gnu/libc.so.6+0x25859)
#6 0x0000561c32601e56 llvm::report_fatal_error(llvm::Twine const&, bool)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x254ae56)
#7 0x0000561c32601f78 (/opt/compiler-explorer/clang-trunk/bin/llc+0x254af78)
#8 0x0000561c315ac02c
llvm::X86Subtarget::initSubtargetFeatures(llvm::StringRef, llvm::StringRef,
llvm::StringRef) (/opt/compiler-explorer/clang-trunk/bin/llc+0x14f502c)
#9 0x0000561c315ac66f llvm::X86Subtarget::X86Subtarget(llvm::Triple const&,
llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::X86TargetMachine
const&, llvm::MaybeAlign, unsigned int, unsigned int)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x14f566f)
#10 0x0000561c313cd28a llvm::X86TargetMachine::getSubtargetImpl(llvm::Function
const&) const (/opt/compiler-explorer/clang-trunk/bin/llc+0x131628a)
#11 0x0000561c31aa36c2 (anonymous
namespace)::AtomicExpand::runOnFunction(llvm::Function&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x19ec6c2)
#12 0x0000561c31fc0f17 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1f09f17)
#13 0x0000561c31fc1631 llvm::FPPassManager::runOnModule(llvm::Module&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1f0a631)
#14 0x0000561c31fc028f llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1f0928f)
#15 0x0000561c307fe9f7 compileModule(char**, llvm::LLVMContext&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x7479f7)
#16 0x0000561c307552d7 main
(/opt/compiler-explorer/clang-trunk/bin/llc+0x69e2d7)
#17 0x00007fe5cc30b0b3 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x270b3)
#18 0x0000561c307f7b2a _start
(/opt/compiler-explorer/clang-trunk/bin/llc+0x740b2a)
Compiler returned: 255
--Snip--
ref: https://godbolt.org/z/7jbnj1
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200910/44e18bf5/attachment.html>
More information about the llvm-bugs
mailing list