mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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=(
|
||||
|
||||
@@ -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=(
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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=(
|
||||
@@ -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=(
|
||||
|
||||
@@ -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=(
|
||||
@@ -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=(
|
||||
|
||||
@@ -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=(
|
||||
@@ -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=(
|
||||
Reference in New Issue
Block a user