The package rpms/musl.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/musl.git/commit/?id=cd6c95518b5a1....
Change:
+%ifarch %{power64}
Thanks.
Full change:
============
commit cd6c95518b5a1cf7b4e11349d1bd5db2d306f404
Author: Neal Gompa <ngompa13(a)gmail.com>
Date: Tue Apr 7 20:46:36 2020 -0400
Handle ABI and CPU naming differences for POWER
diff --git a/musl.spec b/musl.spec
index b8c4a8f..4b31916 100644
--- a/musl.spec
+++ b/musl.spec
@@ -45,8 +45,13 @@
%endif
%ifarch %{power64}
+# POWER architectures have a different name if little-endian
+%ifarch ppc64le
+%global _musl_target_cpu powerpc64le
+%else
%global _musl_target_cpu powerpc64
%endif
+%endif
%ifnarch %{ix86} %{arm} %{mips} %{power64} ppc
%global _musl_target_cpu %{_target_cpu}
@@ -226,6 +231,11 @@ programs and libraries with musl easily.
%build
+%ifarch %{power64}
+# Deal with ABI mismatch on long double between glibc and musl
+export CC="gcc -mlong-double-64"
+%endif
+
# Set linker flags to get correct soname...
export LDFLAGS="%{?build_ldflags}
-Wl,-soname,ld-musl-%{_musl_target_cpu}.so.1"
%configure --enable-debug --enable-wrapper=all