Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 0/1] Fix Rock 5B build, broken by gcc 12 warnings
@ 2023-08-20 19:04 Kilian Zinnecker via buildroot
  2023-08-20 19:04 ` [Buildroot] [PATCH v3 1/1] configs/rock5b: Add patches to fix gcc12 warnings Kilian Zinnecker via buildroot
  0 siblings, 1 reply; 8+ messages in thread
From: Kilian Zinnecker via buildroot @ 2023-08-20 19:04 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 that the vendor fixes those issues. However, until
the vendor provides fixes (if ever), the affected code parts (i.e.,
custom board support for WiFi) are disabled.

v2 -> v3:

  - Properly disabled a kernel config item in the linux.fragment
  - Added both, signed-of-by for myself and link to upstream commit
    to the added patch files
  - Documented disabling of WiFi to the board's readme

Kilian Zinnecker (1):
  configs/rock5b: Add patches to fix gcc12 warnings

 board/radxa/rock5b/linux.fragment             |  3 +
 ...st-ether_addr-prototypes-to-silence-.patch | 64 +++++++++++++++++++
 ...x-building-error-on-Werror-array-com.patch | 43 +++++++++++++
 board/radxa/rock5b/readme.txt                 | 20 ++++++
 configs/rock5b_defconfig                      |  1 +
 5 files changed, 131 insertions(+)
 create mode 100644 board/radxa/rock5b/patches/0001-etherdevice-Adjust-ether_addr-prototypes-to-silence-.patch
 create mode 100644 board/radxa/rock5b/patches/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] 8+ messages in thread

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-20 19:04 [Buildroot] [PATCH v3 0/1] Fix Rock 5B build, broken by gcc 12 warnings Kilian Zinnecker via buildroot
2023-08-20 19:04 ` [Buildroot] [PATCH v3 1/1] configs/rock5b: Add patches to fix gcc12 warnings Kilian Zinnecker via buildroot
2023-08-20 19:29   ` Yann E. MORIN
2023-08-20 19:42     ` Kilian Zinnecker via buildroot
2023-08-20 19:59       ` Yann E. MORIN
2023-08-20 20:55         ` Kilian Zinnecker via buildroot
2023-08-20 21:09     ` Kilian Zinnecker via buildroot
2023-08-20 21:29       ` Yann E. MORIN

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