[llvm-bugs] [Bug 50186] New: Linker creates invalid executables that crash dyld when linking Intel IPP
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 30 12:54:38 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50186
Bug ID: 50186
Summary: Linker creates invalid executables that crash dyld
when linking Intel IPP
Product: lld
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: MachO
Assignee: unassignedbugs at nondot.org
Reporter: caleb.zulawski at gmail.com
CC: gkm at fb.com, jezreel at gmail.com,
llvm-bugs at lists.llvm.org, smeenai at fb.com
I'm trying lld 12 for macOS and can link and run trivial executables. However
when I move on to another (unfortunately proprietary) codebase the generated
executables cause the following error from dyld:
dyld: REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB has segment 0 which is not a
writable segment (__TEXT) in dist/lib/libxyz.dylib.1
It's worth noting that libxyz is static linked against Intel's IPP which I'm
guessing has a slightly different object format, since I think it's compiled
with ICC.
I am using clang with the -fuse-ld=lld.darwinnew option.
--
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/20210430/973b93d3/attachment.html>
More information about the llvm-bugs
mailing list