[llvm-bugs] [Bug 44856] New: Illegal Instruction on startup from gn if built with clang on armv7hnl-linux

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Feb 9 08:32:27 PST 2020


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

            Bug ID: 44856
           Summary: Illegal Instruction on startup from gn if built with
                    clang on armv7hnl-linux
           Product: new-bugs
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: bero at lindev.ch
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Building gn (http://gn.googlesource.com/) with clang results in a crash on
startup (Illegal Instruction) on armv7hnl.
It works on any other architecture and on armv7hnl with gcc instead of clang.

To reproduce (no reduced test case yet):

git clone https://gn.googlesource.com/gn
cd gn
export CC=clang
export CXX=clang++
python build/gen.py --no-static-libstdc++
ninja -C out
out/gn_unittests

[Illegal Instruction on armv7hnl, success everywhere else]

git clone https://gn.googlesource.com/gn
cd gn
export CC=gcc
export CXX=g++
python build/gen.py --no-static-libstdc++
ninja -C out
out/gn_unittests

[works]

-- 
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/20200209/6538f411/attachment.html>


More information about the llvm-bugs mailing list