public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2013-07-05 22:29 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2013-07-05 22:29 UTC (permalink / raw
  To: gentoo-commits

commit:     eab787f1a3821ec60ba3bf49e5dbd6efd345171e
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  5 22:31:07 2013 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Jul  5 22:31:07 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=eab787f1

sys-devel/gcc: changes needed to build against musl

See: https://github.com/rofl0r/sabotage/blob/master/pkg/gcc473
lines 45-53

Package-Manager: portage-2.1.12.2
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-devel/gcc/gcc-4.7.3-r99.ebuild | 33 ++++++++++-----------------------
 1 file changed, 10 insertions(+), 23 deletions(-)

diff --git a/sys-devel/gcc/gcc-4.7.3-r99.ebuild b/sys-devel/gcc/gcc-4.7.3-r99.ebuild
index 68c98af..976f011 100644
--- a/sys-devel/gcc/gcc-4.7.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.7.3-r99.ebuild
@@ -18,7 +18,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
 SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
 #end Hardened stuff
 
-inherit toolchain
+inherit toolchain eutils
 
 DESCRIPTION="The GNU Compiler Collection"
 
@@ -28,27 +28,21 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~spar
 
 RDEPEND=""
 DEPEND="${RDEPEND}
-	elibc_glibc? ( >=sys-libs/glibc-2.8 )
 	>=${CATEGORY}/binutils-2.18"
 
-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
+	toolchain_src_unpack
 
-	# 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"
+	if use elibc_musl; then
+		cd "${S}"
+		sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
+		mv libstdc\+\+-v3/config/os/gnu-linux libstdc\+\+-v3/config/os/gnu-linux.org
+		cp -r libstdc\+\+-v3/config/os/generic libstdc\+\+-v3/config/os/gnu-linux
+		cp libstdc++-v3/config/os/gnu-linux.org/arm-eabi-extra.ver libstdc++-v3/config/os/gnu-linux/
+		mv libitm/config/linux/x86 libitm/config/linux/x86_glibc
+		cp -r libitm/config/generic libitm/config/linux/x86
 	fi
 
-	toolchain_src_unpack
-
 	use vanilla && return 0
 
 	[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
@@ -56,11 +50,4 @@ src_unpack() {
 
 pkg_setup() {
 	toolchain_pkg_setup
-
-	if use lto ; then
-		ewarn
-		ewarn "LTO support is still experimental and unstable."
-		ewarn "Any bugs resulting from the use of LTO will not be fixed."
-		ewarn
-	fi
 }


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-01-26 16:27 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-01-26 16:27 UTC (permalink / raw
  To: gentoo-commits

commit:     6dda96651d6a1ec966640d16b4c771c93bad8f57
Author:     layman <layman <AT> localhost>
AuthorDate: Sun Jan 26 16:23:58 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 16:27:11 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=6dda9665

sys-devel/gcc: use /usr/etc/ld-musl-x86_64.path for library paths

Package-Manager: portage-2.2.7

---
 sys-devel/gcc/gcc-4.7.3-r99.ebuild | 44 ++++++++++++++++++++------------------
 1 file changed, 23 insertions(+), 21 deletions(-)

diff --git a/sys-devel/gcc/gcc-4.7.3-r99.ebuild b/sys-devel/gcc/gcc-4.7.3-r99.ebuild
index 3a5a93d..f5c9989 100644
--- a/sys-devel/gcc/gcc-4.7.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.7.3-r99.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.3.ebuild,v 1.2 2013/05/20 10:56:06 aballier Exp $
 
-EAPI=4
+EAPI="2"
 
-PATCH_VER="1.0"
+PATCH_VER="1.4"
 UCLIBC_VER="1.0"
 
 # Hardened gcc 4 stuff
@@ -20,20 +20,29 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
 SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
 #end Hardened stuff
 
-inherit toolchain eutils
+inherit eutils 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="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -amd64-fbsd -x86-fbsd"
+KEYWORDS="amd64"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
+	elibc_glibc? ( >=sys-libs/glibc-2.8 )
 	>=${CATEGORY}/binutils-2.18"
 
-src_unpack() {
-	toolchain_src_unpack
+if [[ ${CATEGORY} != cross-* ]] ; then
+	PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
+fi
+
+src_prepare() {
+	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
 
 	if use elibc_musl; then
 		cd "${S}"
@@ -43,24 +52,17 @@ src_unpack() {
 		cp libstdc++-v3/config/os/gnu-linux.org/arm-eabi-extra.ver libstdc++-v3/config/os/gnu-linux/
 		mv libitm/config/linux/x86 libitm/config/linux/x86_glibc
 		cp -r libitm/config/generic libitm/config/linux/x86
-
 		epatch "${FILESDIR}"/${P}-musl-linker-path.patch
 	fi
 
-	use vanilla && return 0
-
-	[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
-}
+	# 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
 
-src_install() {
-	toolchain_src_install
+	toolchain_src_prepare
 
-	# Because /usr/lib/gcc/.. is not in musl search path
-	# cp-ing libgcc_s.so.1 is the safest way but it does
-	# mess up gcc-config which will need patching for this.
-	cp "${D}"/usr/lib/gcc/${CHOST}/${PV}/libgcc_s.so.1 "${D}"/usr/lib
-}
+	use vanilla && return 0
 
-pkg_setup() {
-	toolchain_pkg_setup
+	[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
 }


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-08-20 14:35 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-08-20 14:35 UTC (permalink / raw
  To: gentoo-commits

commit:     5f996bf62dfc5da4ddd95f06c05ab0286d25dcb5
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 20 14:37:34 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Aug 20 14:37:34 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=5f996bf6

sys-devel/gcc-4.8.3-r99: fails to build on amd64 and i686

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-devel/gcc/gcc-4.8.3-r99.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc/gcc-4.8.3-r99.ebuild b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
index df540ce..fae3205 100644
--- a/sys-devel/gcc/gcc-4.8.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
@@ -28,7 +28,7 @@ DESCRIPTION="The GNU Compiler Collection"
 
 LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+"
 
-KEYWORDS="amd64 arm ~mips x86"
+KEYWORDS=""
 
 RDEPEND=""
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-08-20 15:04 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-08-20 15:04 UTC (permalink / raw
  To: gentoo-commits

commit:     6cf1942c9ccee9cbabf362ea727ef1f449fd8014
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 20 14:37:34 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Aug 20 15:06:12 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=6cf1942c

sys-devel/gcc: fix patch pathname

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-devel/gcc/gcc-4.7.4-r99.ebuild | 2 +-
 sys-devel/gcc/gcc-4.8.3-r99.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-devel/gcc/gcc-4.7.4-r99.ebuild b/sys-devel/gcc/gcc-4.7.4-r99.ebuild
index f3a472b..ea62b60 100644
--- a/sys-devel/gcc/gcc-4.7.4-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.7.4-r99.ebuild
@@ -56,7 +56,7 @@ src_prepare() {
 		cp libstdc++-v3/config/os/gnu-linux.org/arm-eabi-extra.ver libstdc++-v3/config/os/gnu-linux/
 		mv libitm/config/linux/x86 libitm/config/linux/x86_glibc
 		cp -r libitm/config/generic libitm/config/linux/x86
-		epatch "${FILESDIR}"/${P}-musl-linker-path.patch
+		epatch "${FILESDIR}"/${PN}-4.7.3-musl-linker-path.patch
 	fi
 
 	use vanilla && return 0

diff --git a/sys-devel/gcc/gcc-4.8.3-r99.ebuild b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
index df540ce..987c682 100644
--- a/sys-devel/gcc/gcc-4.8.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
@@ -28,7 +28,7 @@ DESCRIPTION="The GNU Compiler Collection"
 
 LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+"
 
-KEYWORDS="amd64 arm ~mips x86"
+KEYWORDS="~amd64 ~arm ~mips ~x86"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
@@ -56,6 +56,7 @@ src_prepare() {
 		cp libstdc++-v3/config/os/gnu-linux.org/arm-eabi-extra.ver libstdc++-v3/config/os/gnu-linux/
 		mv libitm/config/linux/x86 libitm/config/linux/x86_glibc
 		cp -r libitm/config/generic libitm/config/linux/x86
+		epatch "${FILESDIR}"/${PN}-4.7.3-musl-linker-path.patch
 	fi
 
 	use vanilla && return 0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-08-20 19:34 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-08-20 19:34 UTC (permalink / raw
  To: gentoo-commits

commit:     4766355c3ec3665080ca153ba22e2664674a9e24
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 20 19:36:27 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Aug 20 19:36:27 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=4766355c

sys-devel/gcc-4.7.4: switch to EAPI=2, bug #520346

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-devel/gcc/gcc-4.7.4-r99.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc/gcc-4.7.4-r99.ebuild b/sys-devel/gcc/gcc-4.7.4-r99.ebuild
index ea62b60..0eef441 100644
--- a/sys-devel/gcc/gcc-4.7.4-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.7.4-r99.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.3.ebuild,v 1.2 2013/05/20 10:56:06 aballier Exp $
 
-EAPI="4"
+EAPI="2"
 
 PATCH_VER="1.1"
 UCLIBC_VER="1.0"


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-08-21  0:55 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-08-21  0:55 UTC (permalink / raw
  To: gentoo-commits

commit:     5b44a1303170a64536f2f4129a66ed09019042bc
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 21 00:58:03 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Aug 21 00:58:03 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=5b44a130

sys-devel/gcc-4.8.3-r99: remove ~mips to prevent it building

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-devel/gcc/gcc-4.8.3-r99.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc/gcc-4.8.3-r99.ebuild b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
index 987c682..4a64149 100644
--- a/sys-devel/gcc/gcc-4.8.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
@@ -28,7 +28,7 @@ DESCRIPTION="The GNU Compiler Collection"
 
 LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+"
 
-KEYWORDS="~amd64 ~arm ~mips ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
 
 RDEPEND=""
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-11-01 16:14 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-11-01 16:14 UTC (permalink / raw
  To: gentoo-commits

commit:     0214e3940c8e677ed822757d08e653f5b387fa90
Author:     Felix Janda <felix.janda <AT> posteo <DOT> de>
AuthorDate: Thu Oct 30 21:14:21 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Nov  1 16:15:16 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=0214e394

sys-devel/gcc-4.8.3: amd64 stable

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

---
 sys-devel/gcc/gcc-4.8.3-r99.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc/gcc-4.8.3-r99.ebuild b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
index deb1c76..e4fffcd 100644
--- a/sys-devel/gcc/gcc-4.8.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
@@ -28,7 +28,7 @@ DESCRIPTION="The GNU Compiler Collection"
 
 LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+"
 
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 
 RDEPEND=""
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-11-03 15:41 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-11-03 15:41 UTC (permalink / raw
  To: gentoo-commits

commit:     2b2c2bcbe54a11344fb5369827b81c2cc0e14f26
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  3 15:43:28 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Nov  3 15:43:28 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=2b2c2bcb

sys-devel/gcc: mark gcc-4.8.3 stable on arm and x86

Package-Manager: portage-2.2.8-r2
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-devel/gcc/gcc-4.8.3-r99.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc/gcc-4.8.3-r99.ebuild b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
index e4fffcd..ec0f018 100644
--- a/sys-devel/gcc/gcc-4.8.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
@@ -28,7 +28,7 @@ DESCRIPTION="The GNU Compiler Collection"
 
 LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+"
 
-KEYWORDS="amd64 ~arm ~x86"
+KEYWORDS="amd64 arm x86"
 
 RDEPEND=""
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-11-04  0:08 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-11-04  0:08 UTC (permalink / raw
  To: gentoo-commits

commit:     a83e2ef19176363919dfb54f5463122811e00950
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  4 00:10:31 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Nov  4 00:10:31 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=a83e2ef1

sys-devel/gcc: bring up to date with mainline

Package-Manager: portage-2.2.8-r2
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-devel/gcc/gcc-4.7.4-r99.ebuild | 4 ----
 sys-devel/gcc/gcc-4.8.3-r99.ebuild | 6 +-----
 sys-devel/gcc/metadata.xml         | 1 +
 3 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/sys-devel/gcc/gcc-4.7.4-r99.ebuild b/sys-devel/gcc/gcc-4.7.4-r99.ebuild
index 0eef441..d8b0cc0 100644
--- a/sys-devel/gcc/gcc-4.7.4-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.7.4-r99.ebuild
@@ -24,10 +24,6 @@ SSP_MUSL_STABLE="amd64 arm ppc x86"
 
 inherit eutils 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="amd64 arm ~mips x86"
 
 RDEPEND=""

diff --git a/sys-devel/gcc/gcc-4.8.3-r99.ebuild b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
index ec0f018..43e2ecf 100644
--- a/sys-devel/gcc/gcc-4.8.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
@@ -19,15 +19,11 @@ SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
 # uclibc need to be >= 0.9.33
 SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
 PIE_MUSL_STABLE="amd64 arm ppc mips x86"
-SSP_MUSL_STABLE="amd64 arm ppc mips x86"
+SSP_MUSL_STABLE="amd64 arm ppc mips"
 #end Hardened stuff
 
 inherit eutils 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="amd64 arm x86"
 
 RDEPEND=""

diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml
index 3098af0..0b0c8ff 100644
--- a/sys-devel/gcc/metadata.xml
+++ b/sys-devel/gcc/metadata.xml
@@ -22,5 +22,6 @@
     <flag name="objc-gc">Build support for the Objective C code language Garbage
       Collector</flag>
     <flag name="regression-test">Run the testsuite and install the results (requires FEATURES=test)</flag>
+    <flag name="sanitize">Build support various sanitizer functions (ASAN/TSAN/etc...)</flag>
   </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2014-11-04 18:53 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2014-11-04 18:53 UTC (permalink / raw
  To: gentoo-commits

commit:     797cfd09b1997e81fba6e339d567e6769ef493fa
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  4 18:51:36 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Nov  4 18:51:36 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=797cfd09

sys-devel/gcc: mark ~mips and ~ppc

---
 sys-devel/gcc/gcc-4.8.3-r99.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc/gcc-4.8.3-r99.ebuild b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
index 99f7990..491f8e7 100644
--- a/sys-devel/gcc/gcc-4.8.3-r99.ebuild
+++ b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
@@ -24,7 +24,7 @@ SSP_MUSL_STABLE="amd64 arm ppc mips"
 
 inherit eutils toolchain
 
-KEYWORDS="amd64 arm x86"
+KEYWORDS="amd64 arm ~mips ~ppc x86"
 
 RDEPEND=""
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2015-04-01 23:44 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2015-04-01 23:44 UTC (permalink / raw
  To: gentoo-commits

commit:     c510d156262a60efaec3d742437c770f203f4538
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  1 23:46:15 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Apr  1 23:46:15 2015 +0000
URL:        https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=c510d156

sys-devel/gcc: bump to 4.8.4

Package-Manager: portage-2.2.14
RepoMan-Options: --force
Manifest-Sign-Key: 0xF52D4BBA

 sys-devel/gcc/gcc-4.8.4-r99.ebuild | 64 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/sys-devel/gcc/gcc-4.8.4-r99.ebuild b/sys-devel/gcc/gcc-4.8.4-r99.ebuild
new file mode 100644
index 0000000..33b9881
--- /dev/null
+++ b/sys-devel/gcc/gcc-4.8.4-r99.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.2.ebuild,v 1.9 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="4"
+
+PATCH_VER="1.4"
+UCLIBC_VER="1.0"
+
+# Hardened gcc 4 stuff
+PIE_VER="0.6.1"
+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 mips ppc ppc64 arm ia64"
+PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64"
+SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
+# uclibc need tls and nptl support for SSP support
+# uclibc need to be >= 0.9.33
+SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
+PIE_MUSL_STABLE="amd64 arm ppc mips x86"
+SSP_MUSL_STABLE="amd64 arm ppc mips"
+#end Hardened stuff
+
+inherit eutils toolchain
+
+KEYWORDS="amd64 arm ~mips ~ppc x86"
+
+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_prepare() {
+	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
+
+	toolchain_src_prepare
+
+	if use elibc_musl; then
+		cd "${S}"
+		sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
+		mv libstdc\+\+-v3/config/os/gnu-linux libstdc\+\+-v3/config/os/gnu-linux.org
+		cp -r libstdc\+\+-v3/config/os/generic libstdc\+\+-v3/config/os/gnu-linux
+		cp libstdc++-v3/config/os/gnu-linux.org/arm-eabi-extra.ver libstdc++-v3/config/os/gnu-linux/
+		mv libitm/config/linux/x86 libitm/config/linux/x86_glibc
+		cp -r libitm/config/generic libitm/config/linux/x86
+		epatch "${FILESDIR}"/${PN}-4.8.3-musl-linker-path.patch
+		epatch "${FILESDIR}"/${PN}-4.8.3-secure-plt.patch
+		epatch "${FILESDIR}"/${PN}-4.8.3-musl-res_state.patch
+		epatch "${FILESDIR}"/${PN}-4.8.3-musl-fix-libc5-assumption.patch
+	fi
+
+	use vanilla && return 0
+	#Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs.
+	[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch
+}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/
@ 2015-05-24 15:44 Anthony G. Basile
  0 siblings, 0 replies; 12+ messages in thread
From: Anthony G. Basile @ 2015-05-24 15:44 UTC (permalink / raw
  To: gentoo-commits

commit:     1569630345bee1591eac763c794e2bbb02567276
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 15:44:41 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun May 24 15:44:41 2015 +0000
URL:        https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=15696303

sys-devel/gcc: drop 4.8.3.

Package-Manager: portage-2.2.18
Manifest-Sign-Key: 0xF52D4BBA

 sys-devel/gcc/gcc-4.8.3-r99.ebuild | 64 --------------------------------------
 1 file changed, 64 deletions(-)

diff --git a/sys-devel/gcc/gcc-4.8.3-r99.ebuild b/sys-devel/gcc/gcc-4.8.3-r99.ebuild
deleted file mode 100644
index 491f8e7..0000000
--- a/sys-devel/gcc/gcc-4.8.3-r99.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.2.ebuild,v 1.9 2014/01/19 01:51:34 dirtyepic Exp $
-
-EAPI="4"
-
-PATCH_VER="1.1"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="0.5.9"
-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 mips ppc ppc64 arm ia64"
-PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64"
-SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
-# uclibc need tls and nptl support for SSP support
-# uclibc need to be >= 0.9.33
-SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
-PIE_MUSL_STABLE="amd64 arm ppc mips x86"
-SSP_MUSL_STABLE="amd64 arm ppc mips"
-#end Hardened stuff
-
-inherit eutils toolchain
-
-KEYWORDS="amd64 arm ~mips ~ppc x86"
-
-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_prepare() {
-	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
-
-	toolchain_src_prepare
-
-	if use elibc_musl; then
-		cd "${S}"
-		sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
-		mv libstdc\+\+-v3/config/os/gnu-linux libstdc\+\+-v3/config/os/gnu-linux.org
-		cp -r libstdc\+\+-v3/config/os/generic libstdc\+\+-v3/config/os/gnu-linux
-		cp libstdc++-v3/config/os/gnu-linux.org/arm-eabi-extra.ver libstdc++-v3/config/os/gnu-linux/
-		mv libitm/config/linux/x86 libitm/config/linux/x86_glibc
-		cp -r libitm/config/generic libitm/config/linux/x86
-		epatch "${FILESDIR}"/${PN}-4.8.3-musl-linker-path.patch
-		epatch "${FILESDIR}"/${PN}-4.8.3-secure-plt.patch
-		epatch "${FILESDIR}"/${PN}-4.8.3-musl-res_state.patch
-		epatch "${FILESDIR}"/${PN}-4.8.3-musl-fix-libc5-assumption.patch
-	fi
-
-	use vanilla && return 0
-	#Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs.
-	[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch
-}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-05-24 15:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-03 15:41 [gentoo-commits] proj/hardened-dev:musl commit in: sys-devel/gcc/ Anthony G. Basile
  -- strict thread matches above, loose matches on Subject: below --
2015-05-24 15:44 Anthony G. Basile
2015-04-01 23:44 Anthony G. Basile
2014-11-04 18:53 Anthony G. Basile
2014-11-04  0:08 Anthony G. Basile
2014-11-01 16:14 Anthony G. Basile
2014-08-21  0:55 Anthony G. Basile
2014-08-20 19:34 Anthony G. Basile
2014-08-20 15:04 Anthony G. Basile
2014-08-20 14:35 Anthony G. Basile
2014-01-26 16:27 Anthony G. Basile
2013-07-05 22:29 Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox