patch for gcc 9.1+/linux 4.13+ fails to be applied on 5.5-rcX.
gottaeat opened this issue · comments
$ [table]: tar xf ../sauces/linux-5.5-rc2.tar.gz
$ [table]: cd linux-5.5-rc2/
$ [linux-5.5-rc2]: patch -Np1 < ../enable_additional_cpu_optimizations_for_gccv9.1+_kernel_v4.13+.patch
patching file arch/x86/include/asm/module.h
Hunk #1 succeeded at 27 (offset 2 lines).
Hunk #2 succeeded at 75 (offset 2 lines).
patching file arch/x86/Kconfig.cpu
Hunk #1 succeeded at 123 (offset 7 lines).
Hunk #2 succeeded at 156 (offset 7 lines).
Hunk #3 succeeded at 165 (offset 7 lines).
Hunk #4 succeeded at 173 (offset 7 lines).
Hunk #5 succeeded at 338 (offset 7 lines).
Hunk #6 succeeded at 348 (offset 7 lines).
Hunk #7 succeeded at 368 (offset 7 lines).
Hunk #8 succeeded at 503 (offset 7 lines).
Hunk #9 FAILED at 533.
Hunk #10 succeeded at 558 (offset 7 lines).
Hunk #11 succeeded at 597 (offset 7 lines).
1 out of 11 hunks FAILED -- saving rejects to file arch/x86/Kconfig.cpu.rej
patching file arch/x86/Makefile
Hunk #1 succeeded at 119 (offset 1 line).
patching file arch/x86/Makefile_32.cpu
Hunk #1 succeeded at 24 (offset 1 line).
Hunk #2 succeeded at 45 (offset 1 line).
reverting back to 5.4's arch/x86/Kconfig.cpu
via that diff allows the patch to be applied.
@mssx86 - Can you try enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v5.5+.patch and report back please?
@graysky2 I've sent pull request with fix (typo).