From 69e920cb07fb697116d88e9e8d0e08ddb3640db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakov=20Smoli=C4=87?= Date: Mon, 23 Jun 2025 15:32:17 +0200 Subject: [PATCH] media-libs/libpng: Disable RISC-V V extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Testing the latest release on a machine with C920 core fails with a lot of `Illegal instruction (core dumped) "$@"` messages even with the locally applied post-release fixes, and the upstream configure seems to have harcoded the -march flag to turn the V extension on even when it's off in the build system which won't work for systems that don't support V extension, so disable it completely for now. Closes: https://bugs.gentoo.org/958203 Signed-off-by: Jakov Smolić --- media-libs/libpng/libpng-1.6.49.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/libpng/libpng-1.6.49.ebuild b/media-libs/libpng/libpng-1.6.49.ebuild index 77886f50f3922..a7708793d226d 100644 --- a/media-libs/libpng/libpng-1.6.49.ebuild +++ b/media-libs/libpng/libpng-1.6.49.ebuild @@ -65,7 +65,7 @@ multilib_src_configure() { $(use_enable test tests) $(use_enable cpu_flags_x86_sse intel-sse) $(use_enable static-libs static) - --enable-riscv-rvv=check + --disable-riscv-rvv ) ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"