> This is objdump of vgpreload_core-arm-linux.so (on Android) : 
> http://pastebin.com/X0Ngr8JP

I see:
     0000052c g     F .text  00000070 _vgnU_freeres
which might be related to an intended replacement for __libc_freeres.

> So effectively, there is no __libc_freeres in the symbol table. So, to verify 
> things, I did the same objdump on vgpreload_core-x86-linux.so on my dev 
> machine and __libc_freeres is in the symbol table. 
> 
> 0000000000000000         *UND*0000000000000000 __libc_freeres
> 0000000000000000      D  *UND*0000000000000000 __libc_freeres  
> 
> Any idea on what are the cause of this missing libc_freeres?

When I run "readelf --all /lib/libc.so.6" on x86_64 then I see:
  6489: 472f4e50   129 FUNC    GLOBAL DEFAULT   13 __libc_freeres
so that symbol is in glibc-2.13.

What is the output from:
   $ ldd ./hello-arm-bionic   ### print the shared libs needed by the app
and what is the status of __libc_freeres with respect to each of the
libraries named by ldd?

At the time that memcheck fails, which files are mapped?
   $ cat /proc/<pid>/maps

-- 

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to