Compare commits
84 Commits
master
...
f37-riscv6
Author | SHA1 | Date | |
---|---|---|---|
093b073e89 | |||
309c2ce567 | |||
|
aaed945b61 | ||
|
83def04a25 | ||
|
535bbcdd91 | ||
|
417e4c9cf7 | ||
|
24d349fa37 | ||
|
9f3b22fec4 | ||
|
7285a57f5c | ||
|
9944fa190c | ||
|
1a44dca7d4 | ||
|
0c2262d602 | ||
|
da598118cf | ||
|
da34e517db | ||
|
7b17ccd035 | ||
|
908a2f2a46 | ||
|
acf19787de | ||
|
c269619b9a | ||
|
3f6336f446 | ||
|
a552a10ec8 | ||
|
bfb8157052 | ||
|
edb5200d83 | ||
|
fe3f90dedd | ||
|
437df85540 | ||
|
2d6cbe6672 | ||
|
97a323d7c2 | ||
|
cb839d3dfc | ||
|
dc6b512f3c | ||
|
ac122f4525 | ||
|
7744acbb6b | ||
|
3807f07c15 | ||
|
e484fdc92b | ||
|
6752fe8c9e | ||
|
15f52369ae | ||
|
65a0e26138 | ||
|
497e096592 | ||
|
03a98aaf59 | ||
|
5845f1efec | ||
|
a8d01eb9d7 | ||
|
6d76ba5956 | ||
|
a11202d9e2 | ||
|
bbfa59c8da | ||
|
b97ad8956c | ||
|
f9639a0012 | ||
|
c71e60c76c | ||
|
9764121247 | ||
|
a18ed3c492 | ||
|
9e2eeb32e3 | ||
|
8bf91f5d22 | ||
|
91d8eff569 | ||
|
a761ea338f | ||
|
7eef88add4 | ||
|
0c88a64234 | ||
|
c2f3be1f4d | ||
|
18b1c9d77e | ||
|
4528832026 | ||
|
037cd36ba2 | ||
|
b94fb6a393 | ||
|
b0c05ac2ae | ||
|
15c305caf3 | ||
|
bc1b3e59a7 | ||
|
3c4492c415 | ||
|
fecc0295a2 | ||
|
325dc837c6 | ||
|
5a45cb7f0d | ||
|
21269530e8 | ||
|
fc18e983e7 | ||
|
4a7cc743a9 | ||
|
4398397311 | ||
|
401f9087bc | ||
|
dd3698988e | ||
|
3df49002c2 | ||
|
1bf0aedb9f | ||
|
79accd5a6e | ||
|
422d548fce | ||
|
20ec6e955c | ||
|
406a235cbc | ||
|
4d15e56a38 | ||
|
8693111790 | ||
|
8461a521f2 | ||
|
511e2c5124 | ||
|
749dc3d3cb | ||
|
73c9e38f2c | ||
|
afe8184d3f |
31
.abignore
Normal file
31
.abignore
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
[suppress_function]
|
||||||
|
symbol_version_regexp = LIBVIRT_PRIVATE.*
|
||||||
|
soname_regexp = libvirt\\.so.*
|
||||||
|
|
||||||
|
[suppress_function]
|
||||||
|
symbol_version_regexp = LIBVIRT_ADMIN_PRIVATE.*
|
||||||
|
soname_regexp = libvirt-admin\\.so.*
|
||||||
|
|
||||||
|
[suppress_variable]
|
||||||
|
symbol_version_regexp = LIBVIRT_PRIVATE.*
|
||||||
|
soname_regexp = libvirt\\.so.*
|
||||||
|
|
||||||
|
[suppress_variable]
|
||||||
|
symbol_version_regexp = LIBVIRT_ADMIN_PRIVATE.*
|
||||||
|
soname_regexp = libvirt-admin\\.so.*
|
||||||
|
|
||||||
|
[suppress_function]
|
||||||
|
symbol_version_regexp = .*
|
||||||
|
soname_regexp = libvirt_storage_.*\\.so.*
|
||||||
|
|
||||||
|
[suppress_variable]
|
||||||
|
symbol_version_regexp = .*
|
||||||
|
soname_regexp = libvirt_storage_.*\\.so.*
|
||||||
|
|
||||||
|
[suppress_function]
|
||||||
|
symbol_version_regexp = .*
|
||||||
|
soname_regexp = libvirt_driver_.*\\.so.*
|
||||||
|
|
||||||
|
[suppress_variable]
|
||||||
|
symbol_version_regexp = .*
|
||||||
|
soname_regexp = libvirt_driver_.*\\.so.*
|
35
0001-lxc-containter-fix-build-with-glibc-2.36.patch
Normal file
35
0001-lxc-containter-fix-build-with-glibc-2.36.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From 9493c9b79dc541ec9e0fd73c6d87bdf8d30aaa90 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Cole Robinson <crobinso@redhat.com>
|
||||||
|
Date: Mon, 1 Aug 2022 15:20:38 -0400
|
||||||
|
Subject: [PATCH] lxc: containter: fix build with glibc 2.36
|
||||||
|
Content-type: text/plain
|
||||||
|
|
||||||
|
With glibc 2.36, sys/mount.h and linux/mount.h conflict:
|
||||||
|
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
|
||||||
|
|
||||||
|
lxc_container.c imports sys/mount.h and linux/fs.h, which pulls in
|
||||||
|
linux/mount.h.
|
||||||
|
|
||||||
|
linux/fs.h isn't required here though. glibc sys/mount.h has had
|
||||||
|
MS_MOVE since 2.12 in 2010
|
||||||
|
|
||||||
|
Reviewed-by: Erik Skultety <eskultet@redhat.com>
|
||||||
|
Signed-off-by: Cole Robinson <crobinso@redhat.com>
|
||||||
|
---
|
||||||
|
src/lxc/lxc_container.c | 3 ---
|
||||||
|
1 file changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c
|
||||||
|
index b5278831da..a5401c2186 100644
|
||||||
|
--- a/src/lxc/lxc_container.c
|
||||||
|
+++ b/src/lxc/lxc_container.c
|
||||||
|
@@ -33,9 +33,6 @@
|
||||||
|
/* Yes, we want linux private one, for _syscall2() macro */
|
||||||
|
#include <linux/unistd.h>
|
||||||
|
|
||||||
|
-/* For MS_MOVE */
|
||||||
|
-#include <linux/fs.h>
|
||||||
|
-
|
||||||
|
#if WITH_CAPNG
|
||||||
|
# include <cap-ng.h>
|
||||||
|
#endif
|
40
0002-virfile-Fix-build-with-glibc-2.36.patch
Normal file
40
0002-virfile-Fix-build-with-glibc-2.36.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
From c0d9adf220dc0d223330a7bac37b174132d330ba Mon Sep 17 00:00:00 2001
|
||||||
|
From: Cole Robinson <crobinso@redhat.com>
|
||||||
|
Date: Mon, 1 Aug 2022 15:24:01 -0400
|
||||||
|
Subject: [PATCH] virfile: Fix build with glibc 2.36
|
||||||
|
Content-type: text/plain
|
||||||
|
|
||||||
|
With glibc 2.36, sys/mount.h and linux/mount.h conflict:
|
||||||
|
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
|
||||||
|
|
||||||
|
virfile.c imports sys/mount.h and linux/fs.h, which pulls in
|
||||||
|
linux/mount.h.
|
||||||
|
|
||||||
|
Manually define the constants we need from linux/fs.h, like was
|
||||||
|
done in llvm:
|
||||||
|
|
||||||
|
https://reviews.llvm.org/rGb379129c4beb3f26223288627a1291739f33af02
|
||||||
|
|
||||||
|
Reviewed-by: Erik Skultety <eskultet@redhat.com>
|
||||||
|
Signed-off-by: Cole Robinson <crobinso@redhat.com>
|
||||||
|
---
|
||||||
|
src/util/virfile.c | 6 +++++-
|
||||||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/util/virfile.c b/src/util/virfile.c
|
||||||
|
index 99da058db3..ce541b8946 100644
|
||||||
|
--- a/src/util/virfile.c
|
||||||
|
+++ b/src/util/virfile.c
|
||||||
|
@@ -71,7 +71,11 @@
|
||||||
|
# endif
|
||||||
|
# include <sys/ioctl.h>
|
||||||
|
# include <linux/cdrom.h>
|
||||||
|
-# include <linux/fs.h>
|
||||||
|
+/* These come from linux/fs.h, but that header conflicts with
|
||||||
|
+ * sys/mount.h on glibc 2.36+ */
|
||||||
|
+# define FS_IOC_GETFLAGS _IOR('f', 1, long)
|
||||||
|
+# define FS_IOC_SETFLAGS _IOW('f', 2, long)
|
||||||
|
+# define FS_NOCOW_FL 0x00800000
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if WITH_LIBATTR
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: libvirt
|
|
||||||
# $Id$
|
|
||||||
NAME := libvirt
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attempt a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
1750
libvirt.spec
1750
libvirt.spec
File diff suppressed because it is too large
Load Diff
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libvirt-5.6.0.tar.xz) = 95fe931394fb31288faf73349bb298f08f63cf062f851b9935303145f8166f69128be9360757f0e1845256c14f4d7672843dba0dc6c086b1c3c8bfc035cc8986
|
SHA512 (libvirt-8.6.0.tar.xz) = 6198ac33ea718045bfd12a2740d5a7fa70c754b1ecda7c0cad5791fbdf7311091587056254fde88ebe3c2f927a8fb56909fe4c3a115595854b18d3a704db73de
|
||||||
|
Loading…
Reference in New Issue
Block a user