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

Re: xen | Failed pipeline for staging-4.15 | 3a9a2901


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 21 Sep 2023 12:50:23 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=m9//nNcEyIV5V/9QhjJUDXIQZ6/tFiuR7aZn8iLv/CU=; b=HF9evIYgPyG30Pu0zdSkdVNhgX5YleMwtW8ijCdtIMjSFnO7pTjECchXoyOPkxNcSgTp/xBs3EkaOXkBk6NgUY7elrRrDB7Zj+/6nzha4s40ibWkPVfYU/2G7/luw7kUTprvbJTY5IdwX7JS3YEOI4+vTv8utPwnGkkj+PLRrG+nsaWcyt3AMpCDsCuJoKu4a4/IVUyn+ci4/cmbxrTjm42mYTu0bqxYhRi1ijMeYpX+q31w4flRdCAZrh3lvibq2PDXtGY2YT8ESFyUPTB4O9dvd0f4Nst/Nl2xajwuN9AexVI5e8UeAcIAJJ3YHsoX8N7gVqzNbYVJEiiGhMZfag==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VR8eGh7PCAzCShlpSc1Ve6MlX9wfmv/Ba/0qMzdEnrSgDYE6hSbCMQAfijGje27K79rjp9cQoivn5SYHFb4qVIM8b9jQF+NMNjWhBd+P065CYcothAEQGPQCkegLswqIHFoPBJn4HvoBXI0SaH1D6RGmiMJjZEFi4W98w3vCIIElvUsSgwTEl+u5mJ34fbxSqK6bsbHd4h8uLcVWBEp/K+iZk1PFdwF6YK5M3HgQ4AexpsPqRL/T96UJdY4P2Je46sluCpVimBSSUP7gLnRGstfr85LtbH/0aazoOKzTO/zSxt8slN0r9TdBSnbCamzg0SXNPTKWTKZ4DolH3My+QA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 21 Sep 2023 10:50:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 21.09.2023 10:30, Andrew Cooper wrote:
> On 21/09/2023 8:08 am, Jan Beulich wrote:
>> On 20.09.2023 12:50, GitLab wrote:
>>> Job #5127621916 ( https://gitlab.com/xen-project/xen/-/jobs/5127621916/raw )
>>>
>>> Stage: build
>>> Name: debian-stretch-gcc
>> This one failed with
>>
>> In file included from 
>> /builds/xen-project/xen/tools/qemu-xen-dir/include/qemu/timer.h:4:0,
>>                  from 
>> /builds/xen-project/xen/tools/qemu-xen-dir/include/qemu/timed-average.h:29,
>>                  from 
>> /builds/xen-project/xen/tools/qemu-xen-dir/include/block/accounting.h:28,
>>                  from 
>> /builds/xen-project/xen/tools/qemu-xen-dir/include/block/block_int.h:27,
>>                  from 
>> /builds/xen-project/xen/tools/qemu-xen-dir/block/file-posix.c:30:
>> /usr/include/linux/swab.h: In function '__swab':
>> /builds/xen-project/xen/tools/qemu-xen-dir/include/qemu/bitops.h:20:34: 
>> error: "sizeof" is not defined [-Werror=undef]
>>  #define BITS_PER_LONG           (sizeof (unsigned long) * BITS_PER_BYTE)
>>                                   ^
>> /builds/xen-project/xen/tools/qemu-xen-dir/include/qemu/bitops.h:20:41: 
>> error: missing binary operator before token "("
>>  #define BITS_PER_LONG           (sizeof (unsigned long) * BITS_PER_BYTE)
>>                                          ^
>> cc1: all warnings being treated as errors
>>
>> What? How can "sizeof" no be "defined"?
> 
> Because the expression is
> 
> #if (sizeof (unsigned long) * BITS_PER_BYTE) = 64
> 
> combined with -Werror=undef saying that it can't figure out out what
> sizeof is supposed to be here as a preprocessor token.

I still don't get it, I'm afraid. Qemu only #define-s BITS_PER_LONG this
way, while __BITS_PER_LONG is a plain constant. Yet it's the latter that
Linux'es swab.h uses in the #if (from its introduction in 5.6). Hence ...

> This needs a bump to qemu in order to fix, like we did on the newer
> branches.

... I can't see yet how doing so would help.

Jan



 


Rackspace

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