https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236141

--- Comment #1 from Jan Beich <jbe...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to