Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
1176069249
commit
36f58822fe
14
qemu.spec
14
qemu.spec
@ -322,7 +322,7 @@ Obsoletes: %{name}-system-unicore32-core <= %{epoch}:%{version}-%{release}
|
||||
Summary: QEMU is a FAST! processor emulator
|
||||
Name: qemu
|
||||
Version: 7.0.0
|
||||
Release: %{baserelease}%{?rcrel}%{?dist}
|
||||
Release: %{baserelease}%{?rcrel}.0.riscv64%{?dist}
|
||||
Epoch: 2
|
||||
License: GPLv2 and BSD and MIT and CC-BY
|
||||
URL: http://www.qemu.org/
|
||||
@ -511,6 +511,10 @@ BuildRequires: SDL2_image-devel
|
||||
|
||||
%if %{user_static}
|
||||
BuildRequires: glibc-static pcre2-static glib2-static zlib-static
|
||||
# if -pthread is used GCC SPEC will add --as-needed -latomic --no-as-needed for linker
|
||||
%ifarch riscv64
|
||||
BuildRequires: libatomic-static
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Requires for the Fedora 'qemu' metapackage
|
||||
@ -1971,7 +1975,8 @@ rm -rf %{static_buildroot}
|
||||
pushd %{qemu_kvm_build}
|
||||
echo "Testing %{name}-build"
|
||||
# 2022-06: ppc64le random qtest segfaults with no discernable pattern
|
||||
%ifnarch %{power64}
|
||||
# 2022-10: some arches (2) hang in endless loops in qtests on riscv64
|
||||
%ifnarch %{power64} riscv64
|
||||
%make_build check
|
||||
%endif
|
||||
|
||||
@ -2477,8 +2482,8 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
||||
%{_bindir}/qemu-riscv64-static
|
||||
%{_datadir}/systemtap/tapset/qemu-riscv32-static.stp
|
||||
%{_datadir}/systemtap/tapset/qemu-riscv64-static.stp
|
||||
%{_exec_prefix}/lib/binfmt.d/qemu-riscv32-static.conf
|
||||
%ifnarch riscv64
|
||||
%{_exec_prefix}/lib/binfmt.d/qemu-riscv32-static.conf
|
||||
%{_exec_prefix}/lib/binfmt.d/qemu-riscv64-static.conf
|
||||
%endif
|
||||
|
||||
@ -2724,6 +2729,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Nov 08 2022 David Abdurachmanov <davidlt@rivosinc.com> - 2:7.0.0-10.0.riscv64
|
||||
- Add support for riscv64
|
||||
|
||||
* Tue Oct 18 2022 Mauro Matteo Cascella <mcascell@redhat.com> - 2:7.0.0-10
|
||||
- vga: avoid crash if no default vga card (rhbz#2095639)
|
||||
- lsi53c895a: fix use-after-free in lsi_do_msgout (CVE-2022-0216) (rhbz#2070902)
|
||||
|
Loading…
Reference in New Issue
Block a user