[llvm-bugs] [Bug 45867] New: clang-cl -m32 crashes on Target: armv8l-unknown-linux-gnueabihf

via llvm-bugs llvm-bugs at lists.llvm.org
Sun May 10 17:47:52 PDT 2020


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

            Bug ID: 45867
           Summary: clang-cl -m32 crashes on Target:
                    armv8l-unknown-linux-gnueabihf
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: omair.javaid at linaro.org
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Following lldb test fail due to clang-cl crashing with -m32 option with Target:
armv8l-unknown-linux-gnueabihf

  lldb-shell :: SymbolFile/NativePDB/ast-functions.cpp
  lldb-shell :: SymbolFile/NativePDB/ast-methods.cpp
  lldb-shell :: SymbolFile/NativePDB/ast-types.cpp
  lldb-shell :: SymbolFile/NativePDB/bitfields.cpp
  lldb-shell :: SymbolFile/NativePDB/break-by-function.cpp
  lldb-shell :: SymbolFile/NativePDB/break-by-line.cpp
  lldb-shell :: SymbolFile/NativePDB/function-types-builtins.cpp
  lldb-shell :: SymbolFile/NativePDB/function-types-classes.cpp
  lldb-shell :: SymbolFile/NativePDB/global-classes.cpp
  lldb-shell :: SymbolFile/NativePDB/globals-bss.cpp
  lldb-shell :: SymbolFile/NativePDB/globals-fundamental.cpp
  lldb-shell :: SymbolFile/NativePDB/nested-types.cpp
  lldb-shell :: SymbolFile/NativePDB/source-list.cpp
  lldb-shell :: SymbolFile/NativePDB/tag-types.cpp

Test log given below:

FAIL: lldb-shell :: SymbolFile/NativePDB/tag-types.cpp (1141 of 2017)
******************** TEST 'lldb-shell :: SymbolFile/NativePDB/tag-types.cpp'
FAILED ********************
Script:
--
: 'RUN: at line 5';   '/usr/bin/python3.6'
/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/helper/build.py
--compiler=any --arch=32
--tools-dir=/home/omair.javaid/buildslave/lldb-cmake-arm/build/./bin
--libs-dir=/home/omair.javaid/buildslave/lldb-cmake-arm/build/./lib
--compiler=clang-cl --nodefaultlib -o
/home/omair.javaid/buildslave/lldb-cmake-arm/build/tools/lldb/test/SymbolFile/NativePDB/Output/tag-types.cpp.tmp.exe
--
/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp
: 'RUN: at line 6';   env LLDB_USE_NATIVE_PDB_READER=1
/home/omair.javaid/buildslave/lldb-cmake-arm/build/bin/lldb --no-lldbinit -S
/home/omair.javaid/buildslave/lldb-cmake-arm/build/tools/lldb/test/Shell/lit-lldb-init
-f
/home/omair.javaid/buildslave/lldb-cmake-arm/build/tools/lldb/test/SymbolFile/NativePDB/Output/tag-types.cpp.tmp.exe
-s     
/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/Inputs/tag-types.lldbinit
| /home/omair.javaid/buildslave/lldb-cmake-arm/build/bin/FileCheck
/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp
--
Exit Code: 70

Command Output (stdout):
--
Cleaning tag-types.ilk
Cleaning tag-types.cpp.tmp.exe-tag-types.obj
Cleaning tag-types.cpp.tmp.pdb
Cleaning tag-types.cpp.tmp.exe



compiling tag-types.cpp -> tag-types.cpp.tmp.exe-tag-types.obj
  STDOUT:

  STDERR:
    fatal error: error in backend: target does not implement codeview register
mapping
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.  Program arguments:
/home/omair.javaid/buildslave/lldb-cmake-arm/build/bin/clang-cl -m32 /Od /GS-
/GR- /Z7 -Xclang -fkeep-static-consts -fms-compatibility-version=19 /c
/Fo/home/omair.javaid/buildslave/lldb-cmake-arm/build/tools/lldb/test/SymbolFile/NativePDB/Output/tag-types.cpp.tmp.exe-tag-types.obj
--
/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp 
    1.  <eof> parser at end of file
    2.  Code generation
    3.  Running pass 'Function Pass Manager' on module
'/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp'.
    4.  Running pass 'ARM Assembly Printer' on function '@main'
    clang-11: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
    clang version 11.0.0
(/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/clang
6d23f2985270acb6907ad61f609a245bf844d472)
    Target: armv8l-pc-windows-msvc
    Thread model: posix
    InstalledDir: /home/omair.javaid/buildslave/lldb-cmake-arm/build/bin
    clang-11: note: diagnostic msg: 
    ********************

    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-11: note: diagnostic msg: /tmp/tag-types-c45b26.cpp
    clang-11: note: diagnostic msg: /tmp/tag-types-c45b26.sh
    clang-11: note: diagnostic msg: 

    ********************

-- 
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/20200511/fa408015/attachment-0001.html>


More information about the llvm-bugs mailing list