From: Peter Korsgaard <peter@korsgaard.com>
To: Arnout Vandecappelle <arnout@mind.be>
Cc: Bartosz Bilas <b.bilas@grinn-global.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/4] configs/stm32mp157a_dk1_defconfig: unbreak TF-A build with GCC >= 12
Date: Mon, 06 Nov 2023 10:18:29 +0100 [thread overview]
Message-ID: <87o7g7xmsa.fsf@48ers.dk> (raw)
In-Reply-To: <65d90378-9751-4666-9f36-e101a3e496ab@mind.be> (Arnout Vandecappelle's message of "Sun, 5 Nov 2023 21:22:02 +0100")
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
> On 05/11/2023 19:37, Peter Korsgaard wrote:
>> With the move to default to GCC 12 in commit e0091e42eef9 (package/gcc:
>> switch to gcc 12.x as the default), TF-A now fails to build as a warning is
>> generated and it builds with -Werror:
>> CC plat/st/stm32mp1/bl2_plat_setup.c
>> drivers/st/io/io_stm32image.c: In function ‘stm32image_partition_read’:
>> drivers/st/io/io_stm32image.c:249:13: error: ‘result’ may be used uninitialized [-Werror=maybe-uninitialized]
>> 249 | int result;
>> | ^~~~~~
>> cc1: all warnings being treated as errors
>> This is fixed in TF-A v2.6 with commit c1d732d0db24
>> (fix(io_stm32image):
>> uninitialized variable warning), but I do not have the board to verify if
>> v2.6 works, so instead disable -Werror by masssing E=0.
Ehh, that should naturally be passing ;)
> I (or actually, my colleagues) have both a DK1 and a DK2, so shall I
> test the 2.9 bump on them?
Feel free to do so, but it afaik requires a change to the "FIP" format
(and hence shared genimage template) as the stm32 format got dropped in
v2.8 with:
commit 981b9dcb878c868983388cd86c133f663eab1af4
Author: Yann Gautier <yann.gautier@st.com>
Date: Mon Nov 14 14:14:48 2022 +0100
refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE
The code managing legacy boot (without FIP) that was under
STM32MP_USE_STM32IMAGE flag is remove.
Change-Id: I04452453ed84567b0de39e900594a81526562259
Signed-off-by: Yann Gautier <yann.gautier@st.com>
So for 2023.11, I think it makes more sense to stick to v2.5.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-11-06 9:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-05 18:37 [Buildroot] [PATCH 1/4] configs/stm32mp157a_dk1_defconfig: unbreak TF-A build with GCC >= 12 Peter Korsgaard
2023-11-05 18:37 ` [Buildroot] [PATCH 2/4] configs/stm32mp157c_dk2_defconfig: " Peter Korsgaard
2023-11-10 12:24 ` Peter Korsgaard
2023-11-05 18:37 ` [Buildroot] [PATCH 3/4] configs/stm32mp157c_odyssey_defconfig: use a fixed TF-A version Peter Korsgaard
2023-11-10 12:24 ` Peter Korsgaard
2023-11-05 18:37 ` [Buildroot] [PATCH 4/4] configs/avenger96_defconfig: downgrade to TF-A v2.5 Peter Korsgaard
2023-11-10 12:26 ` Peter Korsgaard
2023-11-05 20:22 ` [Buildroot] [PATCH 1/4] configs/stm32mp157a_dk1_defconfig: unbreak TF-A build with GCC >= 12 Arnout Vandecappelle via buildroot
2023-11-06 9:18 ` Peter Korsgaard [this message]
2023-11-06 22:11 ` Thomas Petazzoni via buildroot
2023-11-10 12:24 ` Peter Korsgaard
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=87o7g7xmsa.fsf@48ers.dk \
--to=peter@korsgaard.com \
--cc=arnout@mind.be \
--cc=b.bilas@grinn-global.com \
--cc=buildroot@buildroot.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.