[llvm-bugs] [Bug 43455] New: r372893 hangs when building

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 25 14:04:29 PDT 2019


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

            Bug ID: 43455
           Summary: r372893 hangs when building
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: samitolvanen at google.com
                CC: e.menezes at samsung.com, htmldeveloper at gmail.com,
                    llvm-bugs at lists.llvm.org, ndesaulniers at google.com,
                    peter at pcc.me.uk

Starting with r372893 ("[CodeGen] Replace -max-jump-table-size with
-max-jump-table-targets"), LLD hangs when building the Linux kernel with CFI.

Steps to reproduce:

$ git clone https://github.com/samitolvanen/linux.git
$ cd linux 
$ git checkout clang-cfi
$ export PATH=/path/to/llvm/bin:$PATH
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CC=clang LD=ld.lld defconfig
$ ./scripts/config -e LTO_CLANG -e THINLTO -e CFI_CLANG
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CC=clang LD=ld.lld -j110
(press enter a few times to accept default configs)

With r372892, this completes in ~3 minutes on my system. With r372893, LLD
hangs when linking vmlinux.o (waited for >1h).

-- 
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/20190925/9a1c7f40/attachment.html>


More information about the llvm-bugs mailing list