dev-db/mariadb: unconditionally pass -fno-tree-vectorize

Followup to d72826a5df. Jens reports
in the bug that he sees a crash w/ GCC 15 in my_convert too. It's very
likely the same problem: 15 at least already had some peeling for alignment
changes and we know the code in MariaDB is broken here.

Don't bother conditionalising it on GCC as Clang accepts -fno-tree-vectorize
too and it could show up there too of course as it's UB.

And revbump here as well given it clearly affects real users, not just
those w/ experimental (16) GCC.

Closes: https://bugs.gentoo.org/959423
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-08-12 04:35:56 +01:00
parent b4a04de8a4
commit 8196f16d2f
9 changed files with 9 additions and 9 deletions

View File

@@ -304,7 +304,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
# debug hack wrt #497532
local mycmakeargs=(

View File

@@ -310,7 +310,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
# debug hack wrt #497532
local mycmakeargs=(

View File

@@ -316,7 +316,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
CMAKE_BUILD_TYPE="RelWithDebInfo"

View File

@@ -322,7 +322,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
# debug hack wrt #497532
local mycmakeargs=(

View File

@@ -310,7 +310,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
# debug hack wrt #497532
local mycmakeargs=(

View File

@@ -308,7 +308,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
# debug hack wrt #497532
local mycmakeargs=(

View File

@@ -300,7 +300,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
# debug hack wrt #497532
local mycmakeargs=(

View File

@@ -298,7 +298,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
# debug hack wrt #497532
local mycmakeargs=(

View File

@@ -298,7 +298,7 @@ src_configure() {
append-flags -fno-strict-aliasing
# Workaround for bug #959423 (https://jira.mariadb.org/browse/MDEV-37148)
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && append-flags -fno-tree-vectorize
append-flags -fno-tree-vectorize
# debug hack wrt #497532
local mycmakeargs=(