[Bug 236141] LLD (unlike BFD) ignores unresolved references in libraries for indirect linking
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 1 22:30:33 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236141
--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
Oops, I forgot to insert a unresolved reference into the binary. Notice LLD
accepts what rtld won't.
$ cat b.c
void bar();
int main() { bar();}
$ cc b.c a.so
$ LD_LIBRARY_PATH=. ./a.out
ld-elf.so.1: ./a.so: Undefined symbol "foo"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list