Re: [PATCH v2 2/2] tools/firmware: do not add a .note.gnu.property section

2022-04-04 Thread Andrew Cooper
On 04/04/2022 13:45, Jan Beulich wrote: > On 04.04.2022 12:40, Roger Pau Monne wrote: >> Prevent the assembler from creating a .note.gnu.property section on >> the output objects, as it's not useful for firmware related binaries, >> and breaks the resulting rombios image. >> >> This requires modify

Re: [PATCH v2 2/2] tools/firmware: do not add a .note.gnu.property section

2022-04-04 Thread Roger Pau Monné
On Mon, Apr 04, 2022 at 02:45:05PM +0200, Jan Beulich wrote: > (This, as an aside, also makes pretty clear that - unlike the title > of the series suggests - this has nothing to do with gcc 11.) I've started debugging this as reported as an issue associated with building with gcc 11, until I reali

Re: [PATCH v2 2/2] tools/firmware: do not add a .note.gnu.property section

2022-04-04 Thread Jan Beulich
On 04.04.2022 12:40, Roger Pau Monne wrote: > Prevent the assembler from creating a .note.gnu.property section on > the output objects, as it's not useful for firmware related binaries, > and breaks the resulting rombios image. > > This requires modifying the cc-option Makefile macro so it can tes

Re: [PATCH v2 2/2] tools/firmware: do not add a .note.gnu.property section

2022-04-04 Thread Anthony PERARD
On Mon, Apr 04, 2022 at 12:12:54PM +0100, Anthony PERARD wrote: > On Mon, Apr 04, 2022 at 12:40:44PM +0200, Roger Pau Monne wrote: > > Prevent the assembler from creating a .note.gnu.property section on > > the output objects, as it's not useful for firmware related binaries, > > and breaks the res

Re: [PATCH v2 2/2] tools/firmware: do not add a .note.gnu.property section

2022-04-04 Thread Anthony PERARD
On Mon, Apr 04, 2022 at 12:40:44PM +0200, Roger Pau Monne wrote: > Prevent the assembler from creating a .note.gnu.property section on > the output objects, as it's not useful for firmware related binaries, > and breaks the resulting rombios image. > > This requires modifying the cc-option Makefil

[PATCH v2 2/2] tools/firmware: do not add a .note.gnu.property section

2022-04-04 Thread Roger Pau Monne
Prevent the assembler from creating a .note.gnu.property section on the output objects, as it's not useful for firmware related binaries, and breaks the resulting rombios image. This requires modifying the cc-option Makefile macro so it can test assembler options (by replacing the usage of the -S