summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-11 16:54:14 -0400
committerSam James <sam@gentoo.org>2024-03-11 21:31:42 +0000
commitf58be0378c335bf9725621734555ca1cf87983f7 (patch)
tree843bd25355fccfc96725390b47c9e97dac02e3de /media-video
parentgnome-base/gnome-control-center: mark as LTO-unsafe, strict-aliasing unsafe (diff)
downloadgentoo-f58be0378c335bf9725621734555ca1cf87983f7.tar.gz
gentoo-f58be0378c335bf9725621734555ca1cf87983f7.tar.bz2
gentoo-f58be0378c335bf9725621734555ca1cf87983f7.zip
media-video/mplayer: mark as LTO-unsafe
It is specifically a problem when used in combination with libass and sse4 support, so limit our filtering. Closes: https://bugs.gentoo.org/461634 Closes: https://bugs.gentoo.org/650458 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer/mplayer-1.5_p20230215.ebuild5
-rw-r--r--media-video/mplayer/mplayer-1.5_p20230618.ebuild5
-rw-r--r--media-video/mplayer/mplayer-1.5_p20231206.ebuild5
-rw-r--r--media-video/mplayer/mplayer-9999.ebuild5
4 files changed, 20 insertions, 0 deletions
diff --git a/media-video/mplayer/mplayer-1.5_p20230215.ebuild b/media-video/mplayer/mplayer-1.5_p20230215.ebuild
index 24111b326b98..ae49ee100092 100644
--- a/media-video/mplayer/mplayer-1.5_p20230215.ebuild
+++ b/media-video/mplayer/mplayer-1.5_p20230215.ebuild
@@ -263,6 +263,11 @@ src_prepare() {
}
src_configure() {
+ # undefined reference to `sse_int32_map_factor' etc
+ # https://bugs.gentoo.org/650458
+ # https://trac.mplayerhq.hu/ticket/2408
+ use libass && use cpu_flags_x86_sse4_1 && filter-lto
+
local myconf=()
local uses i
diff --git a/media-video/mplayer/mplayer-1.5_p20230618.ebuild b/media-video/mplayer/mplayer-1.5_p20230618.ebuild
index 7d993f709bce..60e8cf3cc9e3 100644
--- a/media-video/mplayer/mplayer-1.5_p20230618.ebuild
+++ b/media-video/mplayer/mplayer-1.5_p20230618.ebuild
@@ -270,6 +270,11 @@ src_prepare() {
}
src_configure() {
+ # undefined reference to `sse_int32_map_factor' etc
+ # https://bugs.gentoo.org/650458
+ # https://trac.mplayerhq.hu/ticket/2408
+ use libass && use cpu_flags_x86_sse4_1 && filter-lto
+
local myconf=()
local uses i
diff --git a/media-video/mplayer/mplayer-1.5_p20231206.ebuild b/media-video/mplayer/mplayer-1.5_p20231206.ebuild
index 61a74ddb2ad9..b7e9b5420e81 100644
--- a/media-video/mplayer/mplayer-1.5_p20231206.ebuild
+++ b/media-video/mplayer/mplayer-1.5_p20231206.ebuild
@@ -266,6 +266,11 @@ src_prepare() {
}
src_configure() {
+ # undefined reference to `sse_int32_map_factor' etc
+ # https://bugs.gentoo.org/650458
+ # https://trac.mplayerhq.hu/ticket/2408
+ use libass && use cpu_flags_x86_sse4_1 && filter-lto
+
local myconf=()
local uses i
diff --git a/media-video/mplayer/mplayer-9999.ebuild b/media-video/mplayer/mplayer-9999.ebuild
index 61a74ddb2ad9..b7e9b5420e81 100644
--- a/media-video/mplayer/mplayer-9999.ebuild
+++ b/media-video/mplayer/mplayer-9999.ebuild
@@ -266,6 +266,11 @@ src_prepare() {
}
src_configure() {
+ # undefined reference to `sse_int32_map_factor' etc
+ # https://bugs.gentoo.org/650458
+ # https://trac.mplayerhq.hu/ticket/2408
+ use libass && use cpu_flags_x86_sse4_1 && filter-lto
+
local myconf=()
local uses i