Re: linux-next: Tree for Aug 20 (Wno-alloc-size-larger-than)

Stephen Rothwell
2021-08-24T01:59:04Z

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

Hi Randy,

On Mon, 23 Aug 2021 18:24:44 -0700 Randy Dunlap <rdunlap@infradead.org> wrote:
>
> This is just weird. What I am seeing is that for every source file
> where gcc emits a warning: it then follows that up with this
> >> cc1: warning: unrecognized command line option '-Wno-alloc-size-larger-than'

I see the same, as well as:

<stdin>:1515:2: warning: #warning syscall clone3 not implemented [-Wcpp]
cc1: warning: unrecognized command line option '-Wno-alloc-size-larger-than'

But only on my gcc 7.3.1 builds (the rest are gcc 10).

> Smells like a gcc bug to me.

Yes

Also noted here: https://github.com/DynamoRIO/drmemory/issues/2099 (second comment)
--
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]