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

Re: [PATCH] xen-mapcache: Fix a build error with -fexceptions


  • To: Peter Maydell <peter.maydell@xxxxxxxxxx>
  • From: Alex Brett <alex.brett@xxxxxxxxxx>
  • Date: Tue, 24 Nov 2026 17:50:14 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=TURF5Cn7OF5XBijgyj0Doy0rP8ZpHpdJaZWY72lgzYo=; b=fFXasXUWF9bc16XwYMVSJ/Sk12qyKeR94u06ZI4ep/uMlwLBQxVrscJJ0Iy4HXWzH4RgP19fd+HmCtmzGSxTlYNUUOFssFlzMxwMkWGynsoqPKCsrHzCeXrmlFab9njulkGpngEYVWigVkjSJfWUiJsnvHrevsAvjbZcFgIcJSLeHQL9SykcP3Dw8dOXjte9ZvD8VEuSaXtfoaG07iuRav6SqHUIucyXaS5TbdVnLZoUYGcAtxZOQ6oijzdKUg90X24iBtBBJSfmy/Q1uj5SLLSStufhbrxUum4LT7AoK963TEyHXV+T1XdnMFRkpPtpfT3kX/WbMRCJELwWuSiCkw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KSCZaG7+j/WkjPqg8nFbLd0n0dnb0VevbTHvD60xmOVu3AIHYef6mSGDjwDkIwRKwGOuWJZrnYkH3yDwaNrYi9/sLRM/TVYtYMYyhQ8XUHY/Z4nXQXzvR9lpwqsoGynqOwYmLLaXjYZ+fXNpZ3gPpt0fkHZU3I9+tVvrHOYV5MmurQx5ydZJCgacLLO4viG4lIfiOvxOljsgUDe8jQBw6UtJKBa4cV2ZjwrS/wEUDHhUS/uBY1N9mcHmeMjKicHylfBy8ZM+a8it7Tyqtc9rMZT1n5WljQTjFUaZhjvlaorsWBH+yN8uCG7IyhTAKnXoWMrO3BL3a019PFQbMfBf9w==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:x-ms-exchange-senderadcheck"
  • Authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: "qemu-devel@xxxxxxxxxx" <qemu-devel@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony@xxxxxxxxxxxxxx>, "Edgar E. Iglesias" <edgar.iglesias@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 24 Nov 2026 17:51:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels:
  • Thread-index: AQHdfAjNhQfIGpX4FkquReWyKCmM97c9NgYAgABIgBY=
  • Thread-topic: [PATCH] xen-mapcache: Fix a build error with -fexceptions

> but why are you building with "-fexceptions" ? Trying to throw
> a C++ exception through QEMU's C code seems like it's likely
> to run into all kinds of problems and corner cases...

So "-fexceptions" is a default compiler flag for Fedora and derived
distributions - their justification is in the "Individual compiler flags"
section of
https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md

Alex


 


Rackspace

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