summaryrefslogtreecommitdiff
path: root/canvas/source/simplecanvas
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2025-01-07 17:49:45 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2025-01-07 19:37:59 +0100
commit8b2f6b4fba6c466ed399f4f4b80e9631f13a6232 (patch)
tree0a439761296ff5cf041672b8b3a8b84ad4abebf8 /canvas/source/simplecanvas
parentbbb53997c3a6890567ee991aed8502b397dcb7a6 (diff)
Fix UBSan build of ExternalProject_raptor HEADmaster
Using an autogen.input somewhat different from what I usually use for ASan/UBSan builds, that caused > libtool: link: /home/sberg/llvm/inst/bin/clang -fdiagnostics-color=always -fsanitize=address -fsanitize-address-globals-dead-stripping -fsanitize-address-use-after-return=always -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=local-bounds -fsanitize=nullability -fno-sanitize=function -O0 -Wp,-U_FORTIFY_SOURCE -fstrict-aliasing -fstrict-overflow -ggdb2 -gsplit-dwarf -Xclang -debug-info-kind=constructor -ggnu-pubnames -Wl,-z -Wl,origin -Wl,-rpath -Wl,\$ORIGIN -Wl,-rpath-link -Wl,/home/sberg/lo-asanubsan/core/instdir/program -o .libs/rapper rapper.o ../src/.libs/libraptor2.so -Wl,-rpath -Wl,/usr/local/lib > /usr/bin/ld: /home/sberg/lo-asanubsan/core/instdir/program/libicuuc.so.75: undefined reference to `__ubsan_vptr_type_cache' > /usr/bin/ld: /home/sberg/lo-asanubsan/core/instdir/program/libicuuc.so.75: undefined reference to `__ubsan_handle_dynamic_type_cache_miss' > clang: error: linker command failed with exit code 1 (use -v to see invocation) > make[3]: *** [Makefile:540: rapper] Error 1 > make[3]: *** Waiting for unfinished jobs.... > libtool: link: /home/sberg/llvm/inst/bin/clang -fdiagnostics-color=always -fsanitize=address -fsanitize-address-globals-dead-stripping -fsanitize-address-use-after-return=always -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=local-bounds -fsanitize=nullability -fno-sanitize=function -O0 -Wp,-U_FORTIFY_SOURCE -fstrict-aliasing -fstrict-overflow -ggdb2 -gsplit-dwarf -Xclang -debug-info-kind=constructor -ggnu-pubnames -Wl,-z -Wl,origin -Wl,-rpath -Wl,\$ORIGIN -Wl,-rpath-link -Wl,/home/sberg/lo-asanubsan/core/instdir/program -o .libs/rdfdiff rdfdiff.o ../src/.libs/libraptor2.so -Wl,-rpath -Wl,/usr/local/lib > /usr/bin/ld: /home/sberg/lo-asanubsan/core/instdir/program/libicuuc.so.75: undefined reference to `__ubsan_vptr_type_cache' > /usr/bin/ld: /home/sberg/lo-asanubsan/core/instdir/program/libicuuc.so.75: undefined reference to `__ubsan_handle_dynamic_type_cache_miss' > clang: error: linker command failed with exit code 1 (use -v to see invocation) It appears that different configurations cause different libraries to be created in ExternalProject_raptor, so that's why I never ran into this before, but the solution is the same as in b3300387f2e14ea59c70db513a8f6eda6fe17afa "Fix UBSan build of ExternalProject_redland". Change-Id: I8bf955632af8c6490d9bd66a1d7dcd19b623c305 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179898 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'canvas/source/simplecanvas')
0 files changed, 0 insertions, 0 deletions