[cfe-commits] [PATCH] Add -ldl for libgcc to follow Android ABI

Chandler Carruth chandlerc at google.com
Wed Aug 29 00:46:27 PDT 2012


LGTM, do you have commit access?


On Wed, Aug 29, 2012 at 12:28 AM, Logan Chien <tzuhsiang.chien at gmail.com>wrote:

> Hi,
>
>   According to Android ABI, we have to link with libdl.so, if "-static"
> flag is not set.  Otherwise, we will get link error on MIPS architecture,
> because its libgcc references `_Unwind_Find_FDE' and `dl_iterate_phdr',
> but these symbols are defined in libdl.so.
>
>   I hope the patch can resolve this issue.  And the test cases has been
> attached.  Please have a look.  Thanks.
>
> Sincerely,
> Logan
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120829/057a0046/attachment.html>


More information about the cfe-commits mailing list