Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xen for openSUSE:Factory checked in 
at 2023-03-02 23:02:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xen (Old)
 and      /work/SRC/openSUSE:Factory/.xen.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xen"

Thu Mar  2 23:02:53 2023 rev:328 rq:1068230 version:4.17.0_04

Changes:
--------
--- /work/SRC/openSUSE:Factory/xen/xen.changes  2023-02-19 18:18:44.289395707 
+0100
+++ /work/SRC/openSUSE:Factory/.xen.new.31432/xen.changes       2023-03-02 
23:03:15.903323840 +0100
@@ -1,0 +2,6 @@
+Tue Feb 28 08:56:55 MST 2023 - carn...@suse.com
+
+- bsc#1208736 - GCC 13: xen package fails
+  gcc13-fixes.patch
+
+-------------------------------------------------------------------

New:
----
  gcc13-fixes.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xen.spec ++++++
--- /var/tmp/diff_new_pack.d1G9L6/_old  2023-03-02 23:03:17.903352428 +0100
+++ /var/tmp/diff_new_pack.d1G9L6/_new  2023-03-02 23:03:17.907352485 +0100
@@ -207,6 +207,7 @@
 # Needs to go upstream
 Patch420:       suspend_evtchn_lock.patch
 Patch421:       vif-route.patch
+Patch422:       gcc13-fixes.patch
 # Other bug fixes or features
 Patch450:       xen.sysconfig-fillup.patch
 Patch451:       xenconsole-no-multiple-connections.patch

++++++ gcc13-fixes.patch ++++++
References: bsc#1208736

common/bunzip2.c: In function 'get_next_block':
common/bunzip2.c:261:41: error: 'length' may be used uninitialized 
[-Werror=maybe-uninitialized]
  261 |                 minLen = maxLen = length[0];
      |                                   ~~~~~~^~~
common/bunzip2.c:224:31: note: 'length' declared here
  224 |                 unsigned char length[MAX_SYMBOLS], 
temp[MAX_HUFCODE_BITS+1];
      |                               ^~~~~~


In function 'atomic_dec',
    inlined from 'vmx_vmexit_handler' at arch/x86/hvm/vmx/vmx.c:4069:13:
./arch/x86/include/asm/atomic.h:182:5: error: array subscript 0 is outside 
array bounds of 'int[0]' [-Werror=array-bounds=]
  182 |     asm volatile (
      |     ^~~
In function 'vmx_vmexit_handler':
cc1: note: source object is likely at address zero
In function 'atomic_dec',
    inlined from 'p2m_switch_vcpu_altp2m_by_id' at arch/x86/mm/p2m.c:1792:13:
./arch/x86/include/asm/atomic.h:182:5: error: array subscript 0 is outside 
array bounds of 'int[0]' [-Werror=array-bounds=]
  182 |     asm volatile (
      |     ^~~
In function 'p2m_switch_vcpu_altp2m_by_id':
cc1: note: source object is likely at address zero


--- xen-4.17.0-testing/xen/common/bunzip2.c.orig        2023-02-28 
08:51:03.301930999 -0700
+++ xen-4.17.0-testing/xen/common/bunzip2.c     2023-02-28 08:53:52.865925508 
-0700
@@ -142,6 +142,10 @@ static unsigned int __init get_bits(stru
        return bits;
 }
 
+#if __GNUC__ >= 13
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+#endif
+
 /* Unpacks the next block and sets up for the inverse burrows-wheeler step. */
 
 static int __init get_next_block(struct bunzip_data *bd)
--- xen-4.17.0-testing/xen/arch/x86/include/asm/atomic.h.orig   2023-02-28 
09:22:51.037869226 -0700
+++ xen-4.17.0-testing/xen/arch/x86/include/asm/atomic.h        2023-02-28 
09:23:26.261868085 -0700
@@ -177,6 +177,10 @@ static inline int atomic_inc_and_test(at
     return c;
 }
 
+#if __GNUC__ >= 12
+#pragma GCC diagnostic ignored "-Warray-bounds"
+#endif
+
 static inline void atomic_dec(atomic_t *v)
 {
     asm volatile (

Reply via email to