[Mesa-dev] [Bug 76856] -Wl, --no-undefined gives undefined references to libc symbols on OpenBSD

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 1 10:05:12 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76856

--- Comment #6 from Emil Velikov <emil.l.velikov at gmail.com> ---
Seems like a lovely case. There is a very nice 10+ old topic wrt this behaviour
and libtool [1]. To make things even better sometimes the linking rules differ
between versions (FreeBSD 5 vs 4)[2].

Most annoying part IMHO is that the ld manual does not even hint about this
*BSD "feature".

With that said, we should avoid using -Wl,--no-undefined for OpenBSD but I
would prefer to keep this on "as needed" basis. I.e. other *BSD flavours can
opt in if needed.

Jonathan
Feel free to prep a patch and use your comment 3 to prevent other zealots like
me from ever touching that piece of mesa :)

Thank you

[1] http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00483.html
[2] http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00494.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140401/aa277b92/attachment-0001.html>


More information about the mesa-dev mailing list