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