Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
5012_enable-cpu-optimizations-for-gcc91.patch on 5.6.0-rc1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3353
Location: Gainesville, Florida

PostPosted: Tue Feb 11, 2020 12:09 am    Post subject: 5012_enable-cpu-optimizations-for-gcc91.patch on 5.6.0-rc1 Reply with quote

I can confirm the gentoo-sources experimental gcc-opts patch works fine on git-sources 5.6.0-rc1.
Code:
gentoo-audio /usr/src/linux-5.6-rc1 # patch -p1 < 5012_enable-cpu-optimizations-for-gcc91.patch
patching file arch/x86/include/asm/module.h
patching file arch/x86/Kconfig.cpu
patching file arch/x86/Makefile
patching file arch/x86/Makefile_32.cpu
gentoo-audio /usr/src/linux-5.6-rc1 #

https://dev.gentoo.org/~mpagano/genpatches/trunk/5.5/5012_enable-cpu-optimizations-for-gcc91.patch

I copy pasted starting at the lines:
Quote:
--- a/arch/x86/include/asm/module.h 2019-12-15 18:16:08.000000000 -0500
+++ b/arch/x86/include/asm/module.h 2019-12-17 14:03:55.968871551 -0500
and including all the following lines into a text file, naming it "5012_enable-cpu-optimizations-for-gcc91.patch" (no quotes)
Then put it in the kernel source directory, and ran
Code:
patch -p1 < 5012_enable-cpu-optimizations-for-gcc91.patch
Then ran make xconfig, loaded my system specific kernel config for 5.5.2, and set the kernel processor gcc opts for "native." Saved the edited config to file the source directory, and it complied fine on my newly upgraded Ryzen 7 3700x system. :)

Booted normally, system running normally.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.30-r6, gcc-10.1.0, kernel-5.6.11-gentoo USE=experimental
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum