You are not logged in.

#1 2017-09-20 12:36:27

keving7
Member
Registered: 2016-10-02
Posts: 9

Kernel gcc/native patch not working for kernel 4.13+

The following patch no longer works for kernel 4.13+ https://github.com/graysky2/kernel_gcc_patch
I lack some knowledge creating own patches but I run a custom kernel based on hardening, I tried it with the vanilla 4.13 kernel in testing and I got the same error so the hardening build is not the issue.
linux-ck is still on 4.12 aswell so I cant take it from there.
This is the error I get:

patching file arch/x86/include/asm/module.h
patching file arch/x86/Kconfig.cpu
patching file arch/x86/Makefile
Hunk #1 succeeded at 121 (offset 17 lines).
patching file arch/x86/Makefile_32.cpu
Hunk #1 FAILED at 23.
Hunk #2 succeeded at 31 (offset -1 lines).
1 out of 2 hunks FAILED -- saving rejects to file arch/x86/Makefile_32.cpu.rej

I suppose doing a diff on 4.12 with the patch applied to see exactly what the patch changes but I am not sure how to do this, can anyone help out update the patch, its quite the performance boost in my experience.

Thanks!

Offline

#2 2017-09-20 15:19:38

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Kernel gcc/native patch not working for kernel 4.13+

Look at the github repo you posted. There's a new patch for kernels 4.13+, did you try that?

Offline

#3 2017-09-20 15:20:39

keving7
Member
Registered: 2016-10-02
Posts: 9

Re: Kernel gcc/native patch not working for kernel 4.13+

No idea how i missed that, thanks will try!

Offline

#4 2017-09-20 18:52:40

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Kernel gcc/native patch not working for kernel 4.13+

... I'm a little puzzled why you thought a random post might get my attention.  In the future, just open an issue on github rather than here on the bbs... technically, the patch is for any distro and although included in linux-ck, not part of an Arch-specific package.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB