From f58be0378c335bf9725621734555ca1cf87983f7 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 11 Mar 2024 16:54:14 -0400 Subject: 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 Signed-off-by: Sam James --- media-video/mplayer/mplayer-1.5_p20230215.ebuild | 5 +++++ media-video/mplayer/mplayer-1.5_p20230618.ebuild | 5 +++++ media-video/mplayer/mplayer-1.5_p20231206.ebuild | 5 +++++ media-video/mplayer/mplayer-9999.ebuild | 5 +++++ 4 files changed, 20 insertions(+) (limited to 'media-video/mplayer') 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 -- cgit v1.2.3-65-gdbad