Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578728 (PR70188) - >=sys-devel/gcc-4.9: backport fix for gcc bug 70188
Summary: >=sys-devel/gcc-4.9: backport fix for gcc bug 70188
Status: RESOLVED FIXED
Alias: PR70188
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://gcc.gnu.org/PR70188
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-01 06:03 UTC by Rolf Eike Beer
Modified: 2016-05-13 17:15 UTC (History)
2 users (show)

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


Attachments
constraints.patch (constraints.patch,830 bytes, patch)
2016-04-15 12:44 UTC, Brendan Horan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2016-04-01 06:03:11 UTC
This causes a miscompilation of newer kernels, therefore it applies mostly to kgcc. Having it fixed in the normal patchset will not hurt

Reproducible: Always
Comment 1 Brendan Horan 2016-04-15 12:42:51 UTC
Tested the patch by doing the following :
1) Create file 
/etc/portage/patches/sys-devel/kgcc64/constraints.patch
(see attached patch)

2) remerged sys-devel/kgcc64-4.9.3

3) Built kernel 4.5.0

Reboot, machine boots as expected.
# uname -a
Linux valve 4.5.0-gentoo #2 SMP Fri Apr 15 18:31:59 HKT 2016 parisc64 PA8700 (PCX-W2) 9000/785/J6750 GNU/Linux
Comment 2 Brendan Horan 2016-04-15 12:44:11 UTC
Created attachment 430610 [details, diff]
constraints.patch

constraints.patch for Comment 1.