Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528170 - [toolchain overlay] sys-devel/gcc-4.10.0_pre9999 - gcc-spec-env-r1.patch fails to apply
Summary: [toolchain overlay] sys-devel/gcc-4.10.0_pre9999 - gcc-spec-env-r1.patch fail...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 20:01 UTC by Daniel Scharrer
Modified: 2015-12-05 21:25 UTC (History)
0 users

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


Attachments
build.log (build.log,12.71 KB, text/plain)
2014-11-03 20:03 UTC, Daniel Scharrer
Details
gcc-spec-env-r1.patch.out (gcc-spec-env-r1.patch.out,4.99 KB, text/plain)
2014-11-03 20:03 UTC, Daniel Scharrer
Details
Updated patch for GCC 4.10 (gcc-spec-env-r2.patch,3.11 KB, patch)
2014-11-03 20:04 UTC, Daniel Scharrer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Scharrer 2014-11-03 20:01:57 UTC
Due to upstream changes to gcc/gcc.c, gcc-spec-env-r1.patch is no longer valid.

Reproducible: Always
Comment 1 Daniel Scharrer 2014-11-03 20:03:21 UTC
Created attachment 388464 [details]
build.log
Comment 2 Daniel Scharrer 2014-11-03 20:03:50 UTC
Created attachment 388466 [details]
gcc-spec-env-r1.patch.out
Comment 3 Daniel Scharrer 2014-11-03 20:04:31 UTC
Created attachment 388468 [details, diff]
Updated patch for GCC 4.10
Comment 4 Daniel Scharrer 2014-11-03 20:07:10 UTC
Everything seems to work fine when replacing gcc-spec-env-r1.patch with the above patch. The changes from gcc-spec-env-r1.patch are trivial, but required for the patch to apply.
Comment 5 SpanKY gentoo-dev 2015-12-05 21:25:48 UTC
respecting GCC_SPECS env var really only makes sense with the hardened builds which aren't supported in the snaps, so i've just dropped the patch

http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d86d67c36b63cfd984aa119b41eebd6c297126
http://gitweb.gentoo.org/proj/toolchain.git/commit/?id=cd0d7969d1043802353adf44e97477f8a66fa6c1