diff options
author | 2009-05-08 03:56:00 +0200 | |
---|---|---|
committer | 2009-05-08 03:56:00 +0200 | |
commit | df5a0089f5608936bae544dbc8ae681fd907df8e (patch) | |
tree | ecdbdfc4c9373af91f904965f625700f1ae4dbe4 | |
parent | Updated toolchain.eclass to support graphite (diff) | |
download | hardened-dev-df5a0089f5608936bae544dbc8ae681fd907df8e.tar.gz hardened-dev-df5a0089f5608936bae544dbc8ae681fd907df8e.tar.bz2 hardened-dev-df5a0089f5608936bae544dbc8ae681fd907df8e.zip |
New espf patch and added gentoo's patchset to GCC 4.4.0-r3
-rw-r--r-- | sys-devel/gcc/Manifest | 5 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-4.4.0-r3.ebuild | 84 |
2 files changed, 89 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 085abf22..55aaadac 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -1,8 +1,13 @@ DIST ecj-4.4.jar 1377431 RMD160 48fa985f763838bed750aa64a2fa997734438099 SHA1 da254944309a8387aa39323fe7bb7216a4518311 SHA256 9de193ea393ed50d868b730bad6916f7a8ef4ba80216f8606d3e1a0dd886e74b DIST gcc-4.4.0-espf-0.2.1.tar.bz2 9153 RMD160 cf5866c8789baac02c197b601b73cdbdcd990698 SHA1 662deacfd789f021d89db9044ebdeb8a39622088 SHA256 3db5ac50aaaa8fbf1167cc595e6303b93c5a9540dc27feb9f1a9d3dc08f0af49 DIST gcc-4.4.0-espf-0.2.2.tar.bz2 9106 RMD160 c3660c660d48798fa9545931fc777a9f9482d1fb SHA1 51b269cb2dbd92353f8704292d192fcd9c84c5eb SHA256 f3027533f2182db76a7d557bd8120919db811387a0d703c35c49a099cc33a3dd +DIST gcc-4.4.0-espf-0.2.3.tar.bz2 9238 RMD160 9dc5f1e67db35bd19616e67366d9da435caec25f SHA1 4c7563eb98ec3a9b67d2f2eaa9ae7cc6ff7424f5 SHA256 fd9ae0a8f7b10d80a2123e4ca897da6acfb3267a96cef7fb9bb2f6b696664ff4 +DIST gcc-4.4.0-patches-1.0.tar.bz2 11025 RMD160 902aa65dcf284430be336fa014dff6ba65b95fae SHA1 ecb7e9880c8cbb45b7e298513cc7accb2aab7723 SHA256 a8640fc6158dffa010ca47a98535f4aa4a848aae5924dcf3f515fdcc45e2d0c2 DIST gcc-4.4.0-specs-0.1.0.tar.bz2 620 RMD160 a849cc603164490523f64f4afb1b7e6e675e974d SHA1 97f05bda85780bd8980123c15c4aaf6653bdb8a7 SHA256 9ea461c1c9893e3d6879c58a6f1d9c8dea61cd7af33633737a4425ebca66c589 DIST gcc-4.4.0-specs-0.1.1.tar.bz2 566 RMD160 cbd2fada6b44ef463cfe0c5adb42fce38c14aa35 SHA1 e0a7791e9762684c67f2383220eea904fbfed77f SHA256 cc35d3e484b6393793fa943ae73324791333b654936a5ef3c090a71c148f06e5 +DIST gcc-4.4.0-specs-0.1.2.tar.bz2 507 RMD160 d2e503580b31f9ed98ea087e3aed4c82391ccc30 SHA1 488e16426ed5fc4f1ecf8facf5040ac6885092da SHA256 e02eefc37bf3f75f5a67f0eb33ebd65b4d354c995819053fea2f1ef4034bf642 +DIST gcc-4.4.0-uclibc-patches-1.0.tar.bz2 2281 RMD160 a3314543c11c23664b7c07a0e73ee53730cd7024 SHA1 fbf2a53e8ec1868bddad7ad8037adbbe9a350e7f SHA256 d483c547357dd4b6de0ad7bc44ec77330caf9ecf97af41a52e49f76af8567709 DIST gcc-4.4.0.tar.bz2 62708198 RMD160 174989b1b6b35d0c10cfa9eee1b51948bf5c4fb3 SHA1 9215af6beb900ca1eef1d6a40c3dabe990203b25 SHA256 c5fe6f4c62ee7288765c3800ec9d21ad936bdcb5a04374cc09bd5a4232b836c9 EBUILD gcc-4.4.0-r1.ebuild 2359 RMD160 79bec1faa4d4359e51d674262df0da31451bd8fb SHA1 e4b7ee7863378a4985529ebcd21214a07ecc6111 SHA256 b625318b56f99ea498741cf0073224e39d9dce8f6ea44dd2822b930fc416cdac EBUILD gcc-4.4.0-r2.ebuild 2339 RMD160 61e0ec11287c49c63f0065f0a0c8342add12991d SHA1 5eedc1ca3e1724659402562665bf1e4c75b74db7 SHA256 fe9dbf53713d1929fe165ec1dce4ac309cf178e3898c9c1d562d333e20181092 +EBUILD gcc-4.4.0-r3.ebuild 2328 RMD160 d0bfd6bc36af68459a8dd3e3e87603cadabac50a SHA1 900a3bf768ed7806cb820230e975337a28827334 SHA256 aa1b3fc9d0f61194e4fe6a76113d523a18be0f50213c3a135c1790929fb2e6db diff --git a/sys-devel/gcc/gcc-4.4.0-r3.ebuild b/sys-devel/gcc/gcc-4.4.0-r3.ebuild new file mode 100644 index 00000000..e72184a1 --- /dev/null +++ b/sys-devel/gcc/gcc-4.4.0-r3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.0-r3.ebuild,v 1.0 2009/05/8 03:00:00 zorry Exp $ + +PATCH_VER="1.0" +UCLIBC_VER="1.0" + +ETYPE="gcc-compiler" +GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files" + +# Hardened gcc 4 stuff +ESPF_VER="0.2.3" +SPECS_VER="0.1.2" + +# arch/libc configurations known to be stable or untested with {PIE,SSP,FORTIFY}-by-default +ESPF_GLIBC_STABLE="amd64 x86" +ESPF_UCLIBC_STABLE="" +# Hardened end + +inherit toolchain + +DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking" + +LICENSE="GPL-2 LGPL-2.1" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" + +RDEPEND=">=sys-libs/zlib-1.1.4 + >=sys-devel/gcc-config-1.4 + virtual/libiconv + >=dev-libs/gmp-4.2.1 + >=dev-libs/mpfr-2.3 + graphite? ( + >=dev-libs/ppl-0.10 + >=dev-libs/cloog-ppl-0.15 + ) + !build? ( + gcj? ( + gtk? ( + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXtst + x11-proto/xproto + x11-proto/xextproto + >=x11-libs/gtk+-2.2 + x11-libs/pango + ) + >=media-libs/libart_lgpl-2.1 + app-arch/zip + app-arch/unzip + ) + >=sys-libs/ncurses-5.2-r2 + nls? ( sys-devel/gettext ) + )" +DEPEND="${RDEPEND} + test? ( >=sys-devel/autogen >=dev-util/dejagnu ) + >=sys-apps/texinfo-4.2-r4 + >=sys-devel/bison-1.875 + amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) ) + >=${CATEGORY}/binutils-2.18" +PDEPEND=">=sys-devel/gcc-config-1.4" +if [[ ${CATEGORY} != cross-* ]] ; then + PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" +fi + +src_unpack() { + gcc_src_unpack + + use vanilla && return 0 + + sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200 + + [[ ${CHOST} == ${CTARGET} ]] && epatch "${GCC_FILESDIR}"/gcc-spec-env.patch + + [[ ${CTARGET} == *-softfloat-* ]] && epatch "${GCC_FILESDIR}"/4.3.2/gcc-4.3.2-softfloat.patch + + if use hardened ; then + einfo "Hardened toolchain for GCC 4.4 is made by zorry, psm and xake" + einfo "http://forums.gentoo.org/viewtopic-t-668885.html" + einfo "http://hardened.gentooexperimental.org/trac/secure" + einfo "Thanks KernelOfTruth, dw and everyone else helping testing," + einfo "suggesting fixes and other things we have missed." + einfo "/zorry" + fi +} |