<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 - ExecutionEngine/Interpreter/intrinsics.ll: unknown external function: roundevenf"
href="https://bugs.llvm.org/show_bug.cgi?id=48313">48313</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ExecutionEngine/Interpreter/intrinsics.ll: unknown external function: roundevenf
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</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>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>james@simula.no
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>I am compiling and building LLVM 11.0.0 from source on CentOS Linux release
7.8.2003. I am using gcc 10.1.0 as a host compiler and I am also using libffi
3.2.1.
When I run `make check', one of the regression tests
(ExecutionEngine/Interpreter/intrinsics.ll) fails with the error: "Tried to
execute an unknown external function: roundevenf".
I have run cmake with the following options:
cmake .. \
-DCMAKE_INSTALL_PREFIX=/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/pkgs/llvm-11.0.0
\
-DLLVM_ENABLE_FFI=ON \
-DFFI_INCLUDE_DIR=/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/pkgs/libffi-3.2.1/include
\
-DFFI_LIBRARY_DIR=/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/pkgs/libffi-3.2.1/lib
\
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_ENABLE_BINDINGS=OFF \
-Wno-dev -G Ninja
The full output from the failing test is shown below:
FAIL: LLVM :: ExecutionEngine/Interpreter/intrinsics.ll (23636 of 38465)
******************** TEST 'LLVM :: ExecutionEngine/Interpreter/intrinsics.ll'
FAILED ********************
Script:
--
: 'RUN: at line 1';
/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/lli
-O0 -force-interpreter <
/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/test/ExecutionEngine/Interpreter/intrinsics.ll
--
Exit Code: 134
Command Output (stderr):
--
LLVM ERROR: Tried to execute an unknown external function: roundevenf
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.
Stack dump:
0. Program arguments:
/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/lli
-O0 -force-interpreter
#0 0x00002aaaab76aeea llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0xa9beea)
#1 0x00002aaaab768dc4 llvm::sys::RunSignalHandlers()
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0xa99dc4)
#2 0x00002aaaab768ef8 SignalHandler(int)
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0xa99ef8)
#3 0x00002aaab0852630 __restore_rt (/lib64/libpthread.so.0+0xf630)
#4 0x00002aaab137c387 raise (/lib64/libc.so.6+0x36387)
#5 0x00002aaab137da78 abort (/lib64/libc.so.6+0x37a78)
#6 0x00002aaaab69982c llvm::report_fatal_error(llvm::Twine const&, bool)
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0x9ca82c)
#7 0x00002aaaad1fe807 llvm::Interpreter::callExternalFunction(llvm::Function*,
llvm::ArrayRef<llvm::GenericValue>)
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0x252f807)
#8 0x00002aaaad1f847f llvm::Interpreter::callFunction(llvm::Function*,
llvm::ArrayRef<llvm::GenericValue>)
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0x252947f)
#9 0x00002aaaad1f88c5 llvm::Interpreter::visitCallBase(llvm::CallBase&)
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0x25298c5)
#10 0x00002aaaad1f8da8 llvm::Interpreter::run()
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0x2529da8)
#11 0x00002aaaad2021d7 llvm::Interpreter::runFunction(llvm::Function*,
llvm::ArrayRef<llvm::GenericValue>)
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0x25331d7)
#12 0x00002aaaad1db433
llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&, char const* const*)
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/../lib/libLLVM-11.so+0x250c433)
#13 0x00000000004139d8 main
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/lli+0x4139d8)
#14 0x00002aaab1368555 __libc_start_main (/lib64/libc.so.6+0x22555)
#15 0x00000000004150ce _start
(/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/lli+0x4150ce)
/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/test/ExecutionEngine/Interpreter/Output/intrinsics.ll.script:
line 1: 41047 Aborted
/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/build/bin/lli
-O0 -force-interpreter <
/mnt/irisgpfs/projects/fenics-gpu/jtrotter/ex3modules/0.5.0-rc1/src/llvm-11.0.0/test/ExecutionEngine/Interpreter/intrinsics.ll
--
********************
********************
Failed Tests (1):
LLVM :: ExecutionEngine/Interpreter/intrinsics.ll
Testing Time: 238.28s
Unsupported : 1105
Passed : 37211
Expectedly Failed: 148
Failed : 1
1 warning(s) in tests
FAILED: CMakeFiles/check-all</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>