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

Logan Chien tzuhsiang.chien at gmail.com
Wed Aug 29 02:50:26 PDT 2012


No, I don't have commit access yet.  May you commit it for me?  Thanks.

Logan


On Wed, Aug 29, 2012 at 3:46 PM, Chandler Carruth <chandlerc at google.com>wrote:

> 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/d5f03959/attachment.html>


More information about the cfe-commits mailing list