Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] Fix Rock 5B build, broken by gcc 12 warnings
@ 2023-08-08  5:01 Kilian Zinnecker via buildroot
  2023-08-08  5:01 ` [Buildroot] [PATCH 1/2] configs/rock5b: Freeze gcc to version 11 Kilian Zinnecker via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Kilian Zinnecker via buildroot @ 2023-08-08  5:01 UTC (permalink / raw)
  To: buildroot; +Cc: Kilian Zinnecker

Building the image for the Radxa Rock 5B currently breaks: The gcc
version was recently changed to version 12 and gcc 12 seems to stop
compiling, if certain warnings occur. See the broken build here:

https://gitlab.com/buildroot.org/buildroot/-/jobs/4795673759

This patch series adds two patches from the mainline Linux kernel,
which fix two of the warnings. However, also custom code parts of the
used custom kernel break due to warnings from gcc 12. The best
solution would be to fix those issues as well. However, until they are
fixed, the version of gcc used for the Rock 5B is set to the previous
version, gcc 11.

Kilian Zinnecker (2):
  configs/rock5b: Freeze gcc to version 11
  board/radxa/rock5b: Add patches for gcc12 warnings

 ...st-ether_addr-prototypes-to-silence-.patch | 62 +++++++++++++++++++
 ...x-building-error-on-Werror-array-com.patch | 45 ++++++++++++++
 configs/rock5b_defconfig                      |  2 +
 3 files changed, 109 insertions(+)
 create mode 100644 board/radxa/rock5b/0001-etherdevice-Adjust-ether_addr-prototypes-to-silence-.patch
 create mode 100644 board/radxa/rock5b/0002-mm-page_alloc-fix-building-error-on-Werror-array-com.patch

-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-08-20 15:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08  5:01 [Buildroot] [PATCH 0/2] Fix Rock 5B build, broken by gcc 12 warnings Kilian Zinnecker via buildroot
2023-08-08  5:01 ` [Buildroot] [PATCH 1/2] configs/rock5b: Freeze gcc to version 11 Kilian Zinnecker via buildroot
2023-08-08  5:01 ` [Buildroot] [PATCH 2/2] board/radxa/rock5b: Add patches for gcc12 warnings Kilian Zinnecker via buildroot
2023-08-08  7:43 ` [Buildroot] [PATCH 0/2] Fix Rock 5B build, broken by gcc 12 warnings Thomas Petazzoni via buildroot
2023-08-08 20:44   ` Kilian Zinnecker via buildroot
2023-08-08 21:19     ` Thomas Petazzoni via buildroot
2023-08-09  5:31       ` Kilian Zinnecker via buildroot
2023-08-12  9:36       ` Kilian Zinnecker via buildroot
2023-08-20 15:29   ` Kilian Zinnecker via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox