Disable ld.gold on riscv64

ld.gold was never ported to riscv64.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-02 10:21:24 +02:00
parent b5d643a65e
commit 4cfd88badd
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -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 <davidlt@rivosinc.com> - 9.2.6-129.0.riscv64
- Disable ld.gold on riscv64 (not supported)
* Fri Feb 17 2023 Jens Petersen <petersen@redhat.com> - 9.2.6-129
- upstream patch to enable SMP rts for ppc64le