Bug 1797413 - Kernel builded with GCC10 not working
Summary: Kernel builded with GCC10 not working
Keywords:
Status: CLOSED DUPLICATE of bug 1796780
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-03 04:20 UTC by Mikhail
Modified: 2020-02-03 09:41 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-03 09:41:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2020-02-03 04:20:37 UTC
Description of problem:
Kernel builded with GCC10 not working.
I builded locally kernel with GCC10 which working flawlessly when I buillded it with GCC 9.2. (5.5 RC7)
Kernel builded with GCC10 hangs immediately after start without writing logs in the journal and without output any messages on the screen.
After the kernel start, I see the only black screen and not responsive keyboard (even SysRq-B not works)

Comment 1 Mikhail 2020-02-03 04:47:16 UTC
$ rpm -q gcc
gcc-10.0.1-0.7.fc32.x86_64

Build from this commit: https://src.fedoraproject.org/rpms/kernel/c/75f4244234c4836d4774419b886b685650e14ac2?branch=master
For successfully build with GCC10 add this patch: https://src.fedoraproject.org/rpms/kernel/blob/master/f/0001-x86-Don-t-declare-__force_order-in-kaslr_64.c.patch

Comment 2 Yanko Kaneti 2020-02-03 09:41:33 UTC
Given the details, I'll assume this is the stack corruption in bug 1796780

*** This bug has been marked as a duplicate of bug 1796780 ***


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