commit:     c5226e7dd6b36705665371947199db4ce899c04a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 27 02:00:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 27 02:05:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5226e7d

media-libs/libmpdclient: filter -fno-semantic-interposition for now

This is an interesting one in that it's not the usual _FORTIFY_SOURCE
vs __attribute__((alias, ...)) problem (see 
1f66e8c43948010f83e400a34c488653028dc200)
nor is it the strange occasional -Wodr false positive(?) that we've seen
(see 4cf1d792f97f62ec5912a8d67c4286b65a8e0365).

Casey reports that with libmpdclient build w/-O2 -fno-semantic-interposition,
ncmpcpp will end up crashing on an assert. This is curious enough to merit
leaving the bug open until I get a chance to poke more, and we just filter
for now.

It's especially curious as it doesn't seem like there should be anything
LD_PRELOAD involved here. My guess it's the usual "more-inlining exposes
another problem" like we had with dbus-broker 
(345f98126f9d9d6abbd7fa89868f2c4edfed6001)
but we'll see!

Bug: https://bugs.gentoo.org/959103
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{libmpdclient-2.23.ebuild => libmpdclient-2.23-r1.ebuild}        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-libs/libmpdclient/libmpdclient-2.23.ebuild 
b/media-libs/libmpdclient/libmpdclient-2.23-r1.ebuild
similarity index 91%
rename from media-libs/libmpdclient/libmpdclient-2.23.ebuild
rename to media-libs/libmpdclient/libmpdclient-2.23-r1.ebuild
index 53604fa7a292..f267f0d3796b 100644
--- a/media-libs/libmpdclient/libmpdclient-2.23.ebuild
+++ b/media-libs/libmpdclient/libmpdclient-2.23-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit meson
+inherit meson flag-o-matic
 
 DESCRIPTION="Library for interfacing Music Player Daemon (media-sound/mpd)"
 HOMEPAGE="https://www.musicpd.org 
https://github.com/MusicPlayerDaemon/libmpdclient";
@@ -28,6 +28,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #959103
+       filter-flags -fno-semantic-interposition
+
        local emesonargs=(
                -Ddocumentation=$(usex doc true false)
                -Dtest=$(usex test true false)

Reply via email to