Your message dated Mon, 8 Dec 2025 10:59:30 -0800
with message-id 
<CAOU6tAA0tPc7zZTWGjimLcSG=EBifG_HQC30wnhFDp2=rrz...@mail.gmail.com>
and subject line Re: [debian-mysql] Bug#1006702:
has caused the Debian Bug report #1006702,
regarding mariadb-10.6: Baseline violation on at least i386 via CXXFLAGS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1006702: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006702
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mariadb-10.6
Version: 1:10.6.7-2
Severity: serious
Justification: baseline violation

Hello!

The file mysys/CMakeFiles.txt overrides the compiler machine flags [1] and
causes mariadb-10.6 to be build with the CPU baseline of the buildd which
results in binaries that will crash on the target platform such as i386.

As can be seen in the build log for i386, the code is being built with
"-msse4.2 -mpclmul" with at least SSE 4.2 which is not available before
Intel Core i7, according to Wikipedia [3].

On ppc64, the code is being built with VSX, Crypto and POWER8 vector 
instructions
which are all not available on the POWER5 baseline that the ppc64 port in
Debian uses.

I suggest patching out the whole section in mysys/CMakeFiles.txt which may
also help fixing testsuite failures on some architectures.

Thanks,
Adrian

> [1] 
> https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/mysys/CMakeLists.txt#L62
> [2] 
> https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.6&arch=i386&ver=1%3A10.6.7-2&stamp=1646205322&raw=0
> [3] https://en.wikipedia.org/wiki/SSE4#SSE4.2

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--- End Message ---
--- Begin Message ---
As per comments from upstream in e.g.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006702#15 there the
code is doing autodetection correctly and original request to change
baseline flags isn't feasible/relevant. Closing issue.

--- End Message ---

Reply via email to