Bug 207737 - kernel hangs, if compiled with gcc-10.1.0-1
Summary: kernel hangs, if compiled with gcc-10.1.0-1
Status: RESOLVED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: x86-64 (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: platform_x86_64@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-14 11:50 UTC by Arne Woerner
Modified: 2020-05-23 06:27 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.6.13-ARNE
Subsystem:
Regression: No
Bisected commit-id:


Attachments
diff of 5.6.11/gcc9 and 5.6.13/gcc10 config (688 bytes, text/plain)
2020-05-14 11:50 UTC, Arne Woerner
Details

Description Arne Woerner 2020-05-14 11:50:29 UTC
Created attachment 289131 [details]
diff of 5.6.11/gcc9 and 5.6.13/gcc10 config

Hi!

When I use archlinux's gcc-10.1.0-1,
I get a kernel that hangs after initramfs is processed.

When I do a `# make mrproper` and then a `make` in the same directory,
I get a kernel that boots as usual... :)

I think that is a bug.

Should I compile gcc myself, too?

Or will the kernel become archlinux-gcc10 compatible?

Thx.

Bye.
Comment 1 Borislav Petkov 2020-05-14 11:54:45 UTC
We're working on it. There should be a fix in the upstream kernel next week if all goes well.

THx.
Comment 2 Borislav Petkov 2020-05-23 06:27:10 UTC
Fix is in v5.7-rc6 as:

a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try")

and on its way to the respective stable trees.

Closing.

Note You need to log in before you can comment on or make changes to this bug.