[Bug 236141] LLD (unlike BFD) ignores unresolved references in libraries for indirect linking

2019-03-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236141

Dimitry Andric  changed:

   What|Removed |Added

 Blocks||236062


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236062
[Bug 236062] [exp-run] Against projects/clang800-import branch
-- 
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"


[Bug 236141] LLD (unlike BFD) ignores unresolved references in libraries for indirect linking

2019-03-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236141

--- Comment #4 from Dimitry Andric  ---
So unfortunately this causes a bunch of gnome ports (and maybe more) to fail to
link, due to undefined symbols: see bug 236062 comment 30.

Obviously the new default of --no-allow-shlib-undefined seems to work, in the
sense that it does find a bunch of undefined symbols, but now the question is
if it is too trigger-happy, or if the ports in question are having
under-specified link libraries...

-- 
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"


[Bug 236141] LLD (unlike BFD) ignores unresolved references in libraries for indirect linking

2019-03-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236141

--- Comment #5 from Jan Beich  ---
Both. --no-allow-shlib-undefined in BFD is more lenient and linking in the wild
is too sloppy. Unfortunately, it's hard to measure the impact due to many ports
skipped.

As Gold also defaults to --no-allow-shlib-undefined DPorts may have fixes e.g.,
https://github.com/DragonFlyBSD/DeltaPorts/blob/dd4e3973258f/ports/devel/libglade2/Makefile.DragonFly

-- 
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"