[Libreoffice-commits] core.git: external/libxmlsec
Stephan Bergmann
sbergman at redhat.com
Thu May 18 14:17:11 UTC 2017
external/libxmlsec/ExternalProject_xmlsec.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5206b0376dcd511843f0e6cb072fe4184adcc487
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu May 18 16:13:55 2017 +0200
external/libxmlsec: Pass down gb_VISIBILITY_FLAGS
...otherwise ASan build started to fail in CppunitTest_services with
> ==16664==ERROR: AddressSanitizer: odr-violation (0x7f4583587440):
> [1] size=35 'xmlSecNs' strings.c:22:15
> [2] size=35 'xmlSecNs' strings.c:22:15
> These globals were registered at these points:
> [1]:
> #0 0x44f410 in __asan_register_globals.part.11 /data/sbergman/github.com/llvm-project/llvm-project-20170507/compiler-rt/lib/asan/asan_globals.cc:358
> #1 0x7f458295cded in asan.module_ctor (instdir/program/libxsec_gpg.so+0x197ded)
>
> [2]:
> #0 0x44f410 in __asan_register_globals.part.11 /data/sbergman/github.com/llvm-project/llvm-project-20170507/compiler-rt/lib/asan/asan_globals.cc:358
> #1 0x7f45833cc28d in asan.module_ctor (instdir/program/libxsec_xmlsec.so+0x5da28d)
>
> ==16664==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
> SUMMARY: AddressSanitizer: odr-violation: global 'xmlSecNs' at strings.c:22:15
> ==16664==ABORTING
after cae5f2a543b31552ccd9765aca5eb514fa694e07 "gpg4libre: initial GPG signature
generation"
Change-Id: I689241df52a7e878bfbd2d3dd6409bf0c104638b
diff --git a/external/libxmlsec/ExternalProject_xmlsec.mk b/external/libxmlsec/ExternalProject_xmlsec.mk
index 66abd02ac3a5..33fe25bb6977 100644
--- a/external/libxmlsec/ExternalProject_xmlsec.mk
+++ b/external/libxmlsec/ExternalProject_xmlsec.mk
@@ -40,7 +40,7 @@ $(call gb_ExternalProject_get_state_target,xmlsec,build) :
&& ./configure \
--with-pic --disable-shared --disable-crypto-dl --without-libxslt --without-gnutls \
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
- CFLAGS="$(CFLAGS) $(if $(debug),$(gb_COMPILERNOOPTFLAGS) $(gb_DEBUGINFO_FLAGS) $(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS))" \
+ CFLAGS="$(CFLAGS) $(if $(debug),$(gb_COMPILERNOOPTFLAGS) $(gb_DEBUGINFO_FLAGS) $(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS)) $(gb_VISIBILITY_FLAGS)" \
$(if $(or $(filter-out ANDROID,$(OS)),$(DISABLE_OPENSSL)),--without-openssl,--with-openssl=$(call gb_UnpackedTarball_get_dir,openssl)) \
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
$(if $(SYSTEM_NSS),,$(if $(filter MACOSX,$(OS)),--disable-pkgconfig)) \
More information about the Libreoffice-commits
mailing list