[llvm-bugs] [Bug 50517] New: lld/mac crashes linking chromium/arm with debug symbols
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri May 28 04:27:00 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50517
Bug ID: 50517
Summary: lld/mac crashes linking chromium/arm with debug
symbols
Product: lld
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: MachO
Assignee: unassignedbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: gkm at fb.com, jezreel at gmail.com,
llvm-bugs at lists.llvm.org, smeenai at fb.com
Repro:
https://drive.google.com/file/d/1S9qXihwwbaMe8RHnsKYmCjOwFPWyZ1Pd/view?usp=sharing
-- 10G bzipped, 50G unzipped :/ Takes a bit to download and to unzip, but after
that we crash reasonably quickly:
% time ~/src/llvm-project/out/gn/bin/ld64.lld @response.txt
ld64.lld: warning: Option `-dead_strip' is not yet implemented. Stay tuned...
Assertion failed: (Val && "isa<> used on a null pointer"), function doit, file
../../llvm/include/llvm/Support/Casting.h, line 104.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0. Program arguments: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld
@response.txt
zsh: abort ~/src/llvm-project/out/gn/bin/ld64.lld @response.txt
~/src/llvm-project/out/gn/bin/ld64.lld @response.txt 10.79s user 1.82s system
52% cpu 24.128 total
I'm at 8086f9d87ee81aacf829bdad94744a75cf692ebc (I synced yesterday).
Doesn't seem to happen in a chromium/intel build with debug symbols as far as I
can tell.
(I also used lld to link the lld I'm currently using, so it theoretically be a
bug caused by lld writing a bad binary, but since things linked using lld
generally seem to work I think it's more likely it's a code bug.)
--
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/20210528/4cc7e6c2/attachment.html>
More information about the llvm-bugs
mailing list