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

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Mar 13 19:53:46 GMT 2022


Hi Daniel!

On 3/2/22 23:17, Daniel Black wrote:
> The selective CFLAGS on specific files are there to enable
> optimizations in certain functions. Elsewhere in the
> code there is runtime detection made of the VSX/vpmsum to actually use the code.

So, it turns out that doesn't work, see [1]:

/<<PKGBUILDDIR>>/extra/mariabackup/xbstream.cc
/tmp/ccwobTGg.s: Assembler messages:
/tmp/ccwobTGg.s:48: Error: unrecognized opcode: `tbegin.'
/tmp/ccwobTGg.s:106: Error: unrecognized opcode: `tabort.'
/tmp/ccwobTGg.s:151: Error: unrecognized opcode: `tend.'

Can't you just change the code to check for the compiler baseline in use before
emitting any POWER8 instructions? Upstream code really shouldn't use POWER8
instructions unconditionally.

Debian's ppc64 big-endian port uses the POWER5 baseline, not POWER8.

Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007216

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the pkg-mysql-maint mailing list