[llvm-bugs] [Bug 46816] New: ExecutionEngine/MCJIT/stubs-sm-pic.ll XPASS'es on non-asserts 32-bit x86 builds

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 23 01:57:46 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46816

            Bug ID: 46816
           Summary: ExecutionEngine/MCJIT/stubs-sm-pic.ll XPASS'es on
                    non-asserts 32-bit x86 builds
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: htmldeveloper at gmail.com, lhames at gmail.com,
                    llvm-bugs at lists.llvm.org
            Blocks: 46725

For example, in a Visual Studio 32-bit dev prompt:

cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=llvm
-DLLVM_TARGETS_TO_BUILD=X86 ..\llvm
ninja check


Testing:  0.. 10.. 20.. 30.. 40.. 50..
XPASS: LLVM :: ExecutionEngine/MCJIT/stubs-sm-pic.ll (23621 of 38498)
******************** TEST 'LLVM :: ExecutionEngine/MCJIT/stubs-sm-pic.ll'
FAILED ********************
Script:
--
: 'RUN: at line 1';   c:\src\llvm.monorepo\build.bar\bin\lli.exe
-mtriple=i686-pc-windows-msvc-elf -disable-lazy-compilation=false
-relocation-model=pic -code-model=small
c:\src\llvm.monorepo\llvm\test\ExecutionEngine\MCJIT\stubs-sm-pic.ll
--
Exit Code: 0

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "c:\src\llvm.monorepo\build.bar\bin\lli.exe"
"-mtriple=i686-pc-windows-msvc-elf" "-disable-lazy-compilation=false"
"-relocation-model=pic" "-code-model=small"
"c:\src\llvm.monorepo\llvm\test\ExecutionEngine\MCJIT\stubs-sm-pic.ll"

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Unexpectedly Passed Tests (1):
  LLVM :: ExecutionEngine/MCJIT/stubs-sm-pic.ll




The test is marked XFAIL on i386 and i686

Because of this assert:

Relocation type not implemented yet!
UNREACHABLE executed at
C:\src\llvm.monorepo\llvm\lib\ExecutionEngine\RuntimeDyld\RuntimeDyldELF.cpp:362!


Maybe the simplest fix for now would be to make it error also in non-asserts
builds?


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=46725
[Bug 46725] [meta] 11.0.0 Release Blockers
-- 
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/20200723/4e667227/attachment.html>


More information about the llvm-bugs mailing list