From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: buildroot@buildroot.org,
Philippe Reynes <philippe.reynes@softathome.com>
Subject: Re: [Buildroot] [PATCH] package/ibm-sw-tpm2: disable -Werror
Date: Tue, 24 Nov 2026 23:45:42 +0100 [thread overview]
Message-ID: <awYTfr2ZjwGaRYZw@windsurf> (raw)
In-Reply-To: <20261124172410.1613810-1-giulio.benetti@benettiengineering.com>
On Tue, Nov 24, 2026 at 06:24:10PM +0100, Giulio Benetti wrote:
> Upstream builds with -Werror and with BR2_OPTIMIZE_G gcc spots a false
> positive -Wmaybe-uninitialized, so the build fails with:
>
> Unmarshal.c:4248:43: error: 'startSize' may be used uninitialized [-Werror=maybe-uninitialized]
>
> Since upstream appends CFLAGS after its own flags, let's pass
> -Wno-error through CFLAGS to avoid this kind of build failure.
>
> Fixes:
> https://autobuild.buildroot.org/results/ff4/ff4d551f62bdfcb5b828f8b1d910e8cc348da36d/
> https://autobuild.buildroot.org/results/777/777bb0433d1a5529235162f301be2c32e377e957/
>
> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Could you provide a Fixes: tag that points to the commit that
introduced the issue/regression?
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-11-24 22:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 17:24 [Buildroot] [PATCH] package/ibm-sw-tpm2: disable -Werror Giulio Benetti
2026-11-24 22:45 ` Thomas Petazzoni via buildroot [this message]
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=awYTfr2ZjwGaRYZw@windsurf \
--to=buildroot@buildroot.org \
--cc=giulio.benetti@benettiengineering.com \
--cc=philippe.reynes@softathome.com \
--cc=thomas.petazzoni@bootlin.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox