[Libreoffice-commits] core.git: external/liborcus
Stephan Bergmann
sbergman at redhat.com
Tue Mar 3 03:24:42 PST 2015
external/liborcus/liborcus_0.1.0-dllimport.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f6977bb87a2eb962e433f85d2e317b8f932f5251
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 3 11:56:40 2015 +0100
Further reduce amount of symbols exported from static orcus library
Following up on 7a4cc197910546d6fb3469806c406bf358ba0168 "Also on Linux do not
export symbols from static orcus libraries" that turned out to not be enough to
prevent ASan ODR violation reports after
f0aa1a78fb209310e8baef53c02f365fca518d11 "For Clang -fsanitize=vptr use
-fvisibility-ms-compat, not -fvisibility=hidden." Given that liborcus is only
ever linked in as a static archive, it is hopefully OK (intended, even?) to not
export any of its symbols.
Change-Id: Ib8eb084def1725374747a389065bf8186218786e
diff --git a/external/liborcus/liborcus_0.1.0-dllimport.patch b/external/liborcus/liborcus_0.1.0-dllimport.patch
index 7c91a77..8940155 100644
--- a/external/liborcus/liborcus_0.1.0-dllimport.patch
+++ b/external/liborcus/liborcus_0.1.0-dllimport.patch
@@ -18,7 +18,7 @@
#else
#if __GNUC__ >= 4
- #define ORCUS_DLLPUBLIC __attribute__ ((visibility ("default")))
-+ #define ORCUS_DLLPUBLIC
++ #define ORCUS_DLLPUBLIC __attribute__ ((visibility ("hidden")))
#define ORCUS_DLLLOCAL __attribute__ ((visibility ("hidden")))
#else
#define ORCUS_DLLPUBLIC
More information about the Libreoffice-commits
mailing list