[cfe-commits] [PATCH] Add -ldl for libgcc in Android environment

Logan Chien tzuhsiang.chien at gmail.com
Wed Nov 14 19:44:59 PST 2012


Dear all,

  It seems that non-static libgcc for MIPS (in Android NDK) depends on
_Unwind_Find_FDE and dl_iterate_phdr from libdl.  Thus, we have to add -ldl
if we are linking with non-static libgcc.  The attached patch should
resolve the issue.  Please have a look.  Thanks.

Sincerely,
Logan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121115/7df94d30/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldl-for-libgcc.patch
Type: application/octet-stream
Size: 2205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121115/7df94d30/attachment.obj>


More information about the cfe-commits mailing list