Hello community, here is the log from the commit of package xen for openSUSE:Factory checked in at 2020-03-14 09:53:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xen (Old) and /work/SRC/openSUSE:Factory/.xen.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xen" Sat Mar 14 09:53:55 2020 rev:281 rq:783535 version:4.13.0_10 Changes: -------- --- /work/SRC/openSUSE:Factory/xen/xen.changes 2020-02-25 16:03:08.124206851 +0100 +++ /work/SRC/openSUSE:Factory/.xen.new.3160/xen.changes 2020-03-14 09:53:56.467048508 +0100 @@ -1,0 +2,14 @@ +Tue Mar 10 07:41:34 MDT 2020 - [email protected] + +- bsc#1158414 - GCC 10: xen build fails + gcc10-fixes.patch + +------------------------------------------------------------------- +Wed Mar 4 13:28:17 MST 2020 - [email protected] + +- bsc#1165206 - Xen 4.12 DomU hang / freeze / stall / NMI watchdog + bug soft lockup CPU #0 stuck under high load / upstream with + workaround. See also bsc#1134506 + default-to-credit1-scheduler.patch + +------------------------------------------------------------------- New: ---- default-to-credit1-scheduler.patch gcc10-fixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xen.spec ++++++ --- /var/tmp/diff_new_pack.0qadtc/_old 2020-03-14 09:53:58.475049982 +0100 +++ /var/tmp/diff_new_pack.0qadtc/_new 2020-03-14 09:53:58.479049985 +0100 @@ -127,7 +127,7 @@ BuildRequires: pesign-obs-integration %endif -Version: 4.13.0_08 +Version: 4.13.0_10 Release: 0 Summary: Xen Virtualization: Hypervisor (aka VMM aka Microkernel) License: GPL-2.0-only @@ -194,10 +194,12 @@ Patch407: replace-obsolete-network-configuration-commands-in-s.patch Patch408: disable-building-pv-shim.patch Patch409: xenstore-launch.patch +Patch410: default-to-credit1-scheduler.patch # Needs to go upstream Patch420: suspend_evtchn_lock.patch Patch422: stubdom-have-iovec.patch Patch423: vif-route.patch +Patch424: gcc10-fixes.patch # Other bug fixes or features Patch451: xenconsole-no-multiple-connections.patch Patch452: hibernate.patch @@ -435,10 +437,12 @@ %patch407 -p1 %patch408 -p1 %patch409 -p1 +%patch410 -p1 # Needs to go upstream %patch420 -p1 %patch422 -p1 %patch423 -p1 +%patch424 -p1 # Other bug fixes or features %patch451 -p1 %patch452 -p1 ++++++ default-to-credit1-scheduler.patch ++++++ References: bsc#1165206, bsc#1134506 Switch the default scheduler back to the original credit scheduler. This action reverses the commit referenced below. From: George Dunlap [email protected] Mon Oct 29 14:51:51 2018 +0000 Subject: Make credit2 the default scheduler Date: Mon Oct 29 14:58:34 2018 +0000: Git: dafd936dddbd7978d4131275ad1112f64457bf64 --- xen-4.13.0-testing.orig/xen/common/Kconfig +++ xen-4.13.0-testing/xen/common/Kconfig @@ -319,7 +319,7 @@ config SCHED_NULL choice prompt "Default Scheduler?" - default SCHED_CREDIT2_DEFAULT + default SCHED_CREDIT_DEFAULT config SCHED_CREDIT_DEFAULT bool "Credit Scheduler" if SCHED_CREDIT @@ -340,7 +340,7 @@ config SCHED_DEFAULT default "rtds" if SCHED_RTDS_DEFAULT default "arinc653" if SCHED_ARINC653_DEFAULT default "null" if SCHED_NULL_DEFAULT - default "credit2" + default "credit" endmenu ++++++ gcc10-fixes.patch ++++++ References: bsc#1158414 For libxlu_pci.c libxlu_pci.c: In function 'xlu_pci_parse_bdf': libxlu_pci.c:32:18: error: 'func' may be used uninitialized in this function [-Werror=maybe-uninitialized] 32 | pcidev->func = func; | ~~~~~~~~~~~~~^~~~~~ libxlu_pci.c:51:29: note: 'func' was declared here 51 | unsigned dom, bus, dev, func, vslot = 0; | ^~~~ libxlu_pci.c:31:17: error: 'dev' may be used uninitialized in this function [-Werror=maybe-uninitialized] 31 | pcidev->dev = dev; | ~~~~~~~~~~~~^~~~~ libxlu_pci.c:51:24: note: 'dev' was declared here 51 | unsigned dom, bus, dev, func, vslot = 0; | ^~~ libxlu_pci.c:30:17: error: 'bus' may be used uninitialized in this function [-Werror=maybe-uninitialized] 30 | pcidev->bus = bus; | ~~~~~~~~~~~~^~~~~ libxlu_pci.c:51:19: note: 'bus' was declared here 51 | unsigned dom, bus, dev, func, vslot = 0; | ^~~ libxlu_pci.c:29:20: error: 'dom' may be used uninitialized in this function [-Werror=maybe-uninitialized] 29 | pcidev->domain = domain; | ~~~~~~~~~~~~~~~^~~~~~~~ libxlu_pci.c:51:14: note: 'dom' was declared here 51 | unsigned dom, bus, dev, func, vslot = 0; | ^~~ For kdd.c kdd.c: In function 'kdd_tx': kdd.c:408:30: error: array subscript 65534 is outside the bounds of an interior zero-length array 'uint8_t[0]' {aka 'unsigned char[0]'} [-Werror=zero-length-bounds] 408 | sum += s->txp.payload[i]; | ~~~~~~~~~~~~~~^~~ In file included from kdd.c:52: kdd.h:326:17: note: while referencing 'payload' 326 | uint8_t payload[0]; | ^~~~~~~ cc1: all warnings being treated as errors For ssl_tls.c ssl_tls.c: In function 'ssl_session_reset': ssl_tls.c:1778:5: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 1778 | memset( ssl->ctx_enc, 0, 128 ); | ^~~~~~ ssl_tls.c:1779:5: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 1779 | memset( ssl->ctx_dec, 0, 128 ); | ^~~~~~ ssl_tls.c: In function 'ssl_encrypt_buf': ssl_tls.c:633:68: warning: this statement may fall through [-Wimplicit-fallthrough=] 633 | ssl->session->ciphersuite == SSL_RSA_CAMELLIA_256_SHA || ssl_tls.c:643:13: note: here 643 | default: | ^~~~~~~ ssl_tls.c: In function 'ssl_decrypt_buf': ssl_tls.c:738:68: warning: this statement may fall through [-Wimplicit-fallthrough=] 738 | ssl->session->ciphersuite == SSL_RSA_CAMELLIA_256_SHA || ssl_tls.c:748:13: note: here 748 | default: | ^~~~~~~ For xenstored_core.h ld: /home/abuild/rpmbuild/BUILD/xen-4.13.0-testing/stubdom/xenstore/xenstored.a(xenstored_watch.o):/home/abuild/rpmbuild/BUILD/xen-4.13.0-testing/stubdom/xenstore/xenstored_core.h:207: multiple definition of `xgt_handle'; /home/abuild/rpmbuild/BUILD/xen-4.13.0-testing/stubdom/xenstore/xenstored.a(xenstored_core.o):/home/abuild/rpmbuild/BUILD/xen-4.13.0-testing/stubdom/xenstore/xenstored_core.h:207: first defined here For utils.h ld: /home/abuild/rpmbuild/BUILD/xen-4.13.0-testing/stubdom/xenstore/xenstored.a(xenstored_watch.o):/home/abuild/rpmbuild/BUILD/xen-4.13.0-testing/stubdom/xenstore/utils.h:27: multiple definition of `xprintf'; /home/abuild/rpmbuild/BUILD/xen-4.13.0-testing/stubdom/xenstore/xenstored.a(xenstored_core.o):/home/abuild/rpmbuild/BUILD/xen-4.13.0-testing/stubdom/xenstore/utils.h:27: first defined here for libxl_utils.h specified bound 108 equals destination size [-Werror=stringop-truncation] Index: xen-4.13.0-testing/tools/libxl/libxlu_pci.c =================================================================== --- xen-4.13.0-testing.orig/tools/libxl/libxlu_pci.c +++ xen-4.13.0-testing/tools/libxl/libxlu_pci.c @@ -22,6 +22,9 @@ static int hex_convert(const char *str, return 0; } +#if __GNUC__ >= 10 +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" +#endif static int pcidev_struct_fill(libxl_device_pci *pcidev, unsigned int domain, unsigned int bus, unsigned int dev, unsigned int func, unsigned int vdevfn) Index: xen-4.13.0-testing/tools/debugger/kdd/kdd.c =================================================================== --- xen-4.13.0-testing.orig/tools/debugger/kdd/kdd.c +++ xen-4.13.0-testing/tools/debugger/kdd/kdd.c @@ -396,6 +396,9 @@ static void find_os(kdd_state *s) */ +#if __GNUC__ >= 10 +#pragma GCC diagnostic ignored "-Wzero-length-bounds" +#endif /* Send a serial packet */ static void kdd_tx(kdd_state *s) { Index: xen-4.13.0-testing/stubdom/polarssl.patch =================================================================== --- xen-4.13.0-testing.orig/stubdom/polarssl.patch +++ xen-4.13.0-testing/stubdom/polarssl.patch @@ -62,3 +62,25 @@ diff -Naur polarssl-1.1.4/library/bignum t_udbl r; r = (t_udbl) X.p[i] << biL; +--- polarssl-1.1.4/library/ssl_tls.c.orig 2012-05-30 01:39:36.000000000 -0600 ++++ polarssl-1.1.4/library/ssl_tls.c 2020-03-10 10:17:26.270755351 -0600 +@@ -487,6 +487,9 @@ static void ssl_mac_sha1( unsigned char + sha1_finish( &sha1, buf + len ); + } + ++#if __GNUC__ >= 10 ++#pragma GCC diagnostic ignored "-Wimplicit-fallthrough=" ++#endif + /* + * Encryption/decryption functions + */ +@@ -1739,6 +1742,9 @@ int ssl_init( ssl_context *ssl ) + return( 0 ); + } + ++#if __GNUC__ >= 10 ++#pragma GCC diagnostic ignored "-Wmemset-elt-size" ++#endif + /* + * Reset an initialized and used SSL context for re-use while retaining + * all application-set variables, function pointers and data. Index: xen-4.13.0-testing/tools/xenstore/xenstored_core.h =================================================================== --- xen-4.13.0-testing.orig/tools/xenstore/xenstored_core.h +++ xen-4.13.0-testing/tools/xenstore/xenstored_core.h @@ -204,7 +204,11 @@ void finish_daemonize(void); /* Open a pipe for signal handling */ void init_pipe(int reopen_log_pipe[2]); +#if __GNUC__ >= 10 +extern xengnttab_handle **xgt_handle; +#else xengnttab_handle **xgt_handle; +#endif int remember_string(struct hashtable *hash, const char *str); Index: xen-4.13.0-testing/tools/xenstore/utils.h =================================================================== --- xen-4.13.0-testing.orig/tools/xenstore/utils.h +++ xen-4.13.0-testing/tools/xenstore/utils.h @@ -24,7 +24,11 @@ static inline bool strends(const char *a void barf(const char *fmt, ...) __attribute__((noreturn)); void barf_perror(const char *fmt, ...) __attribute__((noreturn)); +#if __GNUC__ >= 10 +extern void (*xprintf)(const char *fmt, ...); +#else void (*xprintf)(const char *fmt, ...); +#endif #define eprintf(_fmt, _args...) xprintf("[ERR] %s" _fmt, __FUNCTION__, ##_args) Index: xen-4.13.0-testing/tools/libxl/libxl_utils.c =================================================================== --- xen-4.13.0-testing.orig/tools/libxl/libxl_utils.c +++ xen-4.13.0-testing/tools/libxl/libxl_utils.c @@ -1248,6 +1248,9 @@ int libxl__random_bytes(libxl__gc *gc, u return ret; } +#if __GNUC__ >= 10 +#pragma GCC diagnostic ignored "-Wstringop-truncation" +#endif int libxl__prepare_sockaddr_un(libxl__gc *gc, struct sockaddr_un *un, const char *path, const char *what)
