From: David Luca via buildroot <buildroot@buildroot.org>
To: Julien Olivain via Buildroot <buildroot@buildroot.org>
Subject: [Buildroot] Fail to compile Linux kernel 5.14 with GCC15
Date: Fri, 13 Nov 2026 10:14:18 +0000 (UTC) [thread overview]
Message-ID: <813093532.2289630.1794564858648@mail.yahoo.com> (raw)
In-Reply-To: 813093532.2289630.1794564858648.ref@mail.yahoo.com
[-- Attachment #1.1: Type: text/plain, Size: 508 bytes --]
Hello,
As mentioned in the title, I receive a compile error for arch/x86/realmode/rm/wakemain.c:
./include/linux/stddef:11:9: error: cannot use keyword 'false' as enumeration constant
Note: 'false'is a keyword with' '-std=c23' onwards.
So I patched my buildroot linux/linux.mk to add:
ifeq ($(BR_TOOLCHAIN_GCC_AT_LEAST_15),y)
LINUX_CFLAGS += -std=gnu17
endif
However the compiler error is still happening, any idea how to fix?
Best regards,
David.
Yahoo Mail: Search, organise, conquer
[-- Attachment #1.2: Type: text/html, Size: 1063 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
parent reply other threads:[~2026-11-13 10:14 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <813093532.2289630.1794564858648.ref@mail.yahoo.com>]
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=813093532.2289630.1794564858648@mail.yahoo.com \
--to=buildroot@buildroot.org \
--cc=davidluca3000@yahoo.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