[llvm-bugs] [Bug 48491] New: ld64.lld.darwinnew-linked protoc crashes at startup
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Dec 11 18:23:23 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48491
Bug ID: 48491
Summary: ld64.lld.darwinnew-linked protoc crashes at startup
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: llvm-bugs at lists.llvm.org
1. Download
https://drive.google.com/file/d/1gXkz_SBlFlQXBaXqeALNddQ5Ya9g8CLn/view?usp=sharing
(fairly small, 2.6 MB gzipped)
2. Untar (just double-click in finder)
3. link: `~/src/llvm-project/out/gn/bin/ld64.lld.darwinnew @response.txt`
4. Run: `./protoc`
Expected: Works.
Actual:
./protoc
zsh: segmentation fault ./protoc
Works fine when linking with ld. Interestingly, also works fine when running
the lld-linked binary under lldb.
--
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/20201212/8896023c/attachment-0001.html>
More information about the llvm-bugs
mailing list