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

X86: build failure


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
  • Date: Wed, 17 Dec 2025 01:35:10 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=jQdTS6JMKkpn41Hf1ETPyl+Zj1/sWcgSUKk90kPBdU0=; b=vi4dSOSkdmANRz8lQjSE4KScJFKOcAE6he8AYQYqM6zoTrJku5mgTa4PlkaPd/U/NAd01fTM2szXrDEjENTceSafQCVFNlppTFglx8oan0euuxr4zEcAy4nsmvCDsif7OvQ1YQTgGoHuR6EdQpu1iuDuSmqtXdb+wzgvCwY4cTrHBdQg5VgSP+hfqE+91BlTqtcL1U0kTRgY+ZTJu823JRsEmUFzZbDt2GNK9D6cu6nwkPLP6adOdHPrulnNnlvRXbKmwjev7aNofnqXss1R3VyuRnGkh+MWBcBRNeNCGOvFY+bZDmW7DZSY3zWRuFkPnQZv86ob8xwgAGnZVnfUGA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cugX97zE6rqeh/eEdXtfwWaBFZm3aDDrJZkIWZhoVKcWtzlBcI+95PKGYnXfT+X/NgFL7Nhe5M6RPHXFqMlOHUwKwaN0FJ5TzSOtG29q9esph9woJDgPqDxfkRkfnke79jOZ8EsUEBlo3y4ujzWwY3pOoU4FtL/GEXf2yT7jMwzUrJ1wqYHp3/BBA4C0wbhO5m3kXK75iG8w9WtNI14IUSMC8Qi7bB9yShxebBIsyZjODX1mrC0/swpMbV2k5bH4nhW3IAdRDY/yHKz0pkGK7ltVeuRqYMB8LzYsDDv5Jzx8tdsP9nrvxlxf/1uyainQDYJ55as3YMl4x+y9qacU5w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Delivery-date: Tue, 16 Dec 2025 23:35:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi All,

I experience build failure with following Kconfig combination:
 CONFIG_DEBUG=n and CONFIG_XEN_IBT=n

with gcc:
 gcc --version
 gcc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0
 Copyright (C) 2021 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Is this known issue?

====== log ===============
  CC      arch/x86/x86_emulate.o
In file included from arch/x86/x86_emulate.c:27:
arch/x86/x86_emulate/x86_emulate.c: In function ‘x86_emulate’:
arch/x86/x86_emulate/x86_emulate.c:70:36: error: writing 1 byte into a region 
of size 0 [-Werror=stringop-overflow=]
   70 |     gcc11_wrap(ptr)[0 - PFX_BYTES] = ext < ext_8f08 ? 0xc4 : 0x8f; \
arch/x86/x86_emulate/x86_emulate.c:78:9: note: in expansion of macro ‘copy_VEX’
   78 |         copy_VEX(ptr, vex); \
      |         ^~~~~~~~
arch/x86/x86_emulate/x86_emulate.c:8140:13: note: in expansion of macro 
‘copy_REX_VEX’
 8140 |             copy_REX_VEX(opc, rex_prefix, vex);
      |             ^~~~~~~~~~~~
In file included from arch/x86/x86_emulate/x86_emulate.c:11,
                 from arch/x86/x86_emulate.c:27:
arch/x86/x86_emulate/private.h:691:17: note: at offset [0, 4095] into destination object of 
size [0, 9223372036854775807] allocated by ‘map_domain_page’
  691 |     (stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn))) + \
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/x86_emulate/x86_emulate.c:60:21: note: in expansion of macro ‘get_stub’
   60 |     uint8_t *buf_ = get_stub(stub); \
      |                     ^~~~~~~~
arch/x86/x86_emulate/x86_emulate.c:3354:15: note: in expansion of macro 
‘init_prefixes’
 3354 |         opc = init_prefixes(stub);
      |               ^~~~~~~~~~~~~
arch/x86/x86_emulate/private.h:691:17: note: at offset [1, 4096] into destination object of 
size [0, 9223372036854775807] allocated by ‘map_domain_page’
  691 |     (stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn))) + \
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/x86_emulate/x86_emulate.c:94:21: note: in expansion of macro ‘get_stub’
   94 |     uint8_t *buf_ = get_stub(stub); \
      |                     ^~~~~~~~
arch/x86/x86_emulate/x86_emulate.c:3402:15: note: in expansion of macro 
‘init_evex’
 3402 |         opc = init_evex(stub);
[...]


--
Best regards,
-grygorii




 


Rackspace

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