From 4cfd88badd6cc48ebf089751f8b854e02f2f7b88 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 2 Mar 2023 10:21:24 +0200 Subject: [PATCH] Disable ld.gold on riscv64 ld.gold was never ported to riscv64. Signed-off-by: David Abdurachmanov --- ghc.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ghc.spec b/ghc.spec index 2bc291e..17aac2d 100644 --- a/ghc.spec +++ b/ghc.spec @@ -88,7 +88,7 @@ Version: 9.2.6 # - release can only be reset if *all* library versions get bumped simultaneously # (sometimes after a major release) # - minor release numbers for a branch should be incremented monotonically -Release: 129%{?dist} +Release: 129.0.riscv64%{?dist} Summary: Glasgow Haskell Compiler License: BSD and HaskellReport @@ -526,7 +526,9 @@ export CC=%{_bindir}/gcc # /usr/bin/debugedit: Cannot handle 8-byte build ID # https://bugzilla.redhat.com/show_bug.cgi?id=2116508 # https://gitlab.haskell.org/ghc/ghc/-/issues/22195 +%ifnarch riscv64 export LD=%{_bindir}/ld.gold +%endif # * %%configure induces cross-build due to different target/host/build platform names ./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \ @@ -998,6 +1000,9 @@ env -C %{ghc_html_libraries_dir} ./gen_contents_index %changelog +* Thu Mar 02 2023 David Abdurachmanov - 9.2.6-129.0.riscv64 +- Disable ld.gold on riscv64 (not supported) + * Fri Feb 17 2023 Jens Petersen - 9.2.6-129 - upstream patch to enable SMP rts for ppc64le