[debian-mysql] Bug#1006527: mariadb-10.6: FTBFS on ppc64/ppc64el: htmxlintrin.h errors

Otto Kekäläinen otto at debian.org
Sat Feb 26 23:14:25 GMT 2022


Source: mariadb-10.6
Version: 1:10.6.7-1
Tags: upstream, confirmed, help, ftbfs
User: debian-powerpc at lists.debian.org
Usertags: ppc64el, ppc64

Builds on both ppc64 and ppc64el fail due to misc errors related to htmxlintrin:

htmxlintrin.h:25:3: error: #error "HTM instruction set not enabled"
htmxlintrin.h:58:25: error: ‘__builtin_tbegin’ was not declared in
this scope; did you mean ‘__builtin_tan’?
htmxlintrin.h:71:28: error: ‘__builtin_get_texasr’ was not declared in
this scope; did you mean ‘__builtin_gettext’?
htmxlintrin.h:108:3: error: ‘__builtin_tresume’ was not declared in
this scope; did you mean ‘__builtin_trunc’?
htmxlintrin.h:158:7: error: ‘__builtin_ttest’ was not declared in this
scope; did you mean ‘__builtin_strstr’?

Example of error in full context:

In file included from
/<<PKGBUILDDIR>>/storage/innobase/include/transactional_lock_guard.h:73,
                 from /<<PKGBUILDDIR>>/storage/innobase/include/buf0buf.h:43,
                 from /<<PKGBUILDDIR>>/storage/innobase/include/dict0mem.h:45,
                 from /<<PKGBUILDDIR>>/storage/innobase/include/dict0dict.h:32,
                 from /<<PKGBUILDDIR>>/storage/innobase/include/btr0btr.h:31,
                 from /<<PKGBUILDDIR>>/storage/innobase/btr/btr0btr.cc:28:
/usr/lib/gcc/powerpc64-linux-gnu/11/include/htmxlintrin.h:165:27:
error: ‘__builtin_get_texasr’ was not declared in this scope; did you
mean ‘__builtin_gettext’?
  165 |     texasrl = (texasrl_t) __builtin_get_texasr ();
      |                           ^~~~~~~~~~~~~~~~~~~~
      |                           __builtin_gettext



This is a recent regression as builds of 10.6.5 still worked for
ppc64el: https://buildd.debian.org/status/logs.php?pkg=mariadb-10.6&arch=ppc64el

However builds for ppc64 were broken for the lifespan of 10.6 in
Debian: https://buildd.debian.org/status/logs.php?pkg=mariadb-10.6&arch=ppc64

For MariaDB 10.5 builds of both ppc64el and ppc64 worked fine for at
least a year:
https://buildd.debian.org/status/logs.php?pkg=mariadb-10.5&arch=ppc64
https://buildd.debian.org/status/logs.php?pkg=mariadb-10.5&arch=ppc64el



More information about the pkg-mysql-maint mailing list