pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/libreoffice build errors: __ubsan_handle_pointer_overflow



In the run-up to thew new stable branch, I'm recompiling all my packages
in a fresh chroot from pkg_comp1. I'm using gcc10 for the first time,
since in the last stable branch, Firefox already wanted that version, so
it's better to use it for everything.

Building in NetBSD 9.2/amd64.

Libreoffice fails to build for me. The build ends like this:

[ 62%] Building C object CMakeFiles/tests_ro64.dir/tests/tests_lerp.c.o
[ 63%] Building C object CMakeFiles/tests_nn64.dir/tests/tests_lerp.c.o
[ 64%] Building C object CMakeFiles/libfixmath_nn08.dir/libfixmath/fract32.c.o
[ 65%] Building C object CMakeFiles/tests_no64.dir/tests/tests_macros.c.o
[ 66%] Building C object CMakeFiles/tests_rn64.dir/tests/tests_macros.c.o
[ 66%] Building C object CMakeFiles/tests_ro64.dir/tests/tests_macros.c.o
[ 66%] Building C object CMakeFiles/libfixmath_nn08.dir/libfixmath/uint32.c.o
[ 66%] Building C object CMakeFiles/tests_ro32.dir/tests/tests_lerp.c.o
[ 66%] Building C object CMakeFiles/tests_nn64.dir/tests/tests_macros.c.o
[ 67%] Linking C static library liblibfixmath_nn08.a
[ 67%] Built target libfixmath_nn08
[ 67%] Building C object CMakeFiles/tests_rn64.dir/tests/tests_sqrt.c.o
[ 67%] Building C object CMakeFiles/tests_no64.dir/tests/tests_sqrt.c.o
[ 69%] Building C object CMakeFiles/tests_no32.dir/tests/tests.c.o
[ 69%] Building C object CMakeFiles/tests_ro32.dir/tests/tests_macros.c.o
[ 70%] Building C object CMakeFiles/tests_ro64.dir/tests/tests_sqrt.c.o
[ 71%] Building C object CMakeFiles/tests_nn64.dir/tests/tests_sqrt.c.o
[ 72%] Building C object CMakeFiles/tests_no64.dir/tests/tests_str.c.o
[ 73%] Building C object CMakeFiles/tests_rn64.dir/tests/tests_str.c.o
[ 73%] Building C object CMakeFiles/tests_no32.dir/tests/tests_basic.c.o
[ 73%] Building C object CMakeFiles/tests_ro64.dir/tests/tests_str.c.o
[ 73%] Building C object CMakeFiles/tests_nn64.dir/tests/tests_str.c.o
[ 73%] Building C object CMakeFiles/tests_ro32.dir/tests/tests_sqrt.c.o
[ 73%] Linking C executable tests_no64
[ 73%] Linking C executable tests_rn64
[ 74%] Building C object CMakeFiles/tests_ro32.dir/tests/tests_str.c.o
/usr/bin/ld: CMakeFiles/tests_no64.dir/tests/tests.c.o: in function `main':
tests.c:(.text.startup+0x453): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: tests.c:(.text.startup+0x467): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: tests.c:(.text.startup+0x47b): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: tests.c:(.text.startup+0x48f): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: CMakeFiles/tests_no64.dir/tests/tests_basic.c.o: in function `test_abs_short':
tests_basic.c:(.text+0x2e2): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: tests_basic.c:(.text+0x326): undefined reference to `__ubsan_handle_type_mismatch_v1'
/usr/bin/ld: tests_basic.c:(.text+0x397): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: tests_basic.c:(.text+0x3ba): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: tests_basic.c:(.text+0x3ce): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: tests_basic.c:(.text+0x3f1): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: CMakeFiles/tests_no64.dir/tests/tests_basic.c.o: in function `test_abs':
tests_basic.c:(.text+0x539): undefined reference to `__ubsan_handle_pointer_overflow'
/usr/bin/ld: CMakeFiles/tests_no64.dir/tests/tests_basic.c.o:tests_basic.c:(.text+0x54d): more undefined references to `__ubsan_handle_pointer_overflow' follow
/usr/bin/ld: CMakeFiles/tests_no64.dir/tests/tests_basic.c.o: in function `test_add_short': 
... and lots more similar complaints about
__ubsan_handle_pointer_overflow being undefined.

-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index