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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Mon, 4 Apr 2022 12:40:42 +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=T90N2Kp4KnZ1HpykkkoYeJN1vbz958iNVPnDyEk4R5g=; b=oV4QnSp6JwSi4eJ9gWZ7F4FYJC9T0qgyGGIuU6+qbihsO+dQBIFatH3z9wEHV77PLJ3MtmOOwdA2ASlV+lz03A8gJ2ctAUF8oEzQah4DajQWKby0FrdAIWBvxtXl97lf/tIr0LyCXuv4rdskPk2DBMmXQ/0hkUP+KyzMzT1PjsfNoTQQaRFMHMiAksAQXaDa5ykfADVQNfJ08/QkjTqwzKDnp+wrNrOeowBtjRZ216ihfEr7+ui6vyBe/gdUBsOWMStXz5pCNofq08i3JVXcWeXbs5jAcNXRBOonERZvUkfzIB5X1Zuhi7vQulCIR7ur8LtXTz1YPUywen3kHp5tpA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CenCBjiv/AL8yaWtExKOBsubHi4XCwzCrrqwJTraFIlw8/Haf+PNWAeM9xGI1F63ulvE5Ii+XmC7a0SRc4cLO4hTGNA0ZYI/keie0VJgpQqdEyfgq9zrn5yQcZN2pQex5q5tby2++w6qVhhlF2LDGgS7RG+14MnkRM8FCG2Oq1uGC0WfcH17H9n4cu1DVKPXa6mTCXgZOgWu+8/GsNrQoTQ9tD70gC7H7rnAqrx5T56fme8cwEZfvkO4NXf7Gd34ad7YSVNuVHMkecQFIR0+MGVc8E0KmFPR3GxFVTf2VCPMpArxc+oOr9Dk4SFDX9rxn1T9BzaVxn7uuj4sCMLI+w==
  • Authentication-results: esa5.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: Mon, 04 Apr 2022 10:41:44 +0000
  • Ironport-data: A9a23:Cu7KOqj9HsumwySL22smuBsXX161XxAKZh0ujC45NGQN5FlHY01je htvUWvQOKvYNzHwKN9waIW/8U8Ov8DQzIBnTFduqHgyQ3kb9cadCdqndUqhZCn6wu8v7a5EA 2fyTvGacajYm1eF/k/F3oDJ9CU6jefSLlbFILas1hpZHGeIcw98z0M78wIFqtQw24LhX1vR4 YqaT/D3YzdJ5RYlagr41IrbwP9flKyaVOQw5wFWiVhj5TcyplFNZH4tDfjZw0jQG+G4KtWSV efbpIxVy0uCl/sb5nFJpZ6gGqECaua60QFjERO6UYD66vRJjnRaPqrWqJPwwKqY4tmEt4kZ9 TlDiXC/YRwxN6HxsrUxaD8GCAZ5HJ10+KXOCHfq5KR/z2WeG5ft6/BnDUVwNowE4OdnR2pJ8 JT0KhhUMErF3bjvhuvmFK883azPL+GyVG8bkmtnwjzDS+4vXLjIQrnQ5M8e1zA17ixLNaiBP JdGNWE0BPjGS0ZsYH0LBK8ioNzrmnvgfTcJiW+a/bVitgA/yyQuieOwYbI5YOeiR9hRn0uej nLL+SL+GB5yHMeE1TOP/3aoh+nOtSD2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0ayqX0+1cYOkn1kV5cEYrM5l/1TwKpsKuZPIMvG0vFnLA E3Z/uspMq+MGnqJUwxh1Mfj+BFBR8Ib1S7qktrgL3h79EZpgE686Ii/r1uop4xzuNNd3B63Z W2Dk0RrsA0ciY3V9MLOA5Te7rANoTyKSi8Ql56Z26XUZ06Bw==
  • 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 assembler 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®.