Hello community,

here is the log from the commit of package xen for openSUSE:Factory checked in 
at 2020-05-14 23:23:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xen (Old)
 and      /work/SRC/openSUSE:Factory/.xen.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xen"

Thu May 14 23:23:50 2020 rev:284 rq:805360 version:4.13.0_12

Changes:
--------
--- /work/SRC/openSUSE:Factory/xen/xen.changes  2020-04-18 00:27:37.169703076 
+0200
+++ /work/SRC/openSUSE:Factory/.xen.new.2738/xen.changes        2020-05-14 
23:23:55.080866217 +0200
@@ -1,0 +2,6 @@
+Wed May 13 09:56:49 MDT 2020 - [email protected]
+
+- bsc#1170968 - GCC 10: xen build fails on i586
+  gcc10-fixes.patch
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gcc10-fixes.patch ++++++
--- /var/tmp/diff_new_pack.ZIEYgB/_old  2020-05-14 23:23:56.752869866 +0200
+++ /var/tmp/diff_new_pack.ZIEYgB/_new  2020-05-14 23:23:56.756869874 +0200
@@ -73,6 +73,15 @@
 specified bound 108 equals destination size [-Werror=stringop-truncation]
 
 
+xenpmd.c: In function 'get_next_battery_file':
+xenpmd.c:92:37: error: '%s' directive output may be truncated writing between 
4 and 2147483645 bytes into a region of size 271 [-Werror=format-truncation=]
+   92 |     #define BATTERY_STATE_FILE_PATH "/tmp/battery/%s/state"
+      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
+xenpmd.c:117:52: note: in expansion of macro 'BATTERY_STATE_FILE_PATH'
+  117 |             snprintf(file_name, sizeof(file_name), 
BATTERY_STATE_FILE_PATH,
+      |                                                    
^~~~~~~~~~~~~~~~~~~~~~~
+
+
 Index: xen-4.13.0-testing/tools/libxl/libxlu_pci.c
 ===================================================================
 --- xen-4.13.0-testing.orig/tools/libxl/libxlu_pci.c
@@ -107,7 +116,7 @@
 +++ 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
@@ -177,3 +186,17 @@
  int libxl__prepare_sockaddr_un(libxl__gc *gc,
                                 struct sockaddr_un *un, const char *path,
                                 const char *what)
+Index: xen-4.13.0-testing/tools/xenpmd/xenpmd.c
+===================================================================
+--- xen-4.13.0-testing.orig/tools/xenpmd/xenpmd.c
++++ xen-4.13.0-testing/tools/xenpmd/xenpmd.c
+@@ -86,6 +86,9 @@ struct battery_status {
+ 
+ static struct xs_handle *xs;
+ 
++#if __GNUC__ >= 10
++#pragma GCC diagnostic ignored "-Wformat-truncation"
++#endif
+ #ifdef RUN_IN_SIMULATE_MODE
+     #define BATTERY_DIR_PATH "/tmp/battery"
+     #define BATTERY_INFO_FILE_PATH "/tmp/battery/%s/info" 


Reply via email to