<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Fast Register Allocator ICE when compiling for aarch64-linux-gnu"
href="https://bugs.llvm.org/show_bug.cgi?id=45029">45029</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Fast Register Allocator ICE when compiling for aarch64-linux-gnu
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>raul+llvm@tambre.ee
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Occurs when compiling format.cc from libfmt (<a href="https://github.com/fmtlib/fmt">https://github.com/fmtlib/fmt</a>) for
aarch64.
Stack dump:
0. Program arguments: /usr/lib/llvm-11/bin/clang -cc1 -triple
aarch64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name format-b51196.cpp
-mrelocation-model static -mthread-model posix -mframe-pointer=non-leaf
-fmath-errno -fdenormal-fp-math=ieee,ieee -fdenormal-fp-math-f32=ieee,ieee
-fno-rounding-math -masm-verbose -mconstructor-aliases -target-cpu generic
-target-feature +neon -target-abi aapcs -fallow-half-arguments-and-returns
-dwarf-column-info -fno-split-dwarf-inlining -debugger-tuning=gdb -resource-dir
/usr/lib/llvm-11/lib/clang/11.0.0 -internal-isystem
/usr/bin/../lib/gcc-cross/aarch64-linux-gnu/7.4.0/../../../../include/c++/7.4.0
-internal-isystem
/usr/bin/../lib/gcc-cross/aarch64-linux-gnu/7.4.0/../../../../include/aarch64-linux-gnu/c++/7.4.0
-internal-isystem
/usr/bin/../lib/gcc-cross/aarch64-linux-gnu/7.4.0/../../../../include/aarch64-unknown-linux-gnu/c++/7.4.0
-internal-isystem
/usr/bin/../lib/gcc-cross/aarch64-linux-gnu/7.4.0/../../../../include/c++/7.4.0/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/llvm-11/lib/clang/11.0.0/include -internal-externc-isystem
/usr/include/aarch64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=c++2a -fdeprecated-macro
-fdebug-compilation-dir /opt/llvm_crash -ferror-limit 19 -fmessage-length 0
-fno-signed-char -fgnuc-version=4.2.1 -fno-implicit-modules -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-faddrsig -o /tmp/format-b51196-613afe.o -x c++ format-b51196.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'format-b51196.cpp'.
4. Running pass 'Fast Register Allocator' on function
'@_ZN3fmt2v68internal8multiplyEmm'
#0 0x00007f451db322bf llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x99d2bf)
#1 0x00007f451db30580 llvm::sys::RunSignalHandlers()
(/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x99b580)
#2 0x00007f451db32885 (/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x99d885)
#3 0x00007f451cf88890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x00007f451dec13eb (/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xd2c3eb)
#5 0x00007f451dec0d4a (/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xd2bd4a)
#6 0x00007f451debf0c1 (/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xd2a0c1)
#7 0x00007f451dddcaf8
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xc47af8)
#8 0x00007f451dc3d156 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xaa8156)
#9 0x00007f451dc3d3f3 llvm::FPPassManager::runOnModule(llvm::Module&)
(/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xaa83f3)
#10 0x00007f451dc3d8c0 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xaa88c0)
#11 0x00007f451b83003b clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.11+0x147803b)
#12 0x00007f451badd9b7 (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.11+0x17259b7)
#13 0x00007f451ac37dd3 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.11+0x87fdd3)
#14 0x00007f451c145e08 clang::FrontendAction::Execute()
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.11+0x1d8de08)
#15 0x00007f451c0fe3c1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.11+0x1d463c1)
#16 0x00007f451c1aa22f
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.11+0x1df222f)
#17 0x0000000000412370 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/lib/llvm-11/bin/clang+0x412370)
#18 0x0000000000410691 (/usr/lib/llvm-11/bin/clang+0x410691)
#19 0x000000000040e72b main (/usr/lib/llvm-11/bin/clang+0x40e72b)
#20 0x00007f45196a9b97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#21 0x000000000040d91a _start (/usr/lib/llvm-11/bin/clang+0x40d91a)
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 11.0.0-++20200225091415+89ba4acad6c-1~exp1~20200225082012.1524
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>