Add LLD (ld.lld) for riscv64

See:
72fae63199

We currently get:
[..]
clang: error: invalid linker name in argument '-fuse-ld=lld'
[..]

while compiling sefltests on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-04-26 08:36:57 +03:00
parent 28687bfd05
commit 45c0685ba3
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 5 additions and 2 deletions

View File

@ -169,7 +169,7 @@ Summary: The Linux kernel
# This is needed to do merge window version magic
%define patchlevel 8
# This allows pkg_release to have configurable %%{?dist} tag
%define specrelease 300%{?buildid}.3.riscv64%{?dist}
%define specrelease 300%{?buildid}.4.riscv64%{?dist}
# This defines the kabi tarball version
%define kabiversion 6.8.7
@ -720,7 +720,7 @@ BuildRequires: zlib-devel binutils-devel
%endif
%if %{with_selftests}
BuildRequires: clang llvm-devel fuse-devel
%ifarch x86_64
%ifarch x86_64 riscv64
BuildRequires: lld
%endif
BuildRequires: libcap-devel libcap-ng-devel rsync libmnl-devel
@ -3972,6 +3972,9 @@ fi\
#
#
%changelog
* Fri Apr 26 2024 David Abdurachmanov <davidlt@rivosinc.com> [6.8.7-0.4.riscv64]
- Add LLD (ld.lld) for riscv64
* Thu Apr 25 2024 David Abdurachmanov <davidlt@rivosinc.com> [6.8.7-0.3.riscv64]
- Update riscv64 configuration (StarFive VF2)