[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4.14.0 FTBFS for Debian unstable, libxlu_pci.c (?°□°)?? 擤ォ

  • To: Hans van Kranenburg <hans@xxxxxxxxxxx>
  • From: Michael Young <m.a.young@xxxxxxxxxxxx>
  • Date: Fri, 31 Jul 2020 09:43:25 +0100 (BST)
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=durham.ac.uk; dmarc=pass action=none header.from=durham.ac.uk; dkim=pass header.d=durham.ac.uk; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iLoaLEe6EYFmh7sY8j42lkXdpWwKkOT+yOFnO8lzP2Y=; b=FKVO2xndzcLPSLHi+JqtETX71wfgN9lRKd7GsYfNNIZSVsYuS55v08uF0R9PSsuJkeG8twURfYXobalGtjH+3c5lmzFnDDvl3gOym5YkDMOXUgyMszpiL84FImatTRZbyHaRU3fdkoKzrufDIopEwxiGs3qVI01qCYEdaME1M7cfRAHoy8xEf6bJQNLavE2YQYka8NihSFEUZZ1Yxxdg2GkzsEA7rA8M2Q/c9NYDkhqR1hl9lULK4Mi66o9DPLF4+XdbCWvK129S5nOQcNiSzy0b90IhM3JEyxyCL8EvdMDRGTPeR6biEq9KbNzrkU6unzIQgdMXTeZh1u5kq+x4Tg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=llZUv53o5b8jUJ0AmKPYkv+AJKoj4Ec40emHe+5s4EQLxX7Z2lLPoIfrbjZFdEhOs6K/NosTkNosH9cTS2bIJQyKhiPiGgK+JvsCGW2XvMv4iRg+DQRc9Z7o8Ke/ruf7jhaf0zooMZEhyfbuSJQhmkP0DUketsZZlupQJJpdTKXCk2ycVoro9SjZVgk7DwF1XQSJjQvctZVPWtWPbovHqSQa6HX3Xq/wdmG8OpqPlapOx9Fa1yF6rdadL/N3+xD/5voNUxQhKqCGnjtNiXfGmwuCal3BGNxCOPGJGR07WagIXYSPMxgvLQ85MT/owiDLpLTe23iBndyvMBbz6dd3Ig==
  • Authentication-results: knorrie.org; dkim=none (message not signed) header.d=none;knorrie.org; dmarc=none action=none header.from=durham.ac.uk;
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 31 Jul 2020 08:43:34 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Fri, 31 Jul 2020, Hans van Kranenburg wrote:


News from the Debian Xen team (well, that's still only Ian and me). We
still have Xen 4.11 in Debian unstable and stable (Buster) now, but at
this point I really want to start working on the preparations for the
next Debian release which will happen in about a little bit less than a
year from now.

So, the 4.14.0 release is a good moment to kick it off. In february 2020
Ian and I already spent a day to move the Debian packaging to 4.13, and
the result has been laying around for a bit. Now I'm forwarding it to
4.14.0 and I really want to get this in Debian so users can start
playing around with it and have enough time to either contribute new
things (like cross-building for raspberry pi4!) etc.

All the yolo WIP stuff without anything cleaned up is here:

Unfortunately, it FTBFS in an unexpected way, since I cannot relate this
to any of our additional patches or anything.

This is the last part of the output with the failure:

---- >8 ----

gcc  -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall
-Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -Werror -Wno-format-zero-length
-Wmissing-declarations -Wno-declaration-after-statement
-Wformat-nonliteral -I. -fPIC -pthread
-D__XEN_TOOLS__   -c -o libxlu_pci.o 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;
     |              ^~~

That looks like an issue I saw in Fedora which I associated to the update to gcc 10. It is one of the things I fixed (or at least worked around) in the patch here https://src.fedoraproject.org/rpms/xen/blob/master/f/xen.gcc10.fixes.patch

        Michael Young



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.