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

From: Stephen Rothwell
Date: Mon Aug 23 2021 - 21:59:14 EST


Hi Randy,

On Mon, 23 Aug 2021 18:24:44 -0700 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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: pgpM6EDJxzFa7.pgp
Description: OpenPGP digital signature