https://bugs.kde.org/show_bug.cgi?id=406349
Mark Wielaard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from Mark Wielaard <[email protected]> --- So this patch (totally untested because I don't have access to android) might get rid of the warnings: diff --git a/Makefile.all.am b/Makefile.all.am index d4f6b3fb7985..17427b48e97c 100644 --- a/Makefile.all.am +++ b/Makefile.all.am @@ -327,7 +327,15 @@ endif # Baseline link flags for making vgpreload shared objects. # +if VGCONF_PLATVARIANT_IS_ANDROID +# The Android toolchain includes all kinds of stdlib helpers present in +# bionic which is bad because we are not linking with it and the Android +# linker will panic. Also the Android runtime linker doesn't recognize +# DF_1_INTERPOSE and DF_1_INITFIRST. +PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -nostdlib +else PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst +endif PRELOAD_LDFLAGS_COMMON_FREEBSD = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load PRELOAD_LDFLAGS_COMMON_SOLARIS = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst @@ -335,13 +343,6 @@ if SOLARIS_XPG_SYMBOLS_PRESENT PRELOAD_LDFLAGS_COMMON_SOLARIS += -Wl,-M,$(top_srcdir)/solaris/vgpreload-solaris.mapfile endif -if VGCONF_PLATVARIANT_IS_ANDROID -# The Android toolchain includes all kinds of stdlib helpers present in -# bionic which is bad because we are not linking with it and the Android -# linker will panic. -PRELOAD_LDFLAGS_COMMON_LINUX += -nostdlib -endif - PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ If someone could try that? Still leaves the question why the original reporter doesn't seem to get any leakchecking. -- You are receiving this mail because: You are watching all bug changes.
