From: "Arnd Bergmann" <arnd@arndb.de>
To: "Jeff Johnson" <quic_jjohnson@quicinc.com>,
"Kalle Valo" <kvalo@kernel.org>
Cc: linux-kernel@vger.kernel.org, ath12k@lists.infradead.org,
kasan-dev@googlegroups.com,
"Andrey Ryabinin" <ryabinin.a.a@gmail.com>,
"Alexander Potapenko" <glider@google.com>,
"Andrey Konovalov" <andreyknvl@gmail.com>,
"Dmitry Vyukov" <dvyukov@google.com>,
"Vincenzo Frascino" <vincenzo.frascino@arm.com>
Subject: Re: crosstool: x86 kernel compiled with GCC 14.1 fails to boot
Date: Tue, 09 Jul 2024 21:33:01 +0200 [thread overview]
Message-ID: <5bfebbd4-d12e-4735-acab-549a7cf9604a@app.fastmail.com> (raw)
In-Reply-To: <0e0150ca-fdfa-40cb-ad7f-6ac695b702e4@quicinc.com>
On Tue, Jul 9, 2024, at 17:29, Jeff Johnson wrote:
> On 7/8/2024 10:44 PM, Arnd Bergmann wrote:
>> On Tue, Jul 9, 2024, at 05:55, Jeff Johnson wrote:
>
> I picked my favorite to begin with, enabling KASAN (which in turn enabled a
> few others). The resulting kernel did not boot for me (just saw a black screen
> after the GRUB menu). Diff between working and non-working config is below.
Ok, good to know. I've added the KASAN developers to Cc now, maybe
they have already seen reports of x86 kernels failing with gcc-14?
> I then downloaded and built the config you supplied. With that I have the same
> behavior as my original config, the display is frozen with:
> Loading initial ramdisk ...
Interesting, so the same config that works for me fails on your
machine. I can see three possible reasons for this:
- qemu vs hardware -- Can you try running this kernel in
qemu-system-x86_64 to see if that still boots
- kernel version -- it's possible that this is a known bug
that was already fixed in the 6.10-rc7 kernel source I
tried, or that your source tree has a new bug that I don't.
Which version did you try?
- cross-compile vs native compile -- It's possible that my
cross-built native x86_64 compiler has a bug that is not
in natively built gcc binaries, or in the cross compiler
I have on ARM. I've mostly ruled this one out by building
the same kernel using the x86 compilers through qemu-user.
Arnd
prev parent reply other threads:[~2024-07-09 19:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-08 18:16 crosstool: x86 kernel compiled with GCC 14.1 fails to boot Kalle Valo
2024-07-08 19:03 ` Arnd Bergmann
2024-07-08 21:39 ` Genes Lists
2024-07-09 1:57 ` Jeff Johnson
2024-07-09 3:55 ` Jeff Johnson
2024-07-09 5:44 ` Arnd Bergmann
2024-07-09 15:29 ` Jeff Johnson
2024-07-09 16:18 ` Kalle Valo
2024-07-09 19:33 ` Arnd Bergmann [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=5bfebbd4-d12e-4735-acab-549a7cf9604a@app.fastmail.com \
--to=arnd@arndb.de \
--cc=andreyknvl@gmail.com \
--cc=ath12k@lists.infradead.org \
--cc=dvyukov@google.com \
--cc=glider@google.com \
--cc=kasan-dev@googlegroups.com \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_jjohnson@quicinc.com \
--cc=ryabinin.a.a@gmail.com \
--cc=vincenzo.frascino@arm.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