commit: 1435c22df86690a97936b516f08f9a77a76d203c
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 03:15:58 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 03:34:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1435c22d
app-emulation/wine-*: bring back -mno-avx for PE files
Still see people have problems with this and believe wine passing
-mpreferred-stack-boundary=2 has only mitigated this. Or at least
with wine-10+ (but add it to 9 anyway as a precaution).
Do not believe it's worth the potential minor optimizations in
mingw-gcc built code, so let's just keep -mno-avx.
fwiw only revbumping the latest versions and stable, seem to be
less of an issue than before still and no need to rebuild all
slots.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../{wine-proton-9.0.4.ebuild => wine-proton-9.0.4-r1.ebuild} | 4 ++++
app-emulation/wine-proton/wine-proton-9999.ebuild | 4 ++++
app-emulation/wine-staging/wine-staging-10.0.ebuild | 4 ++++
app-emulation/wine-staging/wine-staging-10.1.ebuild | 4 ++++
app-emulation/wine-staging/wine-staging-10.2.ebuild | 4 ++++
app-emulation/wine-staging/wine-staging-10.3.ebuild | 4 ++++
app-emulation/wine-staging/wine-staging-9.0.ebuild | 4 ++++
app-emulation/wine-staging/wine-staging-9999.ebuild | 4 ++++
.../{wine-vanilla-10.0.ebuild => wine-vanilla-10.0-r1.ebuild} | 4 ++++
app-emulation/wine-vanilla/wine-vanilla-10.1.ebuild | 4 ++++
app-emulation/wine-vanilla/wine-vanilla-10.2.ebuild | 4 ++++
.../{wine-vanilla-10.3.ebuild => wine-vanilla-10.3-r1.ebuild} | 4 ++++
.../{wine-vanilla-9.0.ebuild => wine-vanilla-9.0-r1.ebuild} | 4 ++++
app-emulation/wine-vanilla/wine-vanilla-9999.ebuild | 4 ++++
14 files changed, 56 insertions(+)
diff --git a/app-emulation/wine-proton/wine-proton-9.0.4.ebuild
b/app-emulation/wine-proton/wine-proton-9.0.4-r1.ebuild
similarity index 98%
rename from app-emulation/wine-proton/wine-proton-9.0.4.ebuild
rename to app-emulation/wine-proton/wine-proton-9.0.4-r1.ebuild
index b793da353866..50ad60d0da49 100644
--- a/app-emulation/wine-proton/wine-proton-9.0.4.ebuild
+++ b/app-emulation/wine-proton/wine-proton-9.0.4-r1.ebuild
@@ -313,6 +313,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not full
coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues and
still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-proton/wine-proton-9999.ebuild
b/app-emulation/wine-proton/wine-proton-9999.ebuild
index 09a70c2435d6..ec87e36310e0 100644
--- a/app-emulation/wine-proton/wine-proton-9999.ebuild
+++ b/app-emulation/wine-proton/wine-proton-9999.ebuild
@@ -316,6 +316,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not full
coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues and
still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-staging/wine-staging-10.0.ebuild
b/app-emulation/wine-staging/wine-staging-10.0.ebuild
index f39be8491538..123f2df0684d 100644
--- a/app-emulation/wine-staging/wine-staging-10.0.ebuild
+++ b/app-emulation/wine-staging/wine-staging-10.0.ebuild
@@ -353,6 +353,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-staging/wine-staging-10.1.ebuild
b/app-emulation/wine-staging/wine-staging-10.1.ebuild
index f39be8491538..123f2df0684d 100644
--- a/app-emulation/wine-staging/wine-staging-10.1.ebuild
+++ b/app-emulation/wine-staging/wine-staging-10.1.ebuild
@@ -353,6 +353,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-staging/wine-staging-10.2.ebuild
b/app-emulation/wine-staging/wine-staging-10.2.ebuild
index 5a4db8f22225..9dfefa4db762 100644
--- a/app-emulation/wine-staging/wine-staging-10.2.ebuild
+++ b/app-emulation/wine-staging/wine-staging-10.2.ebuild
@@ -352,6 +352,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-staging/wine-staging-10.3.ebuild
b/app-emulation/wine-staging/wine-staging-10.3.ebuild
index 6a55fe4a74ce..81e5cba2efd5 100644
--- a/app-emulation/wine-staging/wine-staging-10.3.ebuild
+++ b/app-emulation/wine-staging/wine-staging-10.3.ebuild
@@ -356,6 +356,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-staging/wine-staging-9.0.ebuild
b/app-emulation/wine-staging/wine-staging-9.0.ebuild
index 49959cf9bbcd..0b3966ccf25f 100644
--- a/app-emulation/wine-staging/wine-staging-9.0.ebuild
+++ b/app-emulation/wine-staging/wine-staging-9.0.ebuild
@@ -365,6 +365,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild
b/app-emulation/wine-staging/wine-staging-9999.ebuild
index 6a55fe4a74ce..81e5cba2efd5 100644
--- a/app-emulation/wine-staging/wine-staging-9999.ebuild
+++ b/app-emulation/wine-staging/wine-staging-9999.ebuild
@@ -356,6 +356,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-vanilla/wine-vanilla-10.0.ebuild
b/app-emulation/wine-vanilla/wine-vanilla-10.0-r1.ebuild
similarity index 98%
rename from app-emulation/wine-vanilla/wine-vanilla-10.0.ebuild
rename to app-emulation/wine-vanilla/wine-vanilla-10.0-r1.ebuild
index 0f4edbb98e62..cd72acf01a21 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-10.0.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-10.0-r1.ebuild
@@ -316,6 +316,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-vanilla/wine-vanilla-10.1.ebuild
b/app-emulation/wine-vanilla/wine-vanilla-10.1.ebuild
index 15cbd19b2310..762b7bd61ad3 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-10.1.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-10.1.ebuild
@@ -316,6 +316,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-vanilla/wine-vanilla-10.2.ebuild
b/app-emulation/wine-vanilla/wine-vanilla-10.2.ebuild
index 339938d64acc..7eb1b407c1df 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-10.2.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-10.2.ebuild
@@ -315,6 +315,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-vanilla/wine-vanilla-10.3.ebuild
b/app-emulation/wine-vanilla/wine-vanilla-10.3-r1.ebuild
similarity index 98%
rename from app-emulation/wine-vanilla/wine-vanilla-10.3.ebuild
rename to app-emulation/wine-vanilla/wine-vanilla-10.3-r1.ebuild
index 8ee0f458d65c..0db53d1335cb 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-10.3.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-10.3-r1.ebuild
@@ -319,6 +319,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-vanilla/wine-vanilla-9.0.ebuild
b/app-emulation/wine-vanilla/wine-vanilla-9.0-r1.ebuild
similarity index 98%
rename from app-emulation/wine-vanilla/wine-vanilla-9.0.ebuild
rename to app-emulation/wine-vanilla/wine-vanilla-9.0-r1.ebuild
index 2479d9296621..7c7cac87f184 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9.0.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9.0-r1.ebuild
@@ -314,6 +314,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"
diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
index 8ee0f458d65c..0db53d1335cb 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
@@ -319,6 +319,10 @@ src_configure() {
# (primarily done for 23.0 profiles' -z, not
full coverage)
filter-flags '-Wl,-z,*'
+ # -mavx with mingw-gcc has a history of issues
and still see
+ # users have problems despite
-mpreferred-stack-boundary=2
+ append-cflags -mno-avx
+
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)}"