Gentoo Archives: gentoo-commits

From: Magnus Granberg <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:testing commit in: sys-devel/gcc/, eclass/
Date: Sat, 29 Sep 2012 23:26:46
Message-Id: 1348961099.7f7ba617058812ae3207b83028b604e16235940d.zorry@gentoo
1 commit: 7f7ba617058812ae3207b83028b604e16235940d
2 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 29 23:24:59 2012 +0000
4 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 29 23:24:59 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=7f7ba617
7
8 update gcc-4.8 repo
9
10 ---
11 eclass/toolchain.eclass | 8 ++++----
12 eclass/{toolchain.eclass => toolchain.eclass~} | 10 +++++-----
13 ...20729.ebuild => gcc-4.8.0_alpha20120909.ebuild} | 2 +-
14 3 files changed, 10 insertions(+), 10 deletions(-)
15
16 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
17 index 0740488..6ef4355 100644
18 --- a/eclass/toolchain.eclass
19 +++ b/eclass/toolchain.eclass
20 @@ -951,6 +951,7 @@ src_prepare() {
21 eautoreconf
22 done
23 cd "${S}"
24 + autogen Makefile.def
25 elibtoolize --portage --shallow --no-uclibc
26
27 gnuconfig_update
28 @@ -1057,9 +1058,6 @@ src_configure() {
29 # users to enable that option, and pull in the additional library. In 4.6,
30 # the dependency is no longer required.
31 confgcc+=" --enable-lto"
32 -
33 - [[ $(tc-is-softfloat) == "yes" ]] && confgcc+=" --with-float=soft"
34 - [[ $(tc-is-hardfloat) == "yes" ]] && confgcc+=" --with-float=hard"
35
36 # Native Language Support
37 if use nls ; then
38 @@ -1071,9 +1069,10 @@ src_configure() {
39 # reasonably sane globals (hopefully)
40 confgcc+=" \
41 --with-system-zlib \
42 - --disable-werror \
43 --enable-secureplt"
44
45 +# --disable-werror \
46 +
47 gcc-compiler-configure || die
48
49 if is_crosscompile ; then
50 @@ -1115,6 +1114,7 @@ src_configure() {
51 *)
52 confgcc+=" --enable-threads=posix" ;;
53 esac
54 + in_iuse bootstrap && confgcc+=" --enable-bootstrap"
55 fi
56 # __cxa_atexit is "essential for fully standards-compliant handling of
57 # destructors", but apparently requires glibc.
58
59 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass~
60 similarity index 99%
61 copy from eclass/toolchain.eclass
62 copy to eclass/toolchain.eclass~
63 index 0740488..8e3c0a4 100644
64 --- a/eclass/toolchain.eclass
65 +++ b/eclass/toolchain.eclass~
66 @@ -946,11 +946,12 @@ src_prepare() {
67 # Fixup libtool to correctly generate .la files with portage
68 cd "${S}"
69 eautoreconf
70 - for subdirs in gcc ; do
71 + for subdirs in gcc libcpp ; do
72 cd "${S}/${subdirs}/"
73 eautoreconf
74 done
75 cd "${S}"
76 + autogen Makefile.def
77 elibtoolize --portage --shallow --no-uclibc
78
79 gnuconfig_update
80 @@ -1057,9 +1058,6 @@ src_configure() {
81 # users to enable that option, and pull in the additional library. In 4.6,
82 # the dependency is no longer required.
83 confgcc+=" --enable-lto"
84 -
85 - [[ $(tc-is-softfloat) == "yes" ]] && confgcc+=" --with-float=soft"
86 - [[ $(tc-is-hardfloat) == "yes" ]] && confgcc+=" --with-float=hard"
87
88 # Native Language Support
89 if use nls ; then
90 @@ -1071,9 +1069,10 @@ src_configure() {
91 # reasonably sane globals (hopefully)
92 confgcc+=" \
93 --with-system-zlib \
94 - --disable-werror \
95 --enable-secureplt"
96
97 +# --disable-werror \
98 +
99 gcc-compiler-configure || die
100
101 if is_crosscompile ; then
102 @@ -1115,6 +1114,7 @@ src_configure() {
103 *)
104 confgcc+=" --enable-threads=posix" ;;
105 esac
106 + in_iuse bootstrap && confgcc+=" --enable-bootstrap"
107 fi
108 # __cxa_atexit is "essential for fully standards-compliant handling of
109 # destructors", but apparently requires glibc.
110
111 diff --git a/sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild b/sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild
112 similarity index 96%
113 rename from sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild
114 rename to sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild
115 index bf2c159..1acd584 100644
116 --- a/sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild
117 +++ b/sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild
118 @@ -3,7 +3,7 @@
119 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild,v 1.9 2012/03/15 20:21:44 vapier Exp $
120 EAPI=4
121
122 -#PATCH_VER="1.4"
123 +PATCH_VER="1.0"
124
125 inherit toolchain