Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613570 - gentoo-sources (experimental) 5010_enable-additional-cpu-optimizations-for-gcc.patch
Summary: gentoo-sources (experimental) 5010_enable-additional-cpu-optimizations-for-gc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: gentoo-sources-4.11
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2017-03-22 19:12 UTC by Michal Jakubowski
Modified: 2017-05-18 22:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diff_log (difflog,17.74 KB, patch)
2017-03-22 19:12 UTC, Michal Jakubowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2017-03-22 19:12:04 UTC
Created attachment 467980 [details, diff]
diff_log

Hello developers, please update this patch in gentoo-sources experimental

5010_enable-additional-cpu-optimizations-for-gcc.patch

Git home - https://github.com/graysky2/kernel_gcc_patch
Comment 1 Robert Crawford 2017-03-23 00:32:12 UTC
I PM'ed mpagano a few weeks ago and asked him to please update the gcc opts 5010 patch with the new graysky2 version, but for whatever reason it hasn't been done yet. The graysky2 new version will apply OK to the 4.11-rc's, and also to 4.10.x gentoo-sources if the "experimental" USE flag is NOT enabled. Or, you can add the Zen lines in the files yourself to a gentoo "experimental" source directory after you install it, but before you actually compile the new kernel.

I mentioned this on the Ryzen forum thread on IIRC page 6 or 7, however I'm not positive that using "native" opts with "experimental will pick up zen without having the actual zen lines in the patched source files being also there. On the other hand, if you're on an AM4 system, perhaps gcc and gentoo-sources 5010 experimental additional opts patch "native" will detect and use the zen opts anyway, without the actual "zen" gcc option being listed in make xconfig or make menuconfig.


wrc1944
Comment 2 Michal Jakubowski 2017-03-23 17:33:34 UTC
Also longterm gentoo-sources-4.9.X should be updated.
Comment 3 Robert Crawford 2017-03-26 22:38:08 UTC
Thanks very much, Mike.  Much appreciated!
Comment 4 Mike Pagano gentoo-dev 2017-03-27 14:31:11 UTC
(In reply to Robert Crawford from comment #3)
> Thanks very much, Mike.  Much appreciated!

I appreciate the thanks, Robert.