Source: mariadb-10.1 Version: 10.1.29-1 Severity: serious Tags: sid buster Hi,
mariadb-10.1 FTBFS if jemalloc is disabled with the following error: > /usr/bin/ld: ../../mysys/libmysys.a(stacktrace.c.o): undefined reference to > symbol '__bss_start' > //usr/lib/mips64el-linux-gnuabi64/liblz4.so.1: error adding symbols: DSO > missing from command line > collect2: error: ld returned 1 exit status In practice, this breaks mips* where jemalloc is disabled because jemalloc 3.6 has major issues on mips (which are fixed in 5.0, but that's a separate issue). The bug can be reproduced on amd64 if jemalloc is manually disabled in debian/rules. I think this is a bug in ld which I have filed here: https://sourceware.org/bugzilla/show_bug.cgi?id=22471 Thinking about ways you could workaround it: * Disable the HAVE_BSS_START config test, or * Manually link mariabackup against a library which exports __bss_start (such as liblz4 as suggested), or * Revert to using the system libpcre which provides a __bss_start symbol (presumably blocked on #878107). Using the gold linker might have also worked, but it seems that mariadb complains if you try to use it. Thanks to Adrian Bunk for some help debugging this problem. Thanks, James
signature.asc
Description: OpenPGP digital signature