This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Android native build of GCC


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 libdl.so...again, 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.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]