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:
parent
b5d643a65e
commit
4cfd88badd
7
ghc.spec
7
ghc.spec
@ -88,7 +88,7 @@ Version: 9.2.6
|
|||||||
# - release can only be reset if *all* library versions get bumped simultaneously
|
# - release can only be reset if *all* library versions get bumped simultaneously
|
||||||
# (sometimes after a major release)
|
# (sometimes after a major release)
|
||||||
# - minor release numbers for a branch should be incremented monotonically
|
# - minor release numbers for a branch should be incremented monotonically
|
||||||
Release: 129%{?dist}
|
Release: 129.0.riscv64%{?dist}
|
||||||
Summary: Glasgow Haskell Compiler
|
Summary: Glasgow Haskell Compiler
|
||||||
|
|
||||||
License: BSD and HaskellReport
|
License: BSD and HaskellReport
|
||||||
@ -526,7 +526,9 @@ export CC=%{_bindir}/gcc
|
|||||||
# /usr/bin/debugedit: Cannot handle 8-byte build ID
|
# /usr/bin/debugedit: Cannot handle 8-byte build ID
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2116508
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2116508
|
||||||
# https://gitlab.haskell.org/ghc/ghc/-/issues/22195
|
# https://gitlab.haskell.org/ghc/ghc/-/issues/22195
|
||||||
|
%ifnarch riscv64
|
||||||
export LD=%{_bindir}/ld.gold
|
export LD=%{_bindir}/ld.gold
|
||||||
|
%endif
|
||||||
|
|
||||||
# * %%configure induces cross-build due to different target/host/build platform names
|
# * %%configure induces cross-build due to different target/host/build platform names
|
||||||
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
|
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
|
||||||
@ -998,6 +1000,9 @@ env -C %{ghc_html_libraries_dir} ./gen_contents_index
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 17 2023 Jens Petersen <petersen@redhat.com> - 9.2.6-129
|
||||||
- upstream patch to enable SMP rts for ppc64le
|
- upstream patch to enable SMP rts for ppc64le
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user