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: unassignedb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to