All of lore.kernel.org
 help / color / mirror / Atom feed
From: Quentin Schulz <quentin.schulz@cherry.de>
To: Joao Marcos Costa <joaomarcos.costa@bootlin.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 2/3] ovmf: drop gcc-12 specific BUILD_CFLAGS setting
Date: Mon, 11 May 2026 15:52:18 +0200	[thread overview]
Message-ID: <bf76e336-9a8a-4488-a7fd-c4315303e53b@cherry.de> (raw)
In-Reply-To: <708f2321-2420-431e-8b9a-3a5a470228dd@bootlin.com>

Hi João,

On 5/11/26 3:40 PM, Joao Marcos Costa wrote:
> Hello,
> 
> On 5/11/26 15:27, Quentin Schulz via lists.openembedded.org wrote:
>> Hi João,
>>
>> On 5/11/26 11:29 AM, João Marcos Costa wrote:
>>> This was handled upstream a while ago:
>>>
>>> https://eur02.safelinks.protection.outlook.com/? 
>>> url=https%3A%2F%2Fgithub.com%2Ftianocore%2Fedk2%2Fblob%2Fmaster%2FBaseTools%2FSource%2FC%2FDevicePath%2FGNUmakefile%23L27&data=05%7C02%7Cquentin.schulz%40cherry.de%7Cd69acb4606d94a43ff0b08deaf62e1b9%7C5e0e1b5221b54e7b83bb514ec460677e%7C0%7C0%7C639141036395687030%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=D5wD6%2Bvq%2BYJP3wUROtdEswwwc4RJFYmYvt7GLzsvJbo%3D&reserved=0
>>>
>>
>> It's not because upstream supports it that the version we're building 
>> has it, so pointing at a commit and mentioning it's part of the 
>> version we're building would be nice.
>>
>> 22130dcd98b4 ("Basetools: turn off gcc12 warning") part of edk2- 
>> stable202205 tag (and also edk2-stable202511 which we currently are at.
> 
> That's very much true. I will stick with this approach for the next time.
> 
>> Also, unclear whether this single file is the only place this flag 
>> being set would be enough as the flag was set globally and now it's 
>> only in a specific file within edk2 source code.
>>
>> Cheers,
>> Quentin
> 
> In any case, the warnings/errors would have been noticed during the 
> build if this flag was still needed (and missing).
> 

Not necessarily true as I don't think we build GCC for native recipes 
(and ovmf has a native variant), so it depends on the GCC on the host 
(unless you have uninative?). I don't know the autobuilder 
infrastructure, e.g. whether we build patches on multiple workers on 
different distros to have a big GCC version test matrix.

But yes, building with a newer GCC will generally not make warnings from 
previous versions disappear and I'm hoping upstream has had time to fix 
warnings returned by GCC12 in the last 4 years :)

Cheers,
Quentin


  reply	other threads:[~2026-05-11 13:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11  9:29 [PATCH 0/3] ovmf: add some rework to the recipe João Marcos Costa
2026-05-11  9:29 ` [PATCH 1/3] ovmf: simplify PACKAGECONFIG's default value João Marcos Costa
2026-05-11 13:19   ` Quentin Schulz
2026-05-14 10:57     ` [OE-core] " Ross Burton
2026-05-14 12:40       ` Joao Marcos Costa
2026-05-11  9:29 ` [PATCH 2/3] ovmf: drop gcc-12 specific BUILD_CFLAGS setting João Marcos Costa
2026-05-11 13:27   ` Quentin Schulz
2026-05-11 13:40     ` [OE-core] " Joao Marcos Costa
2026-05-11 13:52       ` Quentin Schulz [this message]
2026-05-11 14:00         ` Joao Marcos Costa
2026-05-12  8:46           ` Richard Purdie
2026-05-12  9:02             ` Joao Marcos Costa
2026-05-12  9:06               ` Richard Purdie
2026-05-12  9:17                 ` Joao Marcos Costa
2026-05-12  9:51                   ` Richard Purdie
2026-05-11  9:29 ` [PATCH 3/3] ovmf: add support for Clang toolchain João Marcos Costa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf76e336-9a8a-4488-a7fd-c4315303e53b@cherry.de \
    --to=quentin.schulz@cherry.de \
    --cc=joaomarcos.costa@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.