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

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

Reply via email to