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