From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4899D138010 for ; Sat, 29 Sep 2012 23:26:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB532E06F7; Sat, 29 Sep 2012 23:26:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6530EE06F7 for ; Sat, 29 Sep 2012 23:26:38 +0000 (UTC) Received: from hornbill.gentoo.org (unknown [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7416233D73D for ; Sat, 29 Sep 2012 23:26:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3109AE5449 for ; Sat, 29 Sep 2012 23:26:36 +0000 (UTC) From: "Magnus Granberg" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" Message-ID: <1348961099.7f7ba617058812ae3207b83028b604e16235940d.zorry@gentoo> Subject: [gentoo-commits] proj/hardened-dev:testing commit in: sys-devel/gcc/, eclass/ X-VCS-Repository: proj/hardened-dev X-VCS-Files: eclass/toolchain.eclass eclass/toolchain.eclass~ sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild X-VCS-Directories: sys-devel/gcc/ eclass/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: 7f7ba617058812ae3207b83028b604e16235940d X-VCS-Branch: testing Date: Sat, 29 Sep 2012 23:26:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c502630f-662c-4bcc-822b-8679b453ad78 X-Archives-Hash: c9e91c7345767350120c43e89f561426 commit: 7f7ba617058812ae3207b83028b604e16235940d Author: Magnus Granberg gentoo org> AuthorDate: Sat Sep 29 23:24:59 2012 +0000 Commit: Magnus Granberg gentoo org> CommitDate: Sat Sep 29 23:24:59 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=7f7ba617 update gcc-4.8 repo --- eclass/toolchain.eclass | 8 ++++---- eclass/{toolchain.eclass => toolchain.eclass~} | 10 +++++----- ...20729.ebuild => gcc-4.8.0_alpha20120909.ebuild} | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 0740488..6ef4355 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -951,6 +951,7 @@ src_prepare() { eautoreconf done cd "${S}" + autogen Makefile.def elibtoolize --portage --shallow --no-uclibc gnuconfig_update @@ -1057,9 +1058,6 @@ src_configure() { # users to enable that option, and pull in the additional library. In 4.6, # the dependency is no longer required. confgcc+=" --enable-lto" - - [[ $(tc-is-softfloat) == "yes" ]] && confgcc+=" --with-float=soft" - [[ $(tc-is-hardfloat) == "yes" ]] && confgcc+=" --with-float=hard" # Native Language Support if use nls ; then @@ -1071,9 +1069,10 @@ src_configure() { # reasonably sane globals (hopefully) confgcc+=" \ --with-system-zlib \ - --disable-werror \ --enable-secureplt" +# --disable-werror \ + gcc-compiler-configure || die if is_crosscompile ; then @@ -1115,6 +1114,7 @@ src_configure() { *) confgcc+=" --enable-threads=posix" ;; esac + in_iuse bootstrap && confgcc+=" --enable-bootstrap" fi # __cxa_atexit is "essential for fully standards-compliant handling of # destructors", but apparently requires glibc. diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass~ similarity index 99% copy from eclass/toolchain.eclass copy to eclass/toolchain.eclass~ index 0740488..8e3c0a4 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass~ @@ -946,11 +946,12 @@ src_prepare() { # Fixup libtool to correctly generate .la files with portage cd "${S}" eautoreconf - for subdirs in gcc ; do + for subdirs in gcc libcpp ; do cd "${S}/${subdirs}/" eautoreconf done cd "${S}" + autogen Makefile.def elibtoolize --portage --shallow --no-uclibc gnuconfig_update @@ -1057,9 +1058,6 @@ src_configure() { # users to enable that option, and pull in the additional library. In 4.6, # the dependency is no longer required. confgcc+=" --enable-lto" - - [[ $(tc-is-softfloat) == "yes" ]] && confgcc+=" --with-float=soft" - [[ $(tc-is-hardfloat) == "yes" ]] && confgcc+=" --with-float=hard" # Native Language Support if use nls ; then @@ -1071,9 +1069,10 @@ src_configure() { # reasonably sane globals (hopefully) confgcc+=" \ --with-system-zlib \ - --disable-werror \ --enable-secureplt" +# --disable-werror \ + gcc-compiler-configure || die if is_crosscompile ; then @@ -1115,6 +1114,7 @@ src_configure() { *) confgcc+=" --enable-threads=posix" ;; esac + in_iuse bootstrap && confgcc+=" --enable-bootstrap" fi # __cxa_atexit is "essential for fully standards-compliant handling of # destructors", but apparently requires glibc. diff --git a/sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild b/sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild similarity index 96% rename from sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild rename to sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild index bf2c159..1acd584 100644 --- a/sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild +++ b/sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild,v 1.9 2012/03/15 20:21:44 vapier Exp $ EAPI=4 -#PATCH_VER="1.4" +PATCH_VER="1.0" inherit toolchain