On Thu, 2012-02-02 at 14:04 -0600, Scott Sibley wrote:
> link_image[1947]: 1706 could not load needed library
> '/data/local/Inst/lib/valgrind/vgpreload_core-arm-linux.so' for
> './tinycap' (reloc_library[1311]: 1706 cannot locate
> '__cxa_finalize'...
> )CANNOT LINK EXECUTABLE
I have not digged in depth where this problem is coming from.
As part of the patch I am applying to have something working
on the Android emulator, I have the following hack to solve the
above problem. Don't ask me to explain neither the problem
nor the solution :).
Index: coregrind/vg_preloaded.c
===================================================================
--- coregrind/vg_preloaded.c (revision 12361)
+++ coregrind/vg_preloaded.c (working copy)
@@ -49,6 +49,10 @@
#if defined(VGO_linux)
+void __cxa_finalize(void)
+{
+}
+
/* ---------------------------------------------------------------------
Hook for running __libc_freeres once the program exits.
------------------------------------------------------------------ */
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users