[llvm-bugs] [Bug 47162] New: clang rGab9fc8bae805 crashes when building the Linux kernel

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 13 18:27:26 PDT 2020


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

            Bug ID: 47162
           Summary: clang rGab9fc8bae805 crashes when building the Linux
                    kernel
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: david.bolvansky at gmail.com
          Reporter: samitolvanen at google.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    ndesaulniers at google.com, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 23850
  --> https://bugs.llvm.org/attachment.cgi?id=23850&action=edit
tty_io-98ae38 crash reproducer

Starting with commit ab9fc8bae805c785066779e76e7846aabad5609e, clang crashes
when building the ToT x86 Linux kernel:

  CC      drivers/tty/tty_io.o
fatal error: error in backend: Cannot emit physreg copy instruction
clang-12: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 12.0.0 (https://github.com/llvm/llvm-project.git
ab9fc8bae805c785066779e76e7846aabad5609e)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/usr/local/google/home/samitolvanen/src/unified-llvm/build.ab9fc8bae805c785066779e76e7846aabad5609e/bin
clang-12: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-12: note: diagnostic msg: /tmp/tty_io-98ae38.c
clang-12: note: diagnostic msg: /tmp/tty_io-98ae38.sh
clang-12: note: diagnostic msg: 

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

The previous commit works. The preprocessed source and the run script are
attached.

-- 
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/20200814/022131b3/attachment.html>


More information about the llvm-bugs mailing list