[debian-mysql] Bug#1024040: mariadb-10.6: FTBFS on alpha: relocation truncated to fit: GPREL16 against symbol `wsrep_debug'
Michael Cree
mcree at orcon.net.nz
Sun Nov 20 09:07:00 GMT 2022
On Sun, Nov 13, 2022 at 02:49:11PM -0800, Otto Kekäläinen wrote:
> Source: mariadb-10.6
> Version: 1:10.6.7-1
> Tags: upstream, confirmed, ftbfs
> User: debian-alpha at lists.debian.org
> Usertags: alpha
> X-Debbugs-CC: debian-alpha at lists.debian.org
>
> After upload of mariadb-10.6 1:10.6.7-1 I noticed that alpha builds
> at https://buildd.debian.org/status/package.php?p=mariadb-10.6 were
> failing:
[snip]
> ./builddir/sql/./sql/wsrep_client_service.cc:77:(.text+0x140):
> relocation truncated to fit: GPREL16 against symbol `wsrep_debug'
> defined in .sbss section in ../../sql/libwsrep.a(wsrep_mysqld.cc.o)
> ../../sql/libwsrep.a(wsrep_client_service.cc.o): in function
> `Wsrep_client_service::cleanup_transaction()':
There is a work around for this. Linking with --no-relax fixes the
problem. I have a patch for this somewhere. Ah, yes, add to
/debian/rules the following:
fneq (,$(filter $(DEB_HOST_ARCH_CPU),alpha))
LDFLAGS+=-Wl,--no-relax
endif
Cheers,
Michael.
More information about the pkg-mysql-maint
mailing list