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

[PATCH 0/2] firmware: build fixes with gcc-11


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Fri, 1 Apr 2022 16:37:17 +0200
  • 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=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=b8SoxtM7TVWy0iuy4I2h1zyL+9dHRA10iClwSi6jFxo=; b=RU4Ej5wm65f8XGeonNN6JJ5mYPBgXpWOiB8retcFGEDsch3/XtO7DFHbzXd0wsF3cmu9MrX73YBXYW5npN7CCiDG1teJPJLN3Xt/HNN+5+yiwzwq0mGc4KRA9F3MK4PgRdkYLJojnORRlwyiel7k1q01ltBLe62d9qyfMvYNip3SgnlZhimbukrdMBxBOZraLe7pbqG9PkIu2JL8funfmhXdDKt06604iTjypjpObs08M9MycA0okKvFNkPSZf+qTnIBc3Aj4mDEptEtNOa+567ssr+INok0grclMUTirzRHescs7rBIDepqlM1iT8h/o2aWlVz8EUf0G6wRNC2dRw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UaYNmnCu4pSbJdM62yI4HnbVe6YCskTvqPBGy9PrDwBR4+DmKTTbwBojmfjFVr6MQ7BAcDZ3+pL1+QRhm9cp9DIX+KppMh3UMav4NsASvvi5c22ad3usbfVKreBpv0bRGIzoOThKHXhCip2MLhdUgXAbolWSGo7MD9Amgr0tQdDqFvJlvkucD78stJT7FiZg0DV7itnB885cl2V47dafBc0Cp/XZrtyE5uGMKbMZfVBMMKdgGUOZ8uX/p4rxS/Zv4UkCciHe/5Mp16RaLJCHEMb0mJbcRx67BxmUg1v3sqPpCGMOP49Q+ShuZXOCRaFS7i3U4qswr9HMq6Bi/Hq97Q==
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 01 Apr 2022 14:37:46 +0000
  • Ironport-data: A9a23:ZZ97BakRZlYc+zMvskYiZS3o5gy+JkRdPkR7XQ2eYbSJt1+Wr1Gzt xIcXWiPO/vbamr1c40kbIq//UgBv8Lcz4dhHFNlpX82ECMWpZLJC+rCIxarNUt+DCFioGGLT Sk6QoOdRCzhZiaE/n9BCpC48T8kk/vgqoPUUIYoAAgoLeNfYHpn2EoLd9IR2NYy24DlW1rV4 7senuWEULOb828sWo4rw/rrRCNH5JwebxtB4zTSzdgS1LPvvyF94KA3fMldHFOhKmVgJcaoR v6r8V2M1jixEyHBqD+Suu2TnkUiGtY+NOUV45Zcc/DKbhNq/kTe3kunXRa1hIg+ZzihxrhMJ NtxWZOYVSY2GoeXoOAkWhB5GGZsJ5V/07rgGC3q2SCT5xWun3rExvxvCAc9PJEC+/YxCmZLn RAaAGlTNFbZ3bvwme/lDLk37iggBJCD0Ic3oHZvwCufFf87aZvCX7/L9ZlT2zJYasVmQq6HO ZZEM2AHgBLoXhNuPHI7Lb0CgMzro3XEcw1Imle5nP9ii4TU5FMoi+W8WDbPQfSIWMFUk0Cwt m/AuWPjDXkyL8eDwDCI9natgO7nni7hXo8WUrqi+ZZCglee22gSAx0+Tk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JhXA3a/pVVFZol/1RwKppKuZPIMqjg7pXUd WGTfusr8q+SGnqI0ww5QJUsZyRtndaJGb1fqFNgL3X79FspgEJ86Ip/r1gop4+zuNMd3A93Z W9Dk1JrsA7ciZEV9MLOA8+KfHHeVAlByi8cl6vHQ==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

The following fixes some firmware build issues with gcc-11. Note that
dropping of .note.gnu.property section could likely be done in the
linker script in the hvmloader case, but rombios has no linker script
and such note is causing a non-working image. Other options could be
using objcopy to drop the section, but those seems more complicated than
just using the compiler command line option.

Thanks, Roger.

Roger Pau Monne (2):
  tools/firmware: fix setting of fcf-protection=none
  tools/firmware: do not add a .note.gnu.property section

 Config.mk               | 2 +-
 tools/firmware/Makefile | 2 --
 tools/firmware/Rules.mk | 6 ++++++
 3 files changed, 7 insertions(+), 3 deletions(-)

-- 
2.35.1




 


Rackspace

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