[llvm-bugs] [Bug 52408] New: unsupported relocation reference
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Nov 4 11:48:58 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=52408
Bug ID: 52408
Summary: unsupported relocation reference
Product: lld
Version: 13.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: caleb.zulawski at gmail.com
CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com
This occurs when I link an executable, which depends on a static library, which
in turn depends on a dynamic library:
exe -> libfoo.a -> libbar.so
The exact error:
ld.lld: error: /path/to/libfoo.a(libbar.so): unsupported relocation reference
It's worth noting that exe and libfoo.a are compiled and linked with clang/lld
13, but libbar.so was compiled and linked with the Fedora 30 system toolchain.
--
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/20211104/308d7acc/attachment.html>
More information about the llvm-bugs
mailing list