Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548198 - sys-kernel/gentoo-sources-3.14.* doesn't apply "enable-additional-cpu-optimizations-for-gcc" patch
Summary: sys-kernel/gentoo-sources-3.14.* doesn't apply "enable-additional-cpu-optimiz...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-30 00:21 UTC by Nikos Chantziaras
Modified: 2015-05-30 16:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2015-04-30 00:21:02 UTC
I use GCC 4.9.2 and gentoo-sources 3.14.x. (3.14.40 currently.) I have the "experimental" USE flag enabled, but the patch that adds "-march=native" to the kernel build compiler flags is not applied.

The problem seems to be that this patch:

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

is only for older GCC versions. For 4.9.2, this is needed:

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

but it's not shipped with gentoo-sources-3.14.x. It seems it needs to be backported to 3.14.

Kernel 3.14 is the latest LTS kernel, so I think it makes sense to make sure this patch gets applied.
Comment 1 Nikos Chantziaras 2015-04-30 01:14:04 UTC
Uhm, I just noticed that 3.14 is not the latest LTS kernel anymore. Very recently, 3.18 has been made the latest LTS kernel.

So it might not be worth it to backport the patch after all. Feel free to close this bug if backporting it is too much work.
Comment 2 Mike Pagano gentoo-dev 2015-05-30 16:45:18 UTC
Right now I have no plans to backport this patch.