Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FL-499: (FL-500, FL-501), toolchain update
- Loading branch information
Oleg Vinichenko
committed
Apr 17, 2013
1 parent
a1fb7a0
commit f6fff14
Showing
18 changed files
with
835 additions
and
333 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
DIST binutils-2.20.1-patches-1.0.tar.bz2 14466 RMD160 1ed4da92a25adf5eb6c75042c450a6686dc277c1 SHA1 302b475f73a5f7167de5e72d613d0f7fc8c93904 SHA256 10a77687828a610a45bb2a57e3027fb5aa7180aec183384d3da2de6897838e2e | ||
DIST binutils-2.20.1.tar.bz2 17501436 RMD160 2ab2de504a85840d1ec227eff50b5f4d2cad581e SHA1 fd2ba806e6f3a55cee453cb25c86991b26a75dee SHA256 228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8 | ||
DIST binutils-2.21.1-patches-1.2.tar.bz2 18818 RMD160 02780d12910b50772c61503ae97c0a1f4abc21c2 SHA1 66fbdec01dc3fbcac19a2401ca95d95e8c6cccb4 SHA256 d5ccd0275548019b8408e92be7c9e377350a545b80b6269b1dcdcdcc9f43d06a | ||
DIST binutils-2.21.1.tar.bz2 18997755 RMD160 de5ce1d7cb0d44e3ec18c557beefb2a292d59a60 SHA1 525255ca6874b872540c9967a1d26acfbc7c8230 SHA256 cdecfa69f02aa7b05fbcdf678e33137151f361313b2f3e48aba925f64eabf654 | ||
DIST binutils-2.22-patches-1.5.tar.bz2 37350 RMD160 fbcac8a18690dcfb01051ab3ec56671b3675ccfa SHA1 fb171e26273abc62ac06bb78cdd4b2d24e17a15b SHA256 51cad7b3c2d18db0f7d2e4a3e46e37f00eb720cfa663ea396e16dcfbba12a07c | ||
DIST binutils-2.22.tar.bz2 19973532 RMD160 34cebe4cdca9480d5dc6f6b00b052c48c8ac30dc SHA1 65b304a0b9a53a686ce50a01173d1f40f8efe404 SHA256 6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9 | ||
DIST binutils-2.20.1-patches-1.0.tar.bz2 14466 SHA256 10a77687828a610a45bb2a57e3027fb5aa7180aec183384d3da2de6897838e2e | ||
DIST binutils-2.20.1.tar.bz2 17501436 SHA256 228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8 | ||
DIST binutils-2.21.1-patches-1.2.tar.bz2 18818 SHA256 d5ccd0275548019b8408e92be7c9e377350a545b80b6269b1dcdcdcc9f43d06a | ||
DIST binutils-2.21.1.tar.bz2 18997755 SHA256 cdecfa69f02aa7b05fbcdf678e33137151f361313b2f3e48aba925f64eabf654 | ||
DIST binutils-2.22-patches-1.5.tar.bz2 37350 SHA256 51cad7b3c2d18db0f7d2e4a3e46e37f00eb720cfa663ea396e16dcfbba12a07c | ||
DIST binutils-2.22.tar.bz2 19973532 SHA256 6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9 | ||
DIST binutils-2.23.1-patches-1.0.tar.xz 13396 SHA256 6d2ac4f83588e57968ce0e8e4450effb5aa79d46b9025ed2779cf91c8f99ec01 SHA512 f8a708798d32f81aceb3291411f7ef461a4f5b91ff204519799f3051789b1cbcac79bc282819227cf8dee875f47b727c51aba6f3a2ac73f53b132430c0fe9bdd WHIRLPOOL fbbcf9040047d5411ef002dd4e8079b6555b4ef2c079534f19ea8d105b2d62a8fce98eaf9b217d733414d0ddde1ab64b55d0c16bd142375a28187febde0c76eb | ||
DIST binutils-2.23.1.tar.bz2 21455321 SHA256 2ab2e5b03e086d12c6295f831adad46b3e1410a3a234933a2e8fac66cb2e7a19 SHA512 effecc9e6ef943055815a83dea546f2fe5b5d4483dadeda5753aae239bd7095d4696239240613a051d18011ed2521ae75c48292f970ba82b02e97bc72b0fa51f WHIRLPOOL 48f99ba30f0f7085cd7d889b727ba615be3aceb9da6a836d676eecee65c16e36257110d84bfe82a739064741b6b5279f97e43c93a08ca90896a10474b4ea65e8 | ||
DIST binutils-2.23.2-patches-1.0.tar.xz 10884 SHA256 47df1338ee285548630dabb6e414cd7ffffaf068a56ea22a185608fcbd091703 SHA512 25d52694e653dd2642eb643ef3bd48a099876515d66b0b1ed8dfa5f60cadaa1bb92a589e370528ec52add7571c0ea1a98859bfde0821c73ec0ded492fff0915c WHIRLPOOL 2aba579641a1b8e701b25c9d0094c9991e151ddd0b02fae7273ca8c9e31fd344cbf3782c5a5f9960a9bee16b41bc898c8ad0ec76ba8ee396d28e878dac47ffc7 | ||
DIST binutils-2.23.2.tar.bz2 21440347 SHA256 fe914e56fed7a9ec2eb45274b1f2e14b0d8b4f41906a5194eac6883cfe5c1097 SHA512 dec753bbba008f1526b89cf1bd85feba78f362f5333ffdf93953fd131eb755976dec82a0a4ba38c43d2434da007137780cfe674de5414be5cf7ce7fbc6af6d16 WHIRLPOOL 1be65f03569d599899c5b57ac7aedbf90b311f9a47c1883dc62c0717b0757ebfb33e17ab3def8d0b805daabba67cf554463f88675c9f552a6fd8dbe7ca77b442 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
PATCHVER="1.0" | ||
ELF2FLT_VER="" | ||
inherit toolchain-binutils | ||
|
||
KEYWORDS="~*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
PATCHVER="1.0" | ||
ELF2FLT_VER="" | ||
inherit toolchain-binutils | ||
|
||
# See #464152 | ||
#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -amd64-fbsd -sparc-fbsd -x86-fbsd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
PATCH_VER="1.1" | ||
UCLIBC_VER="1.0" | ||
|
||
# Hardened gcc 4 stuff | ||
PIE_VER="0.5.5" | ||
SPECS_VER="0.2.0" | ||
SPECS_GCC_VER="4.4.3" | ||
# arch/libc configurations known to be stable with {PIE,SSP}-by-default | ||
PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64" | ||
PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64" | ||
SSP_STABLE="amd64 x86 ppc ppc64 arm" | ||
# uclibc need tls and nptl support for SSP support | ||
# uclibc need to be >= 0.9.33 | ||
SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm" | ||
#end Hardened stuff | ||
|
||
inherit toolchain | ||
|
||
DESCRIPTION="The GNU Compiler Collection" | ||
|
||
LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+" | ||
|
||
KEYWORDS="" | ||
|
||
RDEPEND="" | ||
DEPEND="${RDEPEND} | ||
elibc_glibc? ( >=sys-libs/glibc-2.8 ) | ||
>=${CATEGORY}/binutils-2.20" | ||
|
||
if [[ ${CATEGORY} != cross-* ]] ; then | ||
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" | ||
fi | ||
|
||
src_unpack() { | ||
if has_version '<sys-libs/glibc-2.12' ; then | ||
ewarn "Your host glibc is too old; disabling automatic fortify." | ||
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315" | ||
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" | ||
fi | ||
|
||
# drop the x32 stuff once 4.7 goes stable | ||
# if [[ ${CTARGET} != x86_64* ]] || ! has x32 $(get_all_abis TARGET) ; then | ||
# EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch" | ||
# fi | ||
|
||
toolchain_src_unpack | ||
|
||
use vanilla && return 0 | ||
|
||
[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch | ||
} | ||
|
||
pkg_setup() { | ||
toolchain_pkg_setup | ||
|
||
ewarn | ||
ewarn "LTO support is still experimental and unstable. Any bug reports" | ||
ewarn "about LTO that do not include an upstream patch will be closed as" | ||
ewarn "invalid." | ||
ewarn | ||
} | ||
|
||
pkg_postinst() { | ||
elog | ||
elog "Packages failing to build with GCC 4.8 are tracked at" | ||
elog "https://bugs.gentoo.org/461954" | ||
elog | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
DIST gentoo-headers-2.6.32-1.tar.lzma 9736 RMD160 118f85ab36e521ffd0284e20d47f462d10f143a6 SHA1 51a5f2749bec5ebc89c614caa061722c49bcc56a SHA256 ab9518100f0e40b682ffdfd5eb4defa2f2ffc259d0ae7c3de771f5a3a621cabe | ||
DIST gentoo-headers-2.6.39-1.tar.xz 3216 RMD160 27feab992d4f845acd5f6fc880b37ae9698e4058 SHA1 8629f82a7b2693a54c16dcf4f58a1e3edc1e1307 SHA256 bb16e4fb1c4566c01ff06fcdcd01c129d9920afac0c097923c08e37cc8e861a1 | ||
DIST gentoo-headers-3.1-2.tar.xz 3656 RMD160 f219313ee3004826cfa2e93a6d9c2a13c4c9ea7a SHA1 0708051dba8d1ea8dc91d507f63e7515e1f246bd SHA256 ee30fed6c594ff56309aa7cad018419e8c8cde8b2ba85332ba7473d967ebe972 | ||
DIST gentoo-headers-3.2-3.tar.xz 3972 RMD160 dcdf45de828ef98bd6ab3a2803857d530e657fb2 SHA1 0951087e798c9e426b2746d1f641456db3c1036f SHA256 f3c676a71429ae9309637790651cabee9c190915b3b15462abca35971e0d8822 | ||
DIST gentoo-headers-3.3-2.tar.xz 34172 RMD160 eb8e3ceb89a4194a3587e1475b674fec76fd975d SHA1 5d9d0b595014d950e1e4e842ff966f150c9a4e7c SHA256 4b50911d5d53c7cdcfe07e6721015d0abe5fe2859117410b399d657ea41f3e36 | ||
DIST gentoo-headers-3.4-3.tar.xz 4332 RMD160 7e55952ba0fe70e91ff14060d82ae611fb69dc72 SHA1 b00c4fc56830bb682001ffe2c2729c80cb470ae2 SHA256 a5413ed53ebe3489f7e35503edacb44c583726890ee123a60ac011a22d02460c | ||
DIST gentoo-headers-base-2.6.32.tar.lzma 4181482 RMD160 09067823af4cd65c9f48b514dd12037f4b5b33ed SHA1 be17b0679ad248e87f8bbb4d3a37aefaf6c146a7 SHA256 ae1b8bc31770aeff999ec36d4f28eb96df4191a14c0d384bbcbe569fc2e3d620 | ||
DIST gentoo-headers-base-2.6.39.tar.xz 4689080 RMD160 2e0cce267e9e2228380c2ac4ca5d8a5471a2327f SHA1 5c52cf4632c2d125912e2334cf35f1d70b15e514 SHA256 ac7d11395bfe196e4da08e009d1b81494f1c4c1b4f08f5be7b002ed1c6669105 | ||
DIST gentoo-headers-base-3.1.tar.xz 4814816 RMD160 372a0e0fa6dbbc36b91143a1ffc03f843aadff7f SHA1 e0bce0b14ac331f9737c2e4bb61c48fb6ea5f941 SHA256 76bc4baeb1d039a171f6316d3ac6b8f50341937242570988d6705b2d9b02a0c0 | ||
DIST gentoo-headers-base-3.2.tar.xz 4912432 RMD160 1ad9eff0b9ec9d1eb63b2914521d2512f2ddd88c SHA1 7c74ca48de98c0da1ba44224cff36a598230eb8f SHA256 b22faf6f9c64047c29b5d5d8787dce253df99dd2fd29e69c4de491ab002a6675 | ||
DIST gentoo-headers-base-3.3.tar.xz 5065432 RMD160 6b2c02a09a406cb366199562d6fcf3203e867a53 SHA1 d3f019fd385531a909406cfa36df27f45d9121ef SHA256 bddc280496d8709039c02cee50dc14106ac6ea6bfafe99abec9f9470b19582ea | ||
DIST gentoo-headers-base-3.4.tar.xz 5115932 RMD160 886e46aa92181d5804e0117f8bb0a80b3f7ba42c SHA1 63c181ae4139bcf1ce5d5de7981dba4c4a6fdc39 SHA256 c1aceea837dc6c05c869f41897e393cc14ef4b8b3e77440b40ae1684360fc154 | ||
DIST gentoo-headers-2.6.32-1.tar.lzma 9736 SHA256 ab9518100f0e40b682ffdfd5eb4defa2f2ffc259d0ae7c3de771f5a3a621cabe | ||
DIST gentoo-headers-2.6.39-1.tar.xz 3216 SHA256 bb16e4fb1c4566c01ff06fcdcd01c129d9920afac0c097923c08e37cc8e861a1 | ||
DIST gentoo-headers-3.1-2.tar.xz 3656 SHA256 ee30fed6c594ff56309aa7cad018419e8c8cde8b2ba85332ba7473d967ebe972 | ||
DIST gentoo-headers-3.2-3.tar.xz 3972 SHA256 f3c676a71429ae9309637790651cabee9c190915b3b15462abca35971e0d8822 | ||
DIST gentoo-headers-3.3-2.tar.xz 34172 SHA256 4b50911d5d53c7cdcfe07e6721015d0abe5fe2859117410b399d657ea41f3e36 | ||
DIST gentoo-headers-3.4-3.tar.xz 4332 SHA256 a5413ed53ebe3489f7e35503edacb44c583726890ee123a60ac011a22d02460c | ||
DIST gentoo-headers-3.7-1.tar.xz 3212 SHA256 f07407df6577a1a544ed485e0285ad6adca66b516e4ff6af525f36ad2a6cece1 SHA512 d802cf3f3964a80ef2ffa3750139c0aa6b6520e78ec6eaa087532964a6a80999c937b8deb47ac76a250f649d8080308e8f5a5f33bb4859f3907d5dd41fede93f WHIRLPOOL be6aa3e709295d9a74841bf8fb4823ffe3019700ee9ac118b78bbcab50b60a3c404699e0a96267a9aeb71d6e7e62ed770ab5dbb0d8a0097a47f4b20cad663835 | ||
DIST gentoo-headers-base-2.6.32.tar.lzma 4181482 SHA256 ae1b8bc31770aeff999ec36d4f28eb96df4191a14c0d384bbcbe569fc2e3d620 | ||
DIST gentoo-headers-base-2.6.39.tar.xz 4689080 SHA256 ac7d11395bfe196e4da08e009d1b81494f1c4c1b4f08f5be7b002ed1c6669105 | ||
DIST gentoo-headers-base-3.1.tar.xz 4814816 SHA256 76bc4baeb1d039a171f6316d3ac6b8f50341937242570988d6705b2d9b02a0c0 | ||
DIST gentoo-headers-base-3.2.tar.xz 4912432 SHA256 b22faf6f9c64047c29b5d5d8787dce253df99dd2fd29e69c4de491ab002a6675 | ||
DIST gentoo-headers-base-3.3.tar.xz 5065432 SHA256 bddc280496d8709039c02cee50dc14106ac6ea6bfafe99abec9f9470b19582ea | ||
DIST gentoo-headers-base-3.4.tar.xz 5115932 SHA256 c1aceea837dc6c05c869f41897e393cc14ef4b8b3e77440b40ae1684360fc154 | ||
DIST gentoo-headers-base-3.7.tar.xz 5322476 SHA256 6bd75073dd2565f87e3ae03e71a2f211146a50a935b998e3f8c670b825aa3fb0 SHA512 8f74730267e7a2e914f17ab6052b0512e88c80409908b7b598093871f8ab834dd3c453b149a02bded1421a420163769c87783f43351eccd5be614856b152d939 WHIRLPOOL 5d0527ef71b4983f046828e27abb92ccb935ad0a4d34e3aa1c0618d7f580a058b2ede73189280f56638e6bac3d522519b0aa0a4a087253b8418db863e7c0e02b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI="3" | ||
|
||
ETYPE="headers" | ||
H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" | ||
inherit kernel-2 | ||
detect_version | ||
|
||
PATCH_VER="1" | ||
SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz | ||
${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}" | ||
|
||
KEYWORDS="~*" | ||
|
||
DEPEND="app-arch/xz-utils | ||
dev-lang/perl" | ||
RDEPEND="" | ||
|
||
S=${WORKDIR}/gentoo-headers-base-${PV} | ||
|
||
src_unpack() { | ||
unpack ${A} | ||
} | ||
|
||
src_prepare() { | ||
[[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} | ||
} | ||
|
||
src_install() { | ||
kernel-2_src_install | ||
cd "${D}" | ||
egrep -r \ | ||
-e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ | ||
-e '\<([us](8|16|32|64))\>' \ | ||
. | ||
headers___fix $(find -type f) | ||
|
||
egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h | ||
|
||
# hrm, build system sucks | ||
find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f | ||
|
||
# provided by libdrm (for now?) | ||
rm -rf "${D}"/$(kernel_header_destdir)/drm | ||
} | ||
|
||
src_test() { | ||
emake ARCH=$(tc-arch-kernel) headers_check || die | ||
} |
Oops, something went wrong.