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

Simon Atanasyan satanasyan at mips.com
Thu Nov 15 05:27:20 PST 2012


Hi,

On Thu, Nov 15, 2012 at 7:44 AM, Logan Chien <tzuhsiang.chien at gmail.com> wrote:
> 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.

Does gcc driver do the same thing in that case and pass -ldl to the linker?

--
Simon



More information about the cfe-commits mailing list