Hello community, here is the log from the commit of package xen for openSUSE:Factory checked in at 2018-06-08 23:08:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xen (Old) and /work/SRC/openSUSE:Factory/.xen.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xen" Fri Jun 8 23:08:33 2018 rev:249 rq:613995 version:4.10.1_02 Changes: -------- --- /work/SRC/openSUSE:Factory/xen/xen.changes 2018-05-25 21:36:12.634366084 +0200 +++ /work/SRC/openSUSE:Factory/.xen.new/xen.changes 2018-06-08 23:08:45.490595786 +0200 @@ -1,0 +2,6 @@ +Fri Jun 1 10:27:44 MDT 2018 - carn...@suse.com + +- bsc#1092543 - GCC 8: xen build fails + gcc8-fix-warning-on-i586.patch + +------------------------------------------------------------------- New: ---- gcc8-fix-warning-on-i586.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xen.spec ++++++ --- /var/tmp/diff_new_pack.rjpk1P/_old 2018-06-08 23:08:48.338492972 +0200 +++ /var/tmp/diff_new_pack.rjpk1P/_new 2018-06-08 23:08:48.374491672 +0200 @@ -129,7 +129,7 @@ Version: 4.10.1_02 Release: 0 Summary: Xen Virtualization: Hypervisor (aka VMM aka Microkernel) -License: GPL-2.0 +License: GPL-2.0-only Group: System/Kernel Source0: xen-4.10.1-testing-src.tar.bz2 Source1: stubdom.tar.bz2 @@ -231,6 +231,7 @@ Patch422: stubdom-have-iovec.patch Patch423: vif-route.patch Patch424: gcc8-inlining-failed.patch +Patch425: gcc8-fix-warning-on-i586.patch # Other bug fixes or features Patch451: xenconsole-no-multiple-connections.patch Patch452: hibernate.patch @@ -480,6 +481,7 @@ %patch422 -p1 %patch423 -p1 %patch424 -p1 +%patch425 -p1 # Other bug fixes or features %patch451 -p1 %patch452 -p1 ++++++ gcc8-fix-warning-on-i586.patch ++++++ >From bc2c1eab55a34acc054ec6dbeb0184a599323478 Mon Sep 17 00:00:00 2001 From: marxin <mli...@suse.cz> Date: Fri, 1 Jun 2018 13:29:59 +0200 Subject: [PATCH] Fix GCC 8 warning on i586: xenpmd.c: In function 'write_battery_info_to_xenstore': xenpmd.c:354:23: error: '%02x' directive output may be truncated writing between 2 and 8 bytes into a region of size 3 [-Werror=format-truncation=] snprintf(val, 3, "%02x", ^~~~ xenpmd.c:354:22: note: directive argument in the range [40, 2147483778] snprintf(val, 3, "%02x", ^~~~~~ In file included from /usr/include/stdio.h:862, from xenpmd.c:35: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 9 bytes into a destination of size 3 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- tools/xenpmd/xenpmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenpmd/xenpmd.c b/tools/xenpmd/xenpmd.c index 56412a9a81..e49de1aee6 100644 --- a/tools/xenpmd/xenpmd.c +++ b/tools/xenpmd/xenpmd.c @@ -356,7 +356,7 @@ void write_battery_info_to_xenstore(struct battery_info *info) strlen(info->model_number) + strlen(info->serial_number) + strlen(info->battery_type) + - strlen(info->oem_info) + 4)); + strlen(info->oem_info) + 4) & 0xff); write_ulong_lsb_first(val+2, info->present); write_ulong_lsb_first(val+10, info->design_capacity); write_ulong_lsb_first(val+18, info->last_full_capacity); -- 2.17.0