[PATCH] Allow undefined symbols in shared library by default

Rui Ueyama ruiu at google.com
Wed Apr 8 16:18:33 PDT 2015


On Wed, Apr 8, 2015 at 4:16 PM, Rafael Ávila de Espíndola <
rafael.espindola at gmail.com> wrote:

> Fine by me, but someone from the lld side should LGTM it
>
> From the discussion on the list, there seem to be two consistent ways to
> handle this
>
> - Say that a .so's dependency is the job of the dynamic linker (this patch
> new default and what gold does) (this is by far my preference).
> - Fully implement what a dynamic linker does. In particular, resolve a
> symbol from a executable to an indirect dependency.  This is *not* done by
> gold or bfd ld.
>

I agree with the point. This patch is fine with me. (I rolled back the
previous patch simply because it broke buildbots.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150408/798e4b89/attachment.html>


More information about the llvm-commits mailing list