[llvm-bugs] [Bug 49870] New: rG31d219d2997f hangs when compiling the Linux kernel
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 6 15:11:08 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=49870
Bug ID: 49870
Summary: rG31d219d2997f hangs when compiling the Linux kernel
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: lebedev.ri at gmail.com
Reporter: samitolvanen at google.com
CC: llvm-bugs at lists.llvm.org, ndesaulniers at google.com
Created attachment 24725
--> https://bugs.llvm.org/attachment.cgi?id=24725&action=edit
Preprocessed x86-stub.c
After commit 31d219d2997fed1b7dc97e0adf170d5aaf65883e, Clang hangs when
compiling the Linux kernel, specifically the file
drivers/firmware/efi/libstub/x86-stub.c:
https://reviews.llvm.org/rG31d219d2997fed1b7dc97e0adf170d5aaf65883e
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/firmware/efi/libstub/x86-stub.c
I've attached the preprocessed source file, and you can reproduce the issue by
running:
$ clang -nostdinc -m64 -fPIC -fno-strict-aliasing -mno-red-zone -mno-mmx
-mno-sse -fshort-wchar -Wno-pointer-sign -Wno-address-of-packed-member -Wno-gnu
-fno-asynchronous-unwind-tables -Os -ffreestanding -fno-stack-protector
-fno-addrsig -c x86-stub.c
--
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/20210406/ba876fd3/attachment.html>
More information about the llvm-bugs
mailing list