summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-12-01 20:27:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-12-03 09:07:58 +0100
commit5c7c54332f779afb847ece6396637e17957fc0d1 (patch)
treedebb058249fd58d2926a9c1e4051f1424f5e84e9
parent085f15acfdb96155011d60b6127ea6f6e4a9a263 (diff)
UBSan still needs RTTI of some types to be exported
...for which it had been removed with e10e5c15cc51d3b2a5e4b699c5f381aa92a17c4e "improve the script for reducing symbol exports", > [LNK] Executable/vcldemo > ld.lld: error: undefined symbol: typeinfo for BitmapReadAccess > >>> referenced by vcldemo.cxx > >>> workdir/CxxObject/vcl/workben/vcldemo.o:(.data+0x1ADF8) > >>> referenced by vcldemo.cxx > >>> workdir/CxxObject/vcl/workben/vcldemo.o:(.data+0x1AE68) > >>> referenced by vcldemo.cxx > >>> workdir/CxxObject/vcl/workben/vcldemo.o:(.data+0x1AEB8) > >>> referenced 7 more times > clang-14: error: linker command failed with exit code 1 (use -v to see invocation) > make[1]: *** [solenv/gbuild/LinkTarget.mk:833: workdir/LinkTarget/Executable/vcldemo] Error 1 > [CUT] writerperfect_stream > DynamicLibraryManagerException: "Failed to load dynamic library: workdir/LinkTarget/CppunitTest/libtest_writerperfect_stream.so > workdir/LinkTarget/CppunitTest/libtest_writerperfect_stream.so: undefined symbol: _ZTIN13writerperfect16WPXSvInputStreamE" > warn:unotools.config:545145:545145:unotools/source/config/configmgr.cxx:147: ConfigManager not empty > [CUT] dbaccess_empty_stdlib_save > DynamicLibraryManagerException: "Failed to load dynamic library: workdir/LinkTarget/CppunitTest/libtest_dbaccess_empty_stdlib_save.so > instdir/program/libdbalo.so: undefined symbol: _ZTIN7svxform19OSystemParseContextE" > warn:unotools.config:550847:550847:unotools/source/config/configmgr.cxx:147: ConfigManager not empty Change-Id: Ifbaaa64881bcfd5befdefbadb51948d06b92ca63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126201 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--include/svx/ParseContext.hxx2
-rw-r--r--include/vcl/BitmapReadAccess.hxx2
-rw-r--r--writerperfect/inc/WPXSvInputStream.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/ParseContext.hxx b/include/svx/ParseContext.hxx
index c23ff8665adb..4b8f451a8014 100644
--- a/include/svx/ParseContext.hxx
+++ b/include/svx/ParseContext.hxx
@@ -31,7 +31,7 @@ namespace svxform
//= OSystemParseContext
- class OSystemParseContext final : public ::connectivity::IParseContext
+ class SAL_DLLPUBLIC_RTTI OSystemParseContext final : public ::connectivity::IParseContext
{
private:
diff --git a/include/vcl/BitmapReadAccess.hxx b/include/vcl/BitmapReadAccess.hxx
index e314b5d771ad..76d1cddbede8 100644
--- a/include/vcl/BitmapReadAccess.hxx
+++ b/include/vcl/BitmapReadAccess.hxx
@@ -28,7 +28,7 @@
#include <vcl/BitmapAccessMode.hxx>
#include <vcl/BitmapInfoAccess.hxx>
-class BitmapReadAccess : public BitmapInfoAccess
+class SAL_DLLPUBLIC_RTTI BitmapReadAccess : public BitmapInfoAccess
{
friend class BitmapWriteAccess;
diff --git a/writerperfect/inc/WPXSvInputStream.hxx b/writerperfect/inc/WPXSvInputStream.hxx
index 5ccb983bef21..8cf41d777cd7 100644
--- a/writerperfect/inc/WPXSvInputStream.hxx
+++ b/writerperfect/inc/WPXSvInputStream.hxx
@@ -25,7 +25,7 @@ namespace writerperfect
{
class WPXSvInputStreamImpl;
-class WPXSvInputStream final : public librevenge::RVNGInputStream
+class SAL_DLLPUBLIC_RTTI WPXSvInputStream final : public librevenge::RVNGInputStream
{
public:
WRITERPERFECT_DLLPUBLIC