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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to