Android native build of GCC

Andrew Haley
Sat Feb 14 11:08:00 GMT 2015

On 13/02/15 22:40, Cyd Haselton wrote:
> Somehow these calls are passed  to libc by the wrapper including the dlopen() call...which fails because it should be passed to libdl on android.
> How the wrapper points to libc I have no idea.  Why the wrapper around dlopen doesn't pick up 0n the linked, I have no idea.  Someone with better knowledge of fakechroot internals, symbols and linking will have to tackle this.

Ah, I think I might know.  When you call dlsym() you have the option
of passing a handle to the library you want to search.  Usually
dlsym() searches all loaded libraries, but it's possible that
libfakechroot specifies that only libc is searched.


More information about the Gcc mailing list