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 - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913