[llvm-bugs] [Bug 48313] New: ExecutionEngine/Interpreter/intrinsics.ll: unknown external function: roundevenf
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 27 01:40:12 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48313
Bug ID: 48313
Summary: ExecutionEngine/Interpreter/intrinsics.ll: unknown
external function: roundevenf
Product: new-bugs
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: james at simula.no
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
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 https://bugs.llvm.org/ 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
--
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/20201127/38763447/attachment.html>
More information about the llvm-bugs
mailing list