Bug 1797413

Summary: Kernel builded with GCC10 not working
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, bskeggs, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, masami256, mchehab, mjg59, steved, yaneti
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-03 09:41:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***