* [gentoo-commits] proj/hardened-dev:master commit in: sys-devel/gcc/, sys-devel/gcc/files/awk/, sys-devel/gcc/files/
@ 2013-02-15 2:25 Magnus Granberg
0 siblings, 0 replies; 3+ messages in thread
From: Magnus Granberg @ 2013-02-15 2:25 UTC (permalink / raw
To: gentoo-commits
commit: 4ed106d8cf1f8bd790a73e79758b08691084b3e0
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 15 02:24:19 2013 +0000
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Fri Feb 15 02:24:19 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=4ed106d8
add gcc-4.8.0 20130210 for testing the piepatchset
---
sys-devel/gcc/files/awk/fixlafiles.awk | 314 ++++++++++++++++++++
sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la | 335 ++++++++++++++++++++++
sys-devel/gcc/files/c89 | 20 ++
sys-devel/gcc/files/c99 | 21 ++
sys-devel/gcc/files/fix_libtool_files.sh | 68 +++++
sys-devel/gcc/files/gcc-configure-LANG.patch | 64 ++++
sys-devel/gcc/files/gcc-configure-texinfo.patch | 16 +
sys-devel/gcc/files/gcc-spec-env.patch | 42 +++
sys-devel/gcc/files/mkinfodir | 233 +++++++++++++++
sys-devel/gcc/files/pro-police-docs.patch | 74 +++++
sys-devel/gcc/gcc-4.8.0_alpha20130210.ebuild | 64 ++++
11 files changed, 1251 insertions(+), 0 deletions(-)
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk
new file mode 100644
index 0000000..ffade96
--- /dev/null
+++ b/sys-devel/gcc/files/awk/fixlafiles.awk
@@ -0,0 +1,314 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.15 2008/02/19 05:47:29 vapier Exp $
+
+#
+# Helper functions
+#
+function printn(string) {
+ printf("%s", string)
+}
+function einfo(string) {
+ printf(" \033[32;01m*\033[0m %s\n", string)
+}
+function einfon(string) {
+ printf(" \033[32;01m*\033[0m %s", string)
+}
+function ewarn(string) {
+ printf(" \033[33;01m*\033[0m %s\n", string)
+}
+function ewarnn(string) {
+ printf(" \033[33;01m*\033[0m %s", string)
+}
+function eerror(string) {
+ printf(" \033[31;01m*\033[0m %s\n", string)
+}
+
+#
+# assert(condition, errmsg)
+# assert that a condition is true. Otherwise exit.
+#
+function assert(condition, string) {
+ if (! condition) {
+ printf("%s:%d: assertion failed: %s\n",
+ FILENAME, FNR, string) > "/dev/stderr"
+ _assert_exit = 1
+ exit 1
+ }
+}
+
+#
+# system(command, return)
+# wrapper that normalizes return codes ...
+#
+function dosystem(command, ret) {
+ ret = 0
+ ret = system(command)
+ if (ret == 0)
+ return 1
+ else
+ return 0
+}
+
+BEGIN {
+ #
+ # Get our variables from environment
+ #
+ OLDVER = ENVIRON["OLDVER"]
+ OLDCHOST = ENVIRON["OLDCHOST"]
+
+ if (OLDVER == "") {
+ eerror("Could not get OLDVER!");
+ exit 1
+ }
+
+ # Setup some sane defaults
+ LIBCOUNT = 2
+ HAVE_GCC34 = 0
+ DIRLIST[1] = "/lib"
+ DIRLIST[2] = "/usr/lib"
+
+ #
+ # Walk /etc/ld.so.conf to discover all our library paths
+ #
+ pipe = "cat /etc/ld.so.conf | sort 2>/dev/null"
+ while(((pipe) | getline ldsoconf_data) > 0) {
+ if (ldsoconf_data !~ /^[[:space:]]*#/) {
+ if (ldsoconf_data == "") continue
+
+ # Remove any trailing comments
+ sub(/#.*$/, "", ldsoconf_data)
+ # Remove any trailing spaces
+ sub(/[[:space:]]+$/, "", ldsoconf_data)
+
+ # If there's more than one path per line, split
+ # it up as if they were sep lines
+ split(ldsoconf_data, nodes, /[:,[:space:]]/)
+
+ # Now add the rest from ld.so.conf
+ for (x in nodes) {
+ # wtf does this line do ?
+ sub(/=.*/, "", nodes[x])
+ # Prune trailing /
+ sub(/\/$/, "", nodes[x])
+
+ if (nodes[x] == "") continue
+
+ #
+ # Drop the directory if its a child directory of
+ # one that was already added ...
+ # For example, if we have:
+ # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss
+ # We really just want to save /usr/lib /usr/libexec
+ #
+ CHILD = 0
+ for (y in DIRLIST) {
+ if (nodes[x] ~ "^" DIRLIST[y] "(/|$)") {
+ CHILD = 1
+ break
+ }
+ }
+ if (CHILD) continue
+
+ DIRLIST[++LIBCOUNT] = nodes[x]
+ }
+ }
+ }
+ close(pipe)
+
+ #
+ # Get line from gcc's output containing CHOST
+ #
+ pipe = "gcc -print-file-name=libgcc.a 2>/dev/null"
+ if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) {
+ close(pipe)
+
+ # If we fail to get the CHOST, see if we can get the CHOST
+ # portage thinks we are using ...
+ pipe = "/usr/bin/portageq envvar 'CHOST'"
+ assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST")
+ } else {
+ # Check pre gcc-3.4.x versions
+ CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST)
+
+ if (CHOST == TMP_CHOST || CHOST == "") {
+ # Check gcc-3.4.x or later
+ CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST);
+
+ if (CHOST == TMP_CHOST || CHOST == "")
+ CHOST = ""
+ else
+ HAVE_GCC34 = 1
+ }
+ }
+ close(pipe)
+
+ if (CHOST == "") {
+ eerror("Could not get gcc's CHOST!")
+ exit 1
+ }
+
+ if (OLDCHOST != "")
+ if (OLDCHOST == CHOST)
+ OLDCHOST = ""
+
+ GCCLIBPREFIX_OLD = "/usr/lib/gcc-lib/"
+ GCCLIBPREFIX_NEW = "/usr/lib/gcc/"
+
+ if (HAVE_GCC34)
+ GCCLIBPREFIX = GCCLIBPREFIX_NEW
+ else
+ GCCLIBPREFIX = GCCLIBPREFIX_OLD
+
+ GCCLIB = GCCLIBPREFIX CHOST
+
+ if (OLDCHOST != "") {
+ OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST
+ OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST
+ }
+
+ # Get current gcc's version
+ pipe = "gcc -dumpversion"
+ assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)")
+ close(pipe)
+
+ if (NEWVER == "") {
+ eerror("Could not get gcc's version!")
+ exit 1
+ }
+
+ # Nothing to do ?
+ if ((OLDVER == NEWVER) && (OLDCHOST == ""))
+ exit 0
+
+ #
+ # Ok, now let's scan for the .la files and actually fix them up
+ #
+ for (x = 1; x <= LIBCOUNT; x++) {
+ # Do nothing if the target dir is gcc's internal library path
+ if (DIRLIST[x] ~ GCCLIBPREFIX_OLD ||
+ DIRLIST[x] ~ GCCLIBPREFIX_NEW)
+ continue
+
+ einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...")
+
+ pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null"
+ while (((pipe) | getline la_files) > 0) {
+
+ # Do nothing if the .la file is located in gcc's internal lib path
+ if (la_files ~ GCCLIBPREFIX_OLD ||
+ la_files ~ GCCLIBPREFIX_NEW)
+ continue
+
+ CHANGED = 0
+ CHOST_CHANGED = 0
+
+ # See if we need to fix the .la file
+ while ((getline la_data < (la_files)) > 0) {
+ if (OLDCHOST != "") {
+ if ((gsub(OLDGCCLIB1 "[/[:space:]]+",
+ GCCLIB, la_data) > 0) ||
+ (gsub(OLDGCCLIB2 "[/[:space:]]+",
+ GCCLIB, la_data) > 0)) {
+ CHANGED = 1
+ CHOST_CHANGED = 1
+ }
+ }
+ if (OLDVER != NEWVER) {
+ if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*",
+ GCCLIB "/" NEWVER, la_data) > 0) ||
+ (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*",
+ GCCLIB "/" NEWVER, la_data) > 0))
+ CHANGED = 1
+ }
+ }
+ close(la_files)
+
+ # Do the actual changes in a second loop, as we can then
+ # verify that CHOST_CHANGED among things is correct ...
+ if (CHANGED) {
+ ewarnn(" FIXING: " la_files " ...")
+
+ if (CHANGED)
+ printn("[")
+
+ # Clear the temp file (removing rather than '>foo' is better
+ # out of a security point of view?)
+ dosystem("rm -f " la_files ".new")
+
+ while ((getline la_data < (la_files)) > 0) {
+ if (OLDCHOST != "") {
+ tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)",
+ GCCLIB "\\1", "g", la_data)
+ tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)",
+ GCCLIB "\\1", "g", tmpstr)
+
+ if (la_data != tmpstr) {
+ printn("c")
+ la_data = tmpstr
+ }
+
+ if (CHOST_CHANGED > 0) {
+ # We try to be careful about CHOST changes outside
+ # the gcc library path (meaning we cannot match it
+ # via /GCCLIBPREFIX CHOST/) ...
+
+ # Catch:
+ #
+ # dependency_libs=' -L/usr/CHOST/{bin,lib}'
+ #
+ gsub("-L/usr/" OLDCHOST "/",
+ "-L/usr/" CHOST "/", la_data)
+ # Catch:
+ #
+ # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib'
+ #
+ la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/",
+ "\\1/" CHOST "/", "g", la_data)
+ }
+ }
+
+ if (OLDVER != NEWVER) {
+ # Catch:
+ #
+ # dependency_libs=' -L/usr/lib/gcc/CHOST/VER'
+ #
+ tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)",
+ GCCLIB "/" NEWVER "\\1", "g", la_data)
+ tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)",
+ GCCLIB "/" NEWVER "\\1", "g", tmpstr)
+
+ if (la_data != tmpstr) {
+ # Catch:
+ #
+ # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib'
+ #
+ # in cases where we have gcc34
+ tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)",
+ GCCLIBPREFIX "\\1", "g", tmpstr)
+ tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)",
+ GCCLIBPREFIX "\\1", "g", tmpstr)
+ printn("v")
+ la_data = tmpstr
+ }
+ }
+
+ print la_data >> (la_files ".new")
+ }
+
+ if (CHANGED)
+ print "]"
+
+ close(la_files)
+ close(la_files ".new")
+
+ assert(dosystem("mv -f " la_files ".new " la_files),
+ "dosystem(\"mv -f " la_files ".new " la_files "\")")
+ }
+ }
+
+ close(pipe)
+ }
+}
+
+# vim:ts=4
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
new file mode 100644
index 0000000..346bd16
--- /dev/null
+++ b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
@@ -0,0 +1,335 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la,v 1.4 2010/03/19 23:53:07 vapier Exp $
+
+#
+# Helper functions
+#
+function printn(string) {
+ printf("%s", string)
+}
+function einfo(string) {
+ printf(" \033[32;01m*\033[0m %s\n", string)
+}
+function einfon(string) {
+ printf(" \033[32;01m*\033[0m %s", string)
+}
+function ewarn(string) {
+ printf(" \033[33;01m*\033[0m %s\n", string)
+}
+function ewarnn(string) {
+ printf(" \033[33;01m*\033[0m %s", string)
+}
+function eerror(string) {
+ printf(" \033[31;01m*\033[0m %s\n", string)
+}
+
+#
+# assert(condition, errmsg)
+# assert that a condition is true. Otherwise exit.
+#
+function assert(condition, string) {
+ if (! condition) {
+ printf("%s:%d: assertion failed: %s\n",
+ FILENAME, FNR, string) > "/dev/stderr"
+ _assert_exit = 1
+ exit 1
+ }
+}
+
+#
+# system(command, return)
+# wrapper that normalizes return codes ...
+#
+function dosystem(command, ret) {
+ ret = 0
+ ret = system(command)
+ if (ret == 0)
+ return 1
+ else
+ return 0
+}
+
+#
+# parse_ld_conf(config_file)
+#
+function parse_ld_conf(conf, pipe, ldsoconf_data, CHILD, y) {
+ pipe = "cd /etc; cat " conf " | sort 2>/dev/null"
+ while(((pipe) | getline ldsoconf_data) > 0) {
+ if (ldsoconf_data ~ /^[[:space:]]*#/)
+ continue
+ if (ldsoconf_data == "")
+ continue
+
+ # Handle the "include" keyword
+ if (ldsoconf_data ~ /^include /) {
+ sub(/^include /, "", ldsoconf_data)
+ parse_ld_conf(ldsoconf_data)
+ continue
+ }
+
+ # Remove any trailing comments
+ sub(/#.*$/, "", ldsoconf_data)
+ # Remove any trailing spaces
+ sub(/[[:space:]]+$/, "", ldsoconf_data)
+ # Eat duplicate slashes
+ sub(/\/\//, "/", ldsoconf_data)
+ # Prune trailing /
+ sub(/\/$/, "", ldsoconf_data)
+
+ #
+ # Drop the directory if its a child directory of
+ # one that was already added ...
+ # For example, if we have:
+ # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss
+ # We really just want to save /usr/lib /usr/libexec
+ #
+ CHILD = 0
+ for (y in DIRLIST) {
+ if (ldsoconf_data ~ "^" DIRLIST[y] "(/|$)") {
+ CHILD = 1
+ break
+ }
+ }
+ if (CHILD) continue
+
+ DIRLIST[++LIBCOUNT] = ldsoconf_data
+ }
+ close(pipe)
+}
+
+BEGIN {
+ #
+ # Get our variables from environment
+ #
+ OLDVER = ENVIRON["OLDVER"]
+ OLDCHOST = ENVIRON["OLDCHOST"]
+
+ if (OLDVER == "") {
+ eerror("Could not get OLDVER!");
+ exit 1
+ }
+
+ # Setup some sane defaults
+ LIBCOUNT = 2
+ HAVE_GCC34 = 0
+ DIRLIST[1] = "/lib"
+ DIRLIST[2] = "/usr/lib"
+
+ #
+ # Walk /etc/ld.so.conf to discover all our library paths
+ #
+ parse_ld_conf("/etc/ld.so.conf")
+
+ #
+ # Get line from gcc's output containing CHOST
+ #
+ pipe = "gcc -print-file-name=libgcc.a 2>/dev/null"
+ if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) {
+ close(pipe)
+
+ # If we fail to get the CHOST, see if we can get the CHOST
+ # portage thinks we are using ...
+ pipe = "/usr/bin/portageq envvar 'CHOST'"
+ assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST")
+ } else {
+ # Check pre gcc-3.4.x versions
+ CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST)
+
+ if (CHOST == TMP_CHOST || CHOST == "") {
+ # Check gcc-3.4.x or later
+ CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST);
+
+ if (CHOST == TMP_CHOST || CHOST == "")
+ CHOST = ""
+ else
+ HAVE_GCC34 = 1
+ }
+ }
+ close(pipe)
+
+ if (CHOST == "") {
+ eerror("Could not get gcc's CHOST!")
+ exit 1
+ }
+
+ if (OLDCHOST != "")
+ if (OLDCHOST == CHOST)
+ OLDCHOST = ""
+
+ GCCLIBPREFIX_OLD = "/usr/lib/gcc-lib/"
+ GCCLIBPREFIX_NEW = "/usr/lib/gcc/"
+
+ if (HAVE_GCC34)
+ GCCLIBPREFIX = GCCLIBPREFIX_NEW
+ else
+ GCCLIBPREFIX = GCCLIBPREFIX_OLD
+
+ GCCLIB = GCCLIBPREFIX CHOST
+
+ if (OLDCHOST != "") {
+ OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST
+ OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST
+ }
+
+ # Get current gcc's version
+ pipe = "gcc -dumpversion"
+ assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)")
+ close(pipe)
+
+ if (NEWVER == "") {
+ eerror("Could not get gcc's version!")
+ exit 1
+ }
+
+ # Nothing to do ?
+ # NB: Do not check for (OLDVER == NEWVER) anymore, as we might need to
+ # replace libstdc++.la ....
+ if ((OLDVER == "") && (OLDCHOST == ""))
+ exit 0
+
+ #
+ # Ok, now let's scan for the .la files and actually fix them up
+ #
+ for (x = 1; x <= LIBCOUNT; x++) {
+ # Do nothing if the target dir is gcc's internal library path
+ if (DIRLIST[x] ~ GCCLIBPREFIX_OLD ||
+ DIRLIST[x] ~ GCCLIBPREFIX_NEW)
+ continue
+
+ einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...")
+
+ pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null"
+ while (((pipe) | getline la_files) > 0) {
+
+ # Do nothing if the .la file is located in gcc's internal lib path
+ if (la_files ~ GCCLIBPREFIX_OLD ||
+ la_files ~ GCCLIBPREFIX_NEW)
+ continue
+
+ CHANGED = 0
+ CHOST_CHANGED = 0
+
+ # See if we need to fix the .la file
+ while ((getline la_data < (la_files)) > 0) {
+ if (OLDCHOST != "") {
+ if ((gsub(OLDGCCLIB1 "[/[:space:]]+",
+ GCCLIB, la_data) > 0) ||
+ (gsub(OLDGCCLIB2 "[/[:space:]]+",
+ GCCLIB, la_data) > 0)) {
+ CHANGED = 1
+ CHOST_CHANGED = 1
+ }
+ }
+ if (OLDVER != NEWVER) {
+ if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*",
+ GCCLIB "/" NEWVER, la_data) > 0) ||
+ (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*",
+ GCCLIB "/" NEWVER, la_data) > 0))
+ CHANGED = 1
+ }
+ # We now check if we have libstdc++.la, as we remove the
+ # libtool linker scripts for gcc ...
+ # We do this last, as we only match the new paths
+ if (gsub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la",
+ "-lstdc++", la_data) > 0)
+ CHANGED = 1
+ }
+ close(la_files)
+
+ # Do the actual changes in a second loop, as we can then
+ # verify that CHOST_CHANGED among things is correct ...
+ if (CHANGED) {
+ ewarnn(" FIXING: " la_files " ...[")
+
+ # Clear the temp file (removing rather than '>foo' is better
+ # out of a security point of view?)
+ dosystem("rm -f " la_files ".new")
+
+ while ((getline la_data < (la_files)) > 0) {
+ if (OLDCHOST != "") {
+ tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)",
+ GCCLIB "\\1", "g", la_data)
+ tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)",
+ GCCLIB "\\1", "g", tmpstr)
+
+ if (la_data != tmpstr) {
+ printn("c")
+ la_data = tmpstr
+ }
+
+ if (CHOST_CHANGED > 0) {
+ # We try to be careful about CHOST changes outside
+ # the gcc library path (meaning we cannot match it
+ # via /GCCLIBPREFIX CHOST/) ...
+
+ # Catch:
+ #
+ # dependency_libs=' -L/usr/CHOST/{bin,lib}'
+ #
+ gsub("-L/usr/" OLDCHOST "/",
+ "-L/usr/" CHOST "/", la_data)
+ # Catch:
+ #
+ # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib'
+ #
+ la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/",
+ "\\1/" CHOST "/", "g", la_data)
+ }
+ }
+
+ if (OLDVER != NEWVER) {
+ # Catch:
+ #
+ # dependency_libs=' -L/usr/lib/gcc/CHOST/VER'
+ #
+ tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)",
+ GCCLIB "/" NEWVER "\\1", "g", la_data)
+ tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)",
+ GCCLIB "/" NEWVER "\\1", "g", tmpstr)
+
+ if (la_data != tmpstr) {
+ # Catch:
+ #
+ # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib'
+ #
+ # in cases where we have gcc34
+ tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)",
+ GCCLIBPREFIX "\\1", "g", tmpstr)
+ tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)",
+ GCCLIBPREFIX "\\1", "g", tmpstr)
+ printn("v")
+ la_data = tmpstr
+ }
+ }
+
+ # We now check if we have libstdc++.la, as we remove the
+ # libtool linker scripts for gcc and any referencese in any
+ # libtool linker scripts.
+ # We do this last, as we only match the new paths
+ tmpstr = gensub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la",
+ "-lstdc++", "g", la_data);
+ if (la_data != tmpstr) {
+ printn("l")
+ la_data = tmpstr
+ }
+
+ print la_data >> (la_files ".new")
+ }
+
+ if (CHANGED)
+ print "]"
+
+ close(la_files)
+ close(la_files ".new")
+
+ assert(dosystem("mv -f " la_files ".new " la_files),
+ "dosystem(\"mv -f " la_files ".new " la_files "\")")
+ }
+ }
+
+ close(pipe)
+ }
+}
+
+# vim:ts=4
diff --git a/sys-devel/gcc/files/c89 b/sys-devel/gcc/files/c89
new file mode 100755
index 0000000..cee0325
--- /dev/null
+++ b/sys-devel/gcc/files/c89
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+# Call the appropriate C compiler with options to accept ANSI/ISO C
+# The following options are the same (as of gcc-2.95):
+# -ansi
+# -std=c89
+# -std=iso9899:1990
+
+for i; do
+ case "$i" in
+ -ansi|-std=c89|-std=iso9899:1990)
+ ;;
+ -std=*)
+ echo >&2 "`basename $0` called with non ANSI/ISO C90 option $i"
+ exit 1
+ ;;
+ esac
+done
+
+exec gcc -std=c89 -pedantic -U_FORTIFY_SOURCE "$@"
diff --git a/sys-devel/gcc/files/c99 b/sys-devel/gcc/files/c99
new file mode 100755
index 0000000..c954209
--- /dev/null
+++ b/sys-devel/gcc/files/c99
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+# Call the appropriate C compiler with options to accept ANSI/ISO C
+# The following options are the same (as of gcc-3.3):
+# -std=c99
+# -std=c9x
+# -std=iso9899:1999
+# -std=iso9899:199x
+
+for i; do
+ case "$i" in
+ -std=c9[9x]|-std=iso9899:199[9x])
+ ;;
+ -ansi|-std=*)
+ echo >&2 "`basename $0` called with non ANSI/ISO C99 option $i"
+ exit 1
+ ;;
+ esac
+done
+
+exec gcc -std=c99 -pedantic -U_FORTIFY_SOURCE ${1+"$@"}
diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh
new file mode 100644
index 0000000..c55250b
--- /dev/null
+++ b/sys-devel/gcc/files/fix_libtool_files.sh
@@ -0,0 +1,68 @@
+#!/bin/sh
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.16 2012/05/18 21:28:56 vapier Exp $
+
+usage() {
+cat << "USAGE_END"
+Usage: fix_libtool_files.sh <old-gcc-version> [--oldarch <old-CHOST>]
+
+ Where <old-gcc-version> is the version number of the
+ previous gcc version. For example, if you updated to
+ gcc-3.2.1, and you had gcc-3.2 installed, run:
+
+ # fix_libtool_files.sh 3.2
+
+ If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu
+ but you now have CHOST as i686-pc-linux-gnu, run:
+
+ # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu
+
+ Note that if only the CHOST and not the version changed, you can run
+ it with the current version and the '--oldarch <old-CHOST>' arguments,
+ and it will do the expected:
+
+ # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu
+
+USAGE_END
+ exit 1
+}
+
+case $2 in
+--oldarch) [ $# -ne 3 ] && usage ;;
+*) [ $# -ne 1 ] && usage ;;
+esac
+
+ARGV1=$1
+ARGV2=$2
+ARGV3=$3
+
+. /etc/profile || exit 1
+. /etc/init.d/functions.sh || exit 1
+
+if [ ${EUID:-0} -ne 0 ] ; then
+ eerror "${0##*/}: Must be root."
+ exit 1
+fi
+
+# make sure the files come out sane
+umask 0022
+
+OLDCHOST=
+[ "${ARGV2}" = "--oldarch" ] && OLDCHOST=${ARGV3}
+
+AWKDIR="/usr/share/gcc-data"
+
+if [ ! -r "${AWKDIR}/fixlafiles.awk" ] ; then
+ eerror "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!"
+ exit 1
+fi
+
+OLDVER=${ARGV1}
+
+export OLDVER OLDCHOST
+
+einfo "Scanning libtool files for hardcoded gcc library paths..."
+exec gawk -f "${AWKDIR}/fixlafiles.awk"
+
+# vim:ts=4
diff --git a/sys-devel/gcc/files/gcc-configure-LANG.patch b/sys-devel/gcc/files/gcc-configure-LANG.patch
new file mode 100644
index 0000000..d1b1b03
--- /dev/null
+++ b/sys-devel/gcc/files/gcc-configure-LANG.patch
@@ -0,0 +1,64 @@
+The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
+option parsing, it may break.
+
+http://bugs.gentoo.org/103483
+
+--- configure
++++ configure
+@@ -54,6 +54,19 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+
++# NLS nuisances.
++for as_var in \
++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++ LC_TELEPHONE LC_TIME
++do
++ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++ eval $as_var=C; export $as_var
++ else
++ unset $as_var
++ fi
++done
++
+ # Initialize some other variables.
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+@@ -452,16 +463,6 @@
+ esac
+ done
+
+-# NLS nuisances.
+-# Only set these to C if already set. These must not be set unconditionally
+-# because not all systems understand e.g. LANG=C (notably SCO).
+-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
+-# Non-C LC_CTYPE values break the ctype check.
+-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
+-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
+-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
+-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
+-
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -rf conftest* confdefs.h
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
+@@ -1850,6 +1850,19 @@
+ # Compiler output produced by configure, useful for debugging
+ # configure, is in ./config.log if it exists.
+
++# NLS nuisances.
++for as_var in \
++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++ LC_TELEPHONE LC_TIME
++do
++ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then
++ eval \$as_var=C; export \$as_var
++ else
++ unset \$as_var
++ fi
++done
++
+ ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
+ for ac_option
+ do
diff --git a/sys-devel/gcc/files/gcc-configure-texinfo.patch b/sys-devel/gcc/files/gcc-configure-texinfo.patch
new file mode 100644
index 0000000..ddc098d
--- /dev/null
+++ b/sys-devel/gcc/files/gcc-configure-texinfo.patch
@@ -0,0 +1,16 @@
+Chances are quite good that the installed makeinfo is sufficient.
+So ignore false positives where the makeinfo installed is so new
+that it violates the cheesy version grep.
+
+http://bugs.gentoo.org/198182
+
+--- configure
++++ configure
+@@ -3573,6 +3573,6 @@
+ :
+ else
+- MAKEINFO="$MISSING makeinfo"
++ :
+ fi
+ ;;
+
diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch
new file mode 100644
index 0000000..57e7567
--- /dev/null
+++ b/sys-devel/gcc/files/gcc-spec-env.patch
@@ -0,0 +1,42 @@
+ Add support for external spec file via the GCC_SPECS env var. This
+ allows us to easily control pie/ssp defaults with gcc-config profiles.
+
+ Original patch by Rob Holland
+ Extended to support multiple entries separated by ':' by Kevin F. Quinn
+ Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill
+
+--- gcc-4/gcc/gcc.c
++++ gcc-4/gcc/gcc.c
+@@ -6482,6 +6482,32 @@
+
+ /* Process any user specified specs in the order given on the command
+ line. */
++#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32))
++ /* Add specs listed in GCC_SPECS. Note; in the process of separating
++ * each spec listed, the string is overwritten at token boundaries
++ * (':') with '\0', an effect of strtok_r().
++ */
++ specs_file = getenv ("GCC_SPECS");
++ if (specs_file && (strlen(specs_file) > 0))
++ {
++ char *spec, *saveptr;
++ for (spec=strtok_r(specs_file,":",&saveptr);
++ spec!=NULL;
++ spec=strtok_r(NULL,":",&saveptr))
++ {
++ struct user_specs *user = (struct user_specs *)
++ xmalloc (sizeof (struct user_specs));
++
++ user->next = (struct user_specs *) 0;
++ user->filename = spec;
++ if (user_specs_tail)
++ user_specs_tail->next = user;
++ else
++ user_specs_head = user;
++ user_specs_tail = user;
++ }
++ }
++#endif
+ for (uptr = user_specs_head; uptr; uptr = uptr->next)
+ {
+ char *filename = find_a_file (&startfile_prefixes, uptr->filename,
diff --git a/sys-devel/gcc/files/mkinfodir b/sys-devel/gcc/files/mkinfodir
new file mode 100644
index 0000000..a62840e
--- /dev/null
+++ b/sys-devel/gcc/files/mkinfodir
@@ -0,0 +1,233 @@
+#!/bin/bash
+# $Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $
+# Generate the top-level Info node, given a directory of Info files
+# and (optionally) a skeleton file. The output will be suitable for a
+# top-level dir file. The skeleton file contains info topic names in the
+# order they should appear in the output. There are three special
+# lines that alter the behavior: a line consisting of just "--" causes
+# the next line to be echoed verbatim to the output. A line
+# containing just "%%" causes all the remaining filenames (wildcards
+# allowed) in the rest of the file to be ignored. A line containing
+# just "!!" exits the script when reached (unless preceded by a line
+# containing just "--"). Once the script reaches the end of the
+# skeleton file, it goes through the remaining files in the directory
+# in order, putting their entries at the end. The script will use the
+# ENTRY information in each info file if it exists. Otherwise it will
+# make a minimal entry.
+
+# sent by Jeffrey Osier <jeffrey@cygnus.com>, who thinks it came from
+# zoo@winternet.com (david d `zoo' zuhn)
+
+# modified 7 April 1995 by Joe Harrington <jh@tecate.gsfc.nasa.gov> to
+# take special flags
+
+INFODIR=$1
+if [ $# = 2 ] ; then
+ SKELETON=$2
+else
+ SKELETON=/dev/null
+fi
+
+skip=
+
+if [ $# -gt 2 ] ; then
+ echo usage: $0 info-directory [ skeleton-file ] 1>&2
+ exit 1
+elif [ -z "${INFODIR}" ] ; then
+ INFODIR="%%DEFAULT_INFO_DIR%%"
+else
+ true
+fi
+
+if [ ! -d ${INFODIR} ] ; then
+ echo "$0: first argument must specify a directory"
+ exit 1
+fi
+
+### output the dir header
+echo "-*- Text -*-"
+echo "This file was generated automatically by $0."
+echo "This version was generated on `date`"
+echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`"
+
+cat << moobler
+\$Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $
+This is the file .../info/dir, which contains the topmost node of the
+Info hierarchy. The first time you invoke Info you start off
+looking at that node, which is (dir)Top.
+\x1f
+File: dir Node: Top This is the top of the INFO tree
+
+ This (the Directory node) gives a menu of major topics.
+ Typing "q" exits, "?" lists all Info commands, "d" returns here,
+ "h" gives a primer for first-timers,
+ "mEmacs<Return>" visits the Emacs topic, etc.
+
+ In Emacs, you can click mouse button 2 on a menu item or cross reference
+ to select it.
+
+* Menu: The list of major topics begins on the next line.
+
+moobler
+
+### go through the list of files in the skeleton. If an info file
+### exists, grab the ENTRY information from it. If an entry exists
+### use it, otherwise create a minimal dir entry.
+###
+### Then remove that file from the list of existing files. If any
+### additional files remain (ones that don't have a skeleton entry),
+### then generate entries for those in the same way, putting the info for
+### those at the end....
+
+infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*\.gz$' | grep -v '\-[0-9]*$' | egrep -v '^dir$|^dir\.info$|^dir\.orig$')`
+
+# echoing gets clobbered by backquotes; we do it the hard way...
+lines=`wc $SKELETON | awk '{print $1}'`
+line=1
+while [ $lines -ge $line ] ; do
+ # Read one line from the file. This is so that we can echo lines with
+ # whitespace and quoted characters in them.
+ fileline=`awk NR==$line $SKELETON`
+
+ # flag fancy features
+ if [ ! -z "$echoline" ] ; then # echo line
+ echo "$fileline"
+ fileline=
+ echoline=
+ elif [ "${fileline}" = "--" ] ; then # should we echo the next line?
+ echoline=1
+ elif [ "${fileline}" = "%%" ] ; then # eliminate remaining files from dir?
+ skip=1
+ elif [ "${fileline}" = "!!" ] ; then # quit now
+ exit 0
+ fi
+
+ # handle files if they exist
+ for file in $fileline"" ; do # expand wildcards ("" handles blank lines)
+
+ fname=
+
+ if [ -z "$echoline" -a ! -z "$file" ] ; then
+
+ # Find the file to operate upon. Check both possible names.
+ infoname=`echo $file | sed 's/\.gz$//'`
+ infoname=`echo $infoname | sed 's/\.info$//'`
+ noext=
+ ext=
+ if [ -f ${INFODIR}/$infoname ] ; then
+ noext=$infoname
+ fi
+ if [ -f ${INFODIR}/${infoname}.info ] ; then
+ ext=${infoname}.info
+ fi
+ if [ -f ${INFODIR}/${infoname}.info.gz ] ; then
+ ext=${infoname}.info.gz
+ fi
+ # If it exists with both names take what was said in the file.
+ if [ ! -z "$ext" -a ! -z "$noext" ]; then
+ fname=$file
+ warn="### Warning: $ext and $noext both exist! Using ${file}. ###"
+ elif [ ! \( -z "$ext" -a -z "$noext" \) ]; then
+ # just take the name if it exists only once
+ fname=${noext}${ext}
+ fi
+
+ # if we found something and aren't skipping, do the entry
+ if [ ! -z "$fname" ] ; then
+ if [ -z "$skip" ] ; then
+
+ if [ ! -z "$warn" ] ; then # issue any warning
+ echo $warn
+ warn=
+ fi
+ if [ "${fname##*.}" = "gz" ] ; then
+ entry=`zcat ${INFODIR}/${fname} | sed -e '1,/START-INFO-DIR-ENTRY/d' \
+ -e '/END-INFO-DIR-ENTRY/,$d' `
+ else
+ entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
+ -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$fname`
+ fi
+ if [ ! -z "${entry}" ] ; then
+ echo "${entry}"
+ else
+ echo "* ${infoname}: (${infoname})."
+ fi
+ fi
+
+ # remove the name from the directory listing
+ infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${fname} / /" -e "s/ / /g"`
+
+ fi
+
+ fi
+
+ done
+
+ line=`expr $line + 1`
+done
+
+if [ -z "${infofiles}" ] ; then
+ exit 0
+elif [ $lines -gt 0 ]; then
+ echo
+fi
+
+# Sort remaining files by INFO-DIR-SECTION.
+prevsect=
+filesectdata=`(cd ${INFODIR}; fgrep INFO-DIR-SECTION /dev/null ${infofiles} | \
+ fgrep -v 'INFO-DIR-SECTION Miscellaneous' | \
+ sort -t: -k2 -k1 | tr ' ' '_')`
+for sectdata in ${filesectdata}; do
+ file=`echo ${sectdata} | cut -d: -f1`
+ section=`sed -n -e 's/^INFO-DIR-SECTION //p' ${INFODIR}/${file}`
+ infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${file} / /" -e "s/ / /g"`
+
+ if [ "${prevsect}" != "${section}" ] ; then
+ if [ ! -z "${prevsect}" ] ; then
+ echo ""
+ fi
+ echo "${section}"
+ prevsect="${section}"
+ fi
+ infoname=`echo $file | sed 's/\.gz$//'`
+ infoname=`echo $infoname | sed 's/\.info$//'`
+ if [ "${file##*.}" = "gz" ] ; then
+ entry=`zcat ${INFODIR}/$file | sed -e '1,/START-INFO-DIR-ENTRY/d' \
+ -e '/END-INFO-DIR-ENTRY/,$d' `
+ else
+ entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
+ -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file`
+ fi
+ if [ ! -z "${entry}" ] ; then
+ echo "${entry}"
+ elif [ ! -d "${INFODIR}/${file}" ] ; then
+ echo "* ${infoname}: (${infoname})."
+ fi
+done
+
+# Process miscellaneous files.
+for file in ${infofiles}; do
+ if [ ! -z "${prevsect}" ] ; then
+ echo ""
+ echo "Miscellaneous"
+ prevsect=""
+ fi
+
+ infoname=`echo $file | sed 's/\.gz$//'`
+ infoname=`echo $infoname | sed 's/\.info$//'`
+ if [ "${file##*.}" = "gz" ] ; then
+ entry=`zcat ${INFODIR}/${file} | sed -e '1,/START-INFO-DIR-ENTRY/d' \
+ -e '/END-INFO-DIR-ENTRY/,$d'`
+ else
+ entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
+ -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file`
+ fi
+
+
+ if [ ! -z "${entry}" ] ; then
+ echo "${entry}"
+ elif [ ! -d "${INFODIR}/${file}" ] ; then
+ echo "* ${infoname}: (${infoname})."
+ fi
+done
+
diff --git a/sys-devel/gcc/files/pro-police-docs.patch b/sys-devel/gcc/files/pro-police-docs.patch
new file mode 100644
index 0000000..091ea44
--- /dev/null
+++ b/sys-devel/gcc/files/pro-police-docs.patch
@@ -0,0 +1,74 @@
+Index: gcc/doc/invoke.texi
+===================================================================
+RCS file: /cvsroot/gcc/gcc/gcc/doc/invoke.texi,v
+retrieving revision 1.364
+diff -c -3 -p -r1.364 invoke.texi
+*** gcc/doc/invoke.texi 21 Nov 2003 11:42:58 -0000 1.364
+--- gcc/doc/invoke.texi 22 Nov 2003 08:12:35 -0000
+*************** in the following sections.
+*** 228,234 ****
+ -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol
+ -Wparentheses -Wpointer-arith -Wredundant-decls @gol
+ -Wreturn-type -Wsequence-point -Wshadow @gol
+! -Wsign-compare -Wstrict-aliasing @gol
+ -Wswitch -Wswitch-default -Wswitch-enum @gol
+ -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol
+ -Wunknown-pragmas -Wunreachable-code @gol
+--- 228,234 ----
+ -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol
+ -Wparentheses -Wpointer-arith -Wredundant-decls @gol
+ -Wreturn-type -Wsequence-point -Wshadow @gol
+! -Wsign-compare -Wstack-protector -Wstrict-aliasing @gol
+ -Wswitch -Wswitch-default -Wswitch-enum @gol
+ -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol
+ -Wunknown-pragmas -Wunreachable-code @gol
+*************** in the following sections.
+*** 681,686 ****
+--- 681,687 ----
+ -fshort-double -fshort-wchar @gol
+ -fverbose-asm -fpack-struct -fstack-check @gol
+ -fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol
++ -fstack-protector -fstack-protector-all @gol
+ -fargument-alias -fargument-noalias @gol
+ -fargument-noalias-global -fleading-underscore @gol
+ -ftls-model=@var{model} @gol
+*************** effectively. Often, the problem is that
+*** 3014,3019 ****
+--- 3015,3024 ----
+ complex; GCC will refuse to optimize programs when the optimization
+ itself is likely to take inordinate amounts of time.
+
++ @item -Wstack-protector
++ @opindex Wstack-protector
++ Warn when not issuing stack smashing protection for some reason
++
+ @item -Werror
+ @opindex Werror
+ Make all warnings into errors.
+*************** and grows downwards, you can use the fla
+*** 11474,11479 ****
+--- 11479,11502 ----
+ @option{-fstack-limit-symbol=__stack_limit} and
+ @option{-Wl,--defsym,__stack_limit=0x7ffe0000} to enforce a stack limit
+ of 128KB@. Note that this may only work with the GNU linker.
++
++ @item -fstack-protector
++ @item -fstack-protector-all
++ @opindex fstack-protector
++ @opindex fstack-protector-all
++ @opindex fno-stack-protector
++ Generate code to protect an application from a stack smashing
++ attack. The features are (1) the insertion of random value next to the
++ frame pointer to detect the integrity of the stack, (2) the reordering
++ of local variables to place buffers after pointers to avoid the
++ corruption of pointers that could be used to further corrupt arbitrary
++ memory locations, (3) the copying of pointers in function arguments to
++ an area preceding local variable buffers to prevent the corruption of
++ pointers that could be used to further corrupt arbitrary memory
++ locations, and the (4) omission of instrumentation code from some
++ functions to decrease the performance overhead. If the integrity
++ would be broken, the program is aborted. If no-stack-protector is
++ specified, instrumentation codes are generated at every functions.
+
+ @cindex aliasing of parameters
+ @cindex parameters, aliased
diff --git a/sys-devel/gcc/gcc-4.8.0_alpha20130210.ebuild b/sys-devel/gcc/gcc-4.8.0_alpha20130210.ebuild
new file mode 100644
index 0000000..1e822de
--- /dev/null
+++ b/sys-devel/gcc/gcc-4.8.0_alpha20130210.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.2.ebuild,v 1.7 2012/11/24 21:22:30 vapier Exp $
+
+PATCH_VER="1.0"
+#UCLIBC_VER="1.0"
+
+# Hardened gcc 4 stuff
+PIE_VER="0.5.6"
+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.2"
+
+KEYWORDS=""
+
+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
+
+ # 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."
+ ewarn "Any bugs resulting from the use of LTO will not be fixed."
+ ewarn
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-devel/gcc/, sys-devel/gcc/files/awk/, sys-devel/gcc/files/
@ 2013-04-05 13:20 Magnus Granberg
0 siblings, 0 replies; 3+ messages in thread
From: Magnus Granberg @ 2013-04-05 13:20 UTC (permalink / raw
To: gentoo-commits
commit: 27e92192452d34f436ad2524e87d01e8e3f8beaa
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 5 13:19:00 2013 +0000
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Fri Apr 5 13:19:00 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=27e92192
gcc 4.8 is in the tree
---
sys-devel/gcc/files/awk/fixlafiles.awk | 314 --------------------
sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la | 335 ----------------------
sys-devel/gcc/files/c89 | 20 --
sys-devel/gcc/files/c99 | 21 --
sys-devel/gcc/files/fix_libtool_files.sh | 68 -----
sys-devel/gcc/files/gcc-configure-LANG.patch | 64 ----
sys-devel/gcc/files/gcc-configure-texinfo.patch | 16 -
sys-devel/gcc/files/gcc-spec-env.patch | 42 ---
sys-devel/gcc/files/mkinfodir | 233 ---------------
sys-devel/gcc/files/pro-police-docs.patch | 74 -----
sys-devel/gcc/gcc-4.8.0.ebuild | 64 ----
11 files changed, 0 insertions(+), 1251 deletions(-)
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk
deleted file mode 100644
index ffade96..0000000
--- a/sys-devel/gcc/files/awk/fixlafiles.awk
+++ /dev/null
@@ -1,314 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.15 2008/02/19 05:47:29 vapier Exp $
-
-#
-# Helper functions
-#
-function printn(string) {
- printf("%s", string)
-}
-function einfo(string) {
- printf(" \033[32;01m*\033[0m %s\n", string)
-}
-function einfon(string) {
- printf(" \033[32;01m*\033[0m %s", string)
-}
-function ewarn(string) {
- printf(" \033[33;01m*\033[0m %s\n", string)
-}
-function ewarnn(string) {
- printf(" \033[33;01m*\033[0m %s", string)
-}
-function eerror(string) {
- printf(" \033[31;01m*\033[0m %s\n", string)
-}
-
-#
-# assert(condition, errmsg)
-# assert that a condition is true. Otherwise exit.
-#
-function assert(condition, string) {
- if (! condition) {
- printf("%s:%d: assertion failed: %s\n",
- FILENAME, FNR, string) > "/dev/stderr"
- _assert_exit = 1
- exit 1
- }
-}
-
-#
-# system(command, return)
-# wrapper that normalizes return codes ...
-#
-function dosystem(command, ret) {
- ret = 0
- ret = system(command)
- if (ret == 0)
- return 1
- else
- return 0
-}
-
-BEGIN {
- #
- # Get our variables from environment
- #
- OLDVER = ENVIRON["OLDVER"]
- OLDCHOST = ENVIRON["OLDCHOST"]
-
- if (OLDVER == "") {
- eerror("Could not get OLDVER!");
- exit 1
- }
-
- # Setup some sane defaults
- LIBCOUNT = 2
- HAVE_GCC34 = 0
- DIRLIST[1] = "/lib"
- DIRLIST[2] = "/usr/lib"
-
- #
- # Walk /etc/ld.so.conf to discover all our library paths
- #
- pipe = "cat /etc/ld.so.conf | sort 2>/dev/null"
- while(((pipe) | getline ldsoconf_data) > 0) {
- if (ldsoconf_data !~ /^[[:space:]]*#/) {
- if (ldsoconf_data == "") continue
-
- # Remove any trailing comments
- sub(/#.*$/, "", ldsoconf_data)
- # Remove any trailing spaces
- sub(/[[:space:]]+$/, "", ldsoconf_data)
-
- # If there's more than one path per line, split
- # it up as if they were sep lines
- split(ldsoconf_data, nodes, /[:,[:space:]]/)
-
- # Now add the rest from ld.so.conf
- for (x in nodes) {
- # wtf does this line do ?
- sub(/=.*/, "", nodes[x])
- # Prune trailing /
- sub(/\/$/, "", nodes[x])
-
- if (nodes[x] == "") continue
-
- #
- # Drop the directory if its a child directory of
- # one that was already added ...
- # For example, if we have:
- # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss
- # We really just want to save /usr/lib /usr/libexec
- #
- CHILD = 0
- for (y in DIRLIST) {
- if (nodes[x] ~ "^" DIRLIST[y] "(/|$)") {
- CHILD = 1
- break
- }
- }
- if (CHILD) continue
-
- DIRLIST[++LIBCOUNT] = nodes[x]
- }
- }
- }
- close(pipe)
-
- #
- # Get line from gcc's output containing CHOST
- #
- pipe = "gcc -print-file-name=libgcc.a 2>/dev/null"
- if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) {
- close(pipe)
-
- # If we fail to get the CHOST, see if we can get the CHOST
- # portage thinks we are using ...
- pipe = "/usr/bin/portageq envvar 'CHOST'"
- assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST")
- } else {
- # Check pre gcc-3.4.x versions
- CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST)
-
- if (CHOST == TMP_CHOST || CHOST == "") {
- # Check gcc-3.4.x or later
- CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST);
-
- if (CHOST == TMP_CHOST || CHOST == "")
- CHOST = ""
- else
- HAVE_GCC34 = 1
- }
- }
- close(pipe)
-
- if (CHOST == "") {
- eerror("Could not get gcc's CHOST!")
- exit 1
- }
-
- if (OLDCHOST != "")
- if (OLDCHOST == CHOST)
- OLDCHOST = ""
-
- GCCLIBPREFIX_OLD = "/usr/lib/gcc-lib/"
- GCCLIBPREFIX_NEW = "/usr/lib/gcc/"
-
- if (HAVE_GCC34)
- GCCLIBPREFIX = GCCLIBPREFIX_NEW
- else
- GCCLIBPREFIX = GCCLIBPREFIX_OLD
-
- GCCLIB = GCCLIBPREFIX CHOST
-
- if (OLDCHOST != "") {
- OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST
- OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST
- }
-
- # Get current gcc's version
- pipe = "gcc -dumpversion"
- assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)")
- close(pipe)
-
- if (NEWVER == "") {
- eerror("Could not get gcc's version!")
- exit 1
- }
-
- # Nothing to do ?
- if ((OLDVER == NEWVER) && (OLDCHOST == ""))
- exit 0
-
- #
- # Ok, now let's scan for the .la files and actually fix them up
- #
- for (x = 1; x <= LIBCOUNT; x++) {
- # Do nothing if the target dir is gcc's internal library path
- if (DIRLIST[x] ~ GCCLIBPREFIX_OLD ||
- DIRLIST[x] ~ GCCLIBPREFIX_NEW)
- continue
-
- einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...")
-
- pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null"
- while (((pipe) | getline la_files) > 0) {
-
- # Do nothing if the .la file is located in gcc's internal lib path
- if (la_files ~ GCCLIBPREFIX_OLD ||
- la_files ~ GCCLIBPREFIX_NEW)
- continue
-
- CHANGED = 0
- CHOST_CHANGED = 0
-
- # See if we need to fix the .la file
- while ((getline la_data < (la_files)) > 0) {
- if (OLDCHOST != "") {
- if ((gsub(OLDGCCLIB1 "[/[:space:]]+",
- GCCLIB, la_data) > 0) ||
- (gsub(OLDGCCLIB2 "[/[:space:]]+",
- GCCLIB, la_data) > 0)) {
- CHANGED = 1
- CHOST_CHANGED = 1
- }
- }
- if (OLDVER != NEWVER) {
- if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*",
- GCCLIB "/" NEWVER, la_data) > 0) ||
- (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*",
- GCCLIB "/" NEWVER, la_data) > 0))
- CHANGED = 1
- }
- }
- close(la_files)
-
- # Do the actual changes in a second loop, as we can then
- # verify that CHOST_CHANGED among things is correct ...
- if (CHANGED) {
- ewarnn(" FIXING: " la_files " ...")
-
- if (CHANGED)
- printn("[")
-
- # Clear the temp file (removing rather than '>foo' is better
- # out of a security point of view?)
- dosystem("rm -f " la_files ".new")
-
- while ((getline la_data < (la_files)) > 0) {
- if (OLDCHOST != "") {
- tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)",
- GCCLIB "\\1", "g", la_data)
- tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)",
- GCCLIB "\\1", "g", tmpstr)
-
- if (la_data != tmpstr) {
- printn("c")
- la_data = tmpstr
- }
-
- if (CHOST_CHANGED > 0) {
- # We try to be careful about CHOST changes outside
- # the gcc library path (meaning we cannot match it
- # via /GCCLIBPREFIX CHOST/) ...
-
- # Catch:
- #
- # dependency_libs=' -L/usr/CHOST/{bin,lib}'
- #
- gsub("-L/usr/" OLDCHOST "/",
- "-L/usr/" CHOST "/", la_data)
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib'
- #
- la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/",
- "\\1/" CHOST "/", "g", la_data)
- }
- }
-
- if (OLDVER != NEWVER) {
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc/CHOST/VER'
- #
- tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)",
- GCCLIB "/" NEWVER "\\1", "g", la_data)
- tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)",
- GCCLIB "/" NEWVER "\\1", "g", tmpstr)
-
- if (la_data != tmpstr) {
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib'
- #
- # in cases where we have gcc34
- tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)",
- GCCLIBPREFIX "\\1", "g", tmpstr)
- tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)",
- GCCLIBPREFIX "\\1", "g", tmpstr)
- printn("v")
- la_data = tmpstr
- }
- }
-
- print la_data >> (la_files ".new")
- }
-
- if (CHANGED)
- print "]"
-
- close(la_files)
- close(la_files ".new")
-
- assert(dosystem("mv -f " la_files ".new " la_files),
- "dosystem(\"mv -f " la_files ".new " la_files "\")")
- }
- }
-
- close(pipe)
- }
-}
-
-# vim:ts=4
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
deleted file mode 100644
index 346bd16..0000000
--- a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
+++ /dev/null
@@ -1,335 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la,v 1.4 2010/03/19 23:53:07 vapier Exp $
-
-#
-# Helper functions
-#
-function printn(string) {
- printf("%s", string)
-}
-function einfo(string) {
- printf(" \033[32;01m*\033[0m %s\n", string)
-}
-function einfon(string) {
- printf(" \033[32;01m*\033[0m %s", string)
-}
-function ewarn(string) {
- printf(" \033[33;01m*\033[0m %s\n", string)
-}
-function ewarnn(string) {
- printf(" \033[33;01m*\033[0m %s", string)
-}
-function eerror(string) {
- printf(" \033[31;01m*\033[0m %s\n", string)
-}
-
-#
-# assert(condition, errmsg)
-# assert that a condition is true. Otherwise exit.
-#
-function assert(condition, string) {
- if (! condition) {
- printf("%s:%d: assertion failed: %s\n",
- FILENAME, FNR, string) > "/dev/stderr"
- _assert_exit = 1
- exit 1
- }
-}
-
-#
-# system(command, return)
-# wrapper that normalizes return codes ...
-#
-function dosystem(command, ret) {
- ret = 0
- ret = system(command)
- if (ret == 0)
- return 1
- else
- return 0
-}
-
-#
-# parse_ld_conf(config_file)
-#
-function parse_ld_conf(conf, pipe, ldsoconf_data, CHILD, y) {
- pipe = "cd /etc; cat " conf " | sort 2>/dev/null"
- while(((pipe) | getline ldsoconf_data) > 0) {
- if (ldsoconf_data ~ /^[[:space:]]*#/)
- continue
- if (ldsoconf_data == "")
- continue
-
- # Handle the "include" keyword
- if (ldsoconf_data ~ /^include /) {
- sub(/^include /, "", ldsoconf_data)
- parse_ld_conf(ldsoconf_data)
- continue
- }
-
- # Remove any trailing comments
- sub(/#.*$/, "", ldsoconf_data)
- # Remove any trailing spaces
- sub(/[[:space:]]+$/, "", ldsoconf_data)
- # Eat duplicate slashes
- sub(/\/\//, "/", ldsoconf_data)
- # Prune trailing /
- sub(/\/$/, "", ldsoconf_data)
-
- #
- # Drop the directory if its a child directory of
- # one that was already added ...
- # For example, if we have:
- # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss
- # We really just want to save /usr/lib /usr/libexec
- #
- CHILD = 0
- for (y in DIRLIST) {
- if (ldsoconf_data ~ "^" DIRLIST[y] "(/|$)") {
- CHILD = 1
- break
- }
- }
- if (CHILD) continue
-
- DIRLIST[++LIBCOUNT] = ldsoconf_data
- }
- close(pipe)
-}
-
-BEGIN {
- #
- # Get our variables from environment
- #
- OLDVER = ENVIRON["OLDVER"]
- OLDCHOST = ENVIRON["OLDCHOST"]
-
- if (OLDVER == "") {
- eerror("Could not get OLDVER!");
- exit 1
- }
-
- # Setup some sane defaults
- LIBCOUNT = 2
- HAVE_GCC34 = 0
- DIRLIST[1] = "/lib"
- DIRLIST[2] = "/usr/lib"
-
- #
- # Walk /etc/ld.so.conf to discover all our library paths
- #
- parse_ld_conf("/etc/ld.so.conf")
-
- #
- # Get line from gcc's output containing CHOST
- #
- pipe = "gcc -print-file-name=libgcc.a 2>/dev/null"
- if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) {
- close(pipe)
-
- # If we fail to get the CHOST, see if we can get the CHOST
- # portage thinks we are using ...
- pipe = "/usr/bin/portageq envvar 'CHOST'"
- assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST")
- } else {
- # Check pre gcc-3.4.x versions
- CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST)
-
- if (CHOST == TMP_CHOST || CHOST == "") {
- # Check gcc-3.4.x or later
- CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST);
-
- if (CHOST == TMP_CHOST || CHOST == "")
- CHOST = ""
- else
- HAVE_GCC34 = 1
- }
- }
- close(pipe)
-
- if (CHOST == "") {
- eerror("Could not get gcc's CHOST!")
- exit 1
- }
-
- if (OLDCHOST != "")
- if (OLDCHOST == CHOST)
- OLDCHOST = ""
-
- GCCLIBPREFIX_OLD = "/usr/lib/gcc-lib/"
- GCCLIBPREFIX_NEW = "/usr/lib/gcc/"
-
- if (HAVE_GCC34)
- GCCLIBPREFIX = GCCLIBPREFIX_NEW
- else
- GCCLIBPREFIX = GCCLIBPREFIX_OLD
-
- GCCLIB = GCCLIBPREFIX CHOST
-
- if (OLDCHOST != "") {
- OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST
- OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST
- }
-
- # Get current gcc's version
- pipe = "gcc -dumpversion"
- assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)")
- close(pipe)
-
- if (NEWVER == "") {
- eerror("Could not get gcc's version!")
- exit 1
- }
-
- # Nothing to do ?
- # NB: Do not check for (OLDVER == NEWVER) anymore, as we might need to
- # replace libstdc++.la ....
- if ((OLDVER == "") && (OLDCHOST == ""))
- exit 0
-
- #
- # Ok, now let's scan for the .la files and actually fix them up
- #
- for (x = 1; x <= LIBCOUNT; x++) {
- # Do nothing if the target dir is gcc's internal library path
- if (DIRLIST[x] ~ GCCLIBPREFIX_OLD ||
- DIRLIST[x] ~ GCCLIBPREFIX_NEW)
- continue
-
- einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...")
-
- pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null"
- while (((pipe) | getline la_files) > 0) {
-
- # Do nothing if the .la file is located in gcc's internal lib path
- if (la_files ~ GCCLIBPREFIX_OLD ||
- la_files ~ GCCLIBPREFIX_NEW)
- continue
-
- CHANGED = 0
- CHOST_CHANGED = 0
-
- # See if we need to fix the .la file
- while ((getline la_data < (la_files)) > 0) {
- if (OLDCHOST != "") {
- if ((gsub(OLDGCCLIB1 "[/[:space:]]+",
- GCCLIB, la_data) > 0) ||
- (gsub(OLDGCCLIB2 "[/[:space:]]+",
- GCCLIB, la_data) > 0)) {
- CHANGED = 1
- CHOST_CHANGED = 1
- }
- }
- if (OLDVER != NEWVER) {
- if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*",
- GCCLIB "/" NEWVER, la_data) > 0) ||
- (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*",
- GCCLIB "/" NEWVER, la_data) > 0))
- CHANGED = 1
- }
- # We now check if we have libstdc++.la, as we remove the
- # libtool linker scripts for gcc ...
- # We do this last, as we only match the new paths
- if (gsub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la",
- "-lstdc++", la_data) > 0)
- CHANGED = 1
- }
- close(la_files)
-
- # Do the actual changes in a second loop, as we can then
- # verify that CHOST_CHANGED among things is correct ...
- if (CHANGED) {
- ewarnn(" FIXING: " la_files " ...[")
-
- # Clear the temp file (removing rather than '>foo' is better
- # out of a security point of view?)
- dosystem("rm -f " la_files ".new")
-
- while ((getline la_data < (la_files)) > 0) {
- if (OLDCHOST != "") {
- tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)",
- GCCLIB "\\1", "g", la_data)
- tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)",
- GCCLIB "\\1", "g", tmpstr)
-
- if (la_data != tmpstr) {
- printn("c")
- la_data = tmpstr
- }
-
- if (CHOST_CHANGED > 0) {
- # We try to be careful about CHOST changes outside
- # the gcc library path (meaning we cannot match it
- # via /GCCLIBPREFIX CHOST/) ...
-
- # Catch:
- #
- # dependency_libs=' -L/usr/CHOST/{bin,lib}'
- #
- gsub("-L/usr/" OLDCHOST "/",
- "-L/usr/" CHOST "/", la_data)
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib'
- #
- la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/",
- "\\1/" CHOST "/", "g", la_data)
- }
- }
-
- if (OLDVER != NEWVER) {
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc/CHOST/VER'
- #
- tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)",
- GCCLIB "/" NEWVER "\\1", "g", la_data)
- tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)",
- GCCLIB "/" NEWVER "\\1", "g", tmpstr)
-
- if (la_data != tmpstr) {
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib'
- #
- # in cases where we have gcc34
- tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)",
- GCCLIBPREFIX "\\1", "g", tmpstr)
- tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)",
- GCCLIBPREFIX "\\1", "g", tmpstr)
- printn("v")
- la_data = tmpstr
- }
- }
-
- # We now check if we have libstdc++.la, as we remove the
- # libtool linker scripts for gcc and any referencese in any
- # libtool linker scripts.
- # We do this last, as we only match the new paths
- tmpstr = gensub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la",
- "-lstdc++", "g", la_data);
- if (la_data != tmpstr) {
- printn("l")
- la_data = tmpstr
- }
-
- print la_data >> (la_files ".new")
- }
-
- if (CHANGED)
- print "]"
-
- close(la_files)
- close(la_files ".new")
-
- assert(dosystem("mv -f " la_files ".new " la_files),
- "dosystem(\"mv -f " la_files ".new " la_files "\")")
- }
- }
-
- close(pipe)
- }
-}
-
-# vim:ts=4
diff --git a/sys-devel/gcc/files/c89 b/sys-devel/gcc/files/c89
deleted file mode 100755
index cee0325..0000000
--- a/sys-devel/gcc/files/c89
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/sh
-
-# Call the appropriate C compiler with options to accept ANSI/ISO C
-# The following options are the same (as of gcc-2.95):
-# -ansi
-# -std=c89
-# -std=iso9899:1990
-
-for i; do
- case "$i" in
- -ansi|-std=c89|-std=iso9899:1990)
- ;;
- -std=*)
- echo >&2 "`basename $0` called with non ANSI/ISO C90 option $i"
- exit 1
- ;;
- esac
-done
-
-exec gcc -std=c89 -pedantic -U_FORTIFY_SOURCE "$@"
diff --git a/sys-devel/gcc/files/c99 b/sys-devel/gcc/files/c99
deleted file mode 100755
index c954209..0000000
--- a/sys-devel/gcc/files/c99
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh
-
-# Call the appropriate C compiler with options to accept ANSI/ISO C
-# The following options are the same (as of gcc-3.3):
-# -std=c99
-# -std=c9x
-# -std=iso9899:1999
-# -std=iso9899:199x
-
-for i; do
- case "$i" in
- -std=c9[9x]|-std=iso9899:199[9x])
- ;;
- -ansi|-std=*)
- echo >&2 "`basename $0` called with non ANSI/ISO C99 option $i"
- exit 1
- ;;
- esac
-done
-
-exec gcc -std=c99 -pedantic -U_FORTIFY_SOURCE ${1+"$@"}
diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh
deleted file mode 100644
index c55250b..0000000
--- a/sys-devel/gcc/files/fix_libtool_files.sh
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.16 2012/05/18 21:28:56 vapier Exp $
-
-usage() {
-cat << "USAGE_END"
-Usage: fix_libtool_files.sh <old-gcc-version> [--oldarch <old-CHOST>]
-
- Where <old-gcc-version> is the version number of the
- previous gcc version. For example, if you updated to
- gcc-3.2.1, and you had gcc-3.2 installed, run:
-
- # fix_libtool_files.sh 3.2
-
- If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu
- but you now have CHOST as i686-pc-linux-gnu, run:
-
- # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu
-
- Note that if only the CHOST and not the version changed, you can run
- it with the current version and the '--oldarch <old-CHOST>' arguments,
- and it will do the expected:
-
- # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu
-
-USAGE_END
- exit 1
-}
-
-case $2 in
---oldarch) [ $# -ne 3 ] && usage ;;
-*) [ $# -ne 1 ] && usage ;;
-esac
-
-ARGV1=$1
-ARGV2=$2
-ARGV3=$3
-
-. /etc/profile || exit 1
-. /etc/init.d/functions.sh || exit 1
-
-if [ ${EUID:-0} -ne 0 ] ; then
- eerror "${0##*/}: Must be root."
- exit 1
-fi
-
-# make sure the files come out sane
-umask 0022
-
-OLDCHOST=
-[ "${ARGV2}" = "--oldarch" ] && OLDCHOST=${ARGV3}
-
-AWKDIR="/usr/share/gcc-data"
-
-if [ ! -r "${AWKDIR}/fixlafiles.awk" ] ; then
- eerror "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!"
- exit 1
-fi
-
-OLDVER=${ARGV1}
-
-export OLDVER OLDCHOST
-
-einfo "Scanning libtool files for hardcoded gcc library paths..."
-exec gawk -f "${AWKDIR}/fixlafiles.awk"
-
-# vim:ts=4
diff --git a/sys-devel/gcc/files/gcc-configure-LANG.patch b/sys-devel/gcc/files/gcc-configure-LANG.patch
deleted file mode 100644
index d1b1b03..0000000
--- a/sys-devel/gcc/files/gcc-configure-LANG.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
-option parsing, it may break.
-
-http://bugs.gentoo.org/103483
-
---- configure
-+++ configure
-@@ -54,6 +54,19 @@
- infodir='${prefix}/info'
- mandir='${prefix}/man'
-
-+# NLS nuisances.
-+for as_var in \
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-+ LC_TELEPHONE LC_TIME
-+do
-+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-+ eval $as_var=C; export $as_var
-+ else
-+ unset $as_var
-+ fi
-+done
-+
- # Initialize some other variables.
- subdirs=
- MFLAGS= MAKEFLAGS=
-@@ -452,16 +463,6 @@
- esac
- done
-
--# NLS nuisances.
--# Only set these to C if already set. These must not be set unconditionally
--# because not all systems understand e.g. LANG=C (notably SCO).
--# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
--# Non-C LC_CTYPE values break the ctype check.
--if test "${LANG+set}" = set; then LANG=C; export LANG; fi
--if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
--if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
--if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
--
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
-@@ -1850,6 +1850,19 @@
- # Compiler output produced by configure, useful for debugging
- # configure, is in ./config.log if it exists.
-
-+# NLS nuisances.
-+for as_var in \
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-+ LC_TELEPHONE LC_TIME
-+do
-+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then
-+ eval \$as_var=C; export \$as_var
-+ else
-+ unset \$as_var
-+ fi
-+done
-+
- ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
- for ac_option
- do
diff --git a/sys-devel/gcc/files/gcc-configure-texinfo.patch b/sys-devel/gcc/files/gcc-configure-texinfo.patch
deleted file mode 100644
index ddc098d..0000000
--- a/sys-devel/gcc/files/gcc-configure-texinfo.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Chances are quite good that the installed makeinfo is sufficient.
-So ignore false positives where the makeinfo installed is so new
-that it violates the cheesy version grep.
-
-http://bugs.gentoo.org/198182
-
---- configure
-+++ configure
-@@ -3573,6 +3573,6 @@
- :
- else
-- MAKEINFO="$MISSING makeinfo"
-+ :
- fi
- ;;
-
diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch
deleted file mode 100644
index 57e7567..0000000
--- a/sys-devel/gcc/files/gcc-spec-env.patch
+++ /dev/null
@@ -1,42 +0,0 @@
- Add support for external spec file via the GCC_SPECS env var. This
- allows us to easily control pie/ssp defaults with gcc-config profiles.
-
- Original patch by Rob Holland
- Extended to support multiple entries separated by ':' by Kevin F. Quinn
- Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill
-
---- gcc-4/gcc/gcc.c
-+++ gcc-4/gcc/gcc.c
-@@ -6482,6 +6482,32 @@
-
- /* Process any user specified specs in the order given on the command
- line. */
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32))
-+ /* Add specs listed in GCC_SPECS. Note; in the process of separating
-+ * each spec listed, the string is overwritten at token boundaries
-+ * (':') with '\0', an effect of strtok_r().
-+ */
-+ specs_file = getenv ("GCC_SPECS");
-+ if (specs_file && (strlen(specs_file) > 0))
-+ {
-+ char *spec, *saveptr;
-+ for (spec=strtok_r(specs_file,":",&saveptr);
-+ spec!=NULL;
-+ spec=strtok_r(NULL,":",&saveptr))
-+ {
-+ struct user_specs *user = (struct user_specs *)
-+ xmalloc (sizeof (struct user_specs));
-+
-+ user->next = (struct user_specs *) 0;
-+ user->filename = spec;
-+ if (user_specs_tail)
-+ user_specs_tail->next = user;
-+ else
-+ user_specs_head = user;
-+ user_specs_tail = user;
-+ }
-+ }
-+#endif
- for (uptr = user_specs_head; uptr; uptr = uptr->next)
- {
- char *filename = find_a_file (&startfile_prefixes, uptr->filename,
diff --git a/sys-devel/gcc/files/mkinfodir b/sys-devel/gcc/files/mkinfodir
deleted file mode 100644
index a62840e..0000000
--- a/sys-devel/gcc/files/mkinfodir
+++ /dev/null
@@ -1,233 +0,0 @@
-#!/bin/bash
-# $Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $
-# Generate the top-level Info node, given a directory of Info files
-# and (optionally) a skeleton file. The output will be suitable for a
-# top-level dir file. The skeleton file contains info topic names in the
-# order they should appear in the output. There are three special
-# lines that alter the behavior: a line consisting of just "--" causes
-# the next line to be echoed verbatim to the output. A line
-# containing just "%%" causes all the remaining filenames (wildcards
-# allowed) in the rest of the file to be ignored. A line containing
-# just "!!" exits the script when reached (unless preceded by a line
-# containing just "--"). Once the script reaches the end of the
-# skeleton file, it goes through the remaining files in the directory
-# in order, putting their entries at the end. The script will use the
-# ENTRY information in each info file if it exists. Otherwise it will
-# make a minimal entry.
-
-# sent by Jeffrey Osier <jeffrey@cygnus.com>, who thinks it came from
-# zoo@winternet.com (david d `zoo' zuhn)
-
-# modified 7 April 1995 by Joe Harrington <jh@tecate.gsfc.nasa.gov> to
-# take special flags
-
-INFODIR=$1
-if [ $# = 2 ] ; then
- SKELETON=$2
-else
- SKELETON=/dev/null
-fi
-
-skip=
-
-if [ $# -gt 2 ] ; then
- echo usage: $0 info-directory [ skeleton-file ] 1>&2
- exit 1
-elif [ -z "${INFODIR}" ] ; then
- INFODIR="%%DEFAULT_INFO_DIR%%"
-else
- true
-fi
-
-if [ ! -d ${INFODIR} ] ; then
- echo "$0: first argument must specify a directory"
- exit 1
-fi
-
-### output the dir header
-echo "-*- Text -*-"
-echo "This file was generated automatically by $0."
-echo "This version was generated on `date`"
-echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`"
-
-cat << moobler
-\$Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $
-This is the file .../info/dir, which contains the topmost node of the
-Info hierarchy. The first time you invoke Info you start off
-looking at that node, which is (dir)Top.
-\x1f
-File: dir Node: Top This is the top of the INFO tree
-
- This (the Directory node) gives a menu of major topics.
- Typing "q" exits, "?" lists all Info commands, "d" returns here,
- "h" gives a primer for first-timers,
- "mEmacs<Return>" visits the Emacs topic, etc.
-
- In Emacs, you can click mouse button 2 on a menu item or cross reference
- to select it.
-
-* Menu: The list of major topics begins on the next line.
-
-moobler
-
-### go through the list of files in the skeleton. If an info file
-### exists, grab the ENTRY information from it. If an entry exists
-### use it, otherwise create a minimal dir entry.
-###
-### Then remove that file from the list of existing files. If any
-### additional files remain (ones that don't have a skeleton entry),
-### then generate entries for those in the same way, putting the info for
-### those at the end....
-
-infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*\.gz$' | grep -v '\-[0-9]*$' | egrep -v '^dir$|^dir\.info$|^dir\.orig$')`
-
-# echoing gets clobbered by backquotes; we do it the hard way...
-lines=`wc $SKELETON | awk '{print $1}'`
-line=1
-while [ $lines -ge $line ] ; do
- # Read one line from the file. This is so that we can echo lines with
- # whitespace and quoted characters in them.
- fileline=`awk NR==$line $SKELETON`
-
- # flag fancy features
- if [ ! -z "$echoline" ] ; then # echo line
- echo "$fileline"
- fileline=
- echoline=
- elif [ "${fileline}" = "--" ] ; then # should we echo the next line?
- echoline=1
- elif [ "${fileline}" = "%%" ] ; then # eliminate remaining files from dir?
- skip=1
- elif [ "${fileline}" = "!!" ] ; then # quit now
- exit 0
- fi
-
- # handle files if they exist
- for file in $fileline"" ; do # expand wildcards ("" handles blank lines)
-
- fname=
-
- if [ -z "$echoline" -a ! -z "$file" ] ; then
-
- # Find the file to operate upon. Check both possible names.
- infoname=`echo $file | sed 's/\.gz$//'`
- infoname=`echo $infoname | sed 's/\.info$//'`
- noext=
- ext=
- if [ -f ${INFODIR}/$infoname ] ; then
- noext=$infoname
- fi
- if [ -f ${INFODIR}/${infoname}.info ] ; then
- ext=${infoname}.info
- fi
- if [ -f ${INFODIR}/${infoname}.info.gz ] ; then
- ext=${infoname}.info.gz
- fi
- # If it exists with both names take what was said in the file.
- if [ ! -z "$ext" -a ! -z "$noext" ]; then
- fname=$file
- warn="### Warning: $ext and $noext both exist! Using ${file}. ###"
- elif [ ! \( -z "$ext" -a -z "$noext" \) ]; then
- # just take the name if it exists only once
- fname=${noext}${ext}
- fi
-
- # if we found something and aren't skipping, do the entry
- if [ ! -z "$fname" ] ; then
- if [ -z "$skip" ] ; then
-
- if [ ! -z "$warn" ] ; then # issue any warning
- echo $warn
- warn=
- fi
- if [ "${fname##*.}" = "gz" ] ; then
- entry=`zcat ${INFODIR}/${fname} | sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' `
- else
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$fname`
- fi
- if [ ! -z "${entry}" ] ; then
- echo "${entry}"
- else
- echo "* ${infoname}: (${infoname})."
- fi
- fi
-
- # remove the name from the directory listing
- infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${fname} / /" -e "s/ / /g"`
-
- fi
-
- fi
-
- done
-
- line=`expr $line + 1`
-done
-
-if [ -z "${infofiles}" ] ; then
- exit 0
-elif [ $lines -gt 0 ]; then
- echo
-fi
-
-# Sort remaining files by INFO-DIR-SECTION.
-prevsect=
-filesectdata=`(cd ${INFODIR}; fgrep INFO-DIR-SECTION /dev/null ${infofiles} | \
- fgrep -v 'INFO-DIR-SECTION Miscellaneous' | \
- sort -t: -k2 -k1 | tr ' ' '_')`
-for sectdata in ${filesectdata}; do
- file=`echo ${sectdata} | cut -d: -f1`
- section=`sed -n -e 's/^INFO-DIR-SECTION //p' ${INFODIR}/${file}`
- infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${file} / /" -e "s/ / /g"`
-
- if [ "${prevsect}" != "${section}" ] ; then
- if [ ! -z "${prevsect}" ] ; then
- echo ""
- fi
- echo "${section}"
- prevsect="${section}"
- fi
- infoname=`echo $file | sed 's/\.gz$//'`
- infoname=`echo $infoname | sed 's/\.info$//'`
- if [ "${file##*.}" = "gz" ] ; then
- entry=`zcat ${INFODIR}/$file | sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' `
- else
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file`
- fi
- if [ ! -z "${entry}" ] ; then
- echo "${entry}"
- elif [ ! -d "${INFODIR}/${file}" ] ; then
- echo "* ${infoname}: (${infoname})."
- fi
-done
-
-# Process miscellaneous files.
-for file in ${infofiles}; do
- if [ ! -z "${prevsect}" ] ; then
- echo ""
- echo "Miscellaneous"
- prevsect=""
- fi
-
- infoname=`echo $file | sed 's/\.gz$//'`
- infoname=`echo $infoname | sed 's/\.info$//'`
- if [ "${file##*.}" = "gz" ] ; then
- entry=`zcat ${INFODIR}/${file} | sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d'`
- else
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file`
- fi
-
-
- if [ ! -z "${entry}" ] ; then
- echo "${entry}"
- elif [ ! -d "${INFODIR}/${file}" ] ; then
- echo "* ${infoname}: (${infoname})."
- fi
-done
-
diff --git a/sys-devel/gcc/files/pro-police-docs.patch b/sys-devel/gcc/files/pro-police-docs.patch
deleted file mode 100644
index 091ea44..0000000
--- a/sys-devel/gcc/files/pro-police-docs.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-Index: gcc/doc/invoke.texi
-===================================================================
-RCS file: /cvsroot/gcc/gcc/gcc/doc/invoke.texi,v
-retrieving revision 1.364
-diff -c -3 -p -r1.364 invoke.texi
-*** gcc/doc/invoke.texi 21 Nov 2003 11:42:58 -0000 1.364
---- gcc/doc/invoke.texi 22 Nov 2003 08:12:35 -0000
-*************** in the following sections.
-*** 228,234 ****
- -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol
- -Wparentheses -Wpointer-arith -Wredundant-decls @gol
- -Wreturn-type -Wsequence-point -Wshadow @gol
-! -Wsign-compare -Wstrict-aliasing @gol
- -Wswitch -Wswitch-default -Wswitch-enum @gol
- -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol
- -Wunknown-pragmas -Wunreachable-code @gol
---- 228,234 ----
- -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol
- -Wparentheses -Wpointer-arith -Wredundant-decls @gol
- -Wreturn-type -Wsequence-point -Wshadow @gol
-! -Wsign-compare -Wstack-protector -Wstrict-aliasing @gol
- -Wswitch -Wswitch-default -Wswitch-enum @gol
- -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol
- -Wunknown-pragmas -Wunreachable-code @gol
-*************** in the following sections.
-*** 681,686 ****
---- 681,687 ----
- -fshort-double -fshort-wchar @gol
- -fverbose-asm -fpack-struct -fstack-check @gol
- -fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol
-+ -fstack-protector -fstack-protector-all @gol
- -fargument-alias -fargument-noalias @gol
- -fargument-noalias-global -fleading-underscore @gol
- -ftls-model=@var{model} @gol
-*************** effectively. Often, the problem is that
-*** 3014,3019 ****
---- 3015,3024 ----
- complex; GCC will refuse to optimize programs when the optimization
- itself is likely to take inordinate amounts of time.
-
-+ @item -Wstack-protector
-+ @opindex Wstack-protector
-+ Warn when not issuing stack smashing protection for some reason
-+
- @item -Werror
- @opindex Werror
- Make all warnings into errors.
-*************** and grows downwards, you can use the fla
-*** 11474,11479 ****
---- 11479,11502 ----
- @option{-fstack-limit-symbol=__stack_limit} and
- @option{-Wl,--defsym,__stack_limit=0x7ffe0000} to enforce a stack limit
- of 128KB@. Note that this may only work with the GNU linker.
-+
-+ @item -fstack-protector
-+ @item -fstack-protector-all
-+ @opindex fstack-protector
-+ @opindex fstack-protector-all
-+ @opindex fno-stack-protector
-+ Generate code to protect an application from a stack smashing
-+ attack. The features are (1) the insertion of random value next to the
-+ frame pointer to detect the integrity of the stack, (2) the reordering
-+ of local variables to place buffers after pointers to avoid the
-+ corruption of pointers that could be used to further corrupt arbitrary
-+ memory locations, (3) the copying of pointers in function arguments to
-+ an area preceding local variable buffers to prevent the corruption of
-+ pointers that could be used to further corrupt arbitrary memory
-+ locations, and the (4) omission of instrumentation code from some
-+ functions to decrease the performance overhead. If the integrity
-+ would be broken, the program is aborted. If no-stack-protector is
-+ specified, instrumentation codes are generated at every functions.
-
- @cindex aliasing of parameters
- @cindex parameters, aliased
diff --git a/sys-devel/gcc/gcc-4.8.0.ebuild b/sys-devel/gcc/gcc-4.8.0.ebuild
deleted file mode 100644
index 442d751..0000000
--- a/sys-devel/gcc/gcc-4.8.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.2.ebuild,v 1.7 2012/11/24 21:22:30 vapier Exp $
-
-PATCH_VER="1.0"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="0.5.10"
-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 mips"
-PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64 mips"
-SSP_STABLE="amd64 x86 ppc ppc64 arm mips"
-# uclibc need tls and nptl support for SSP support
-# uclibc need to be >= 0.9.33
-SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm mips"
-#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.2"
-
-KEYWORDS=""
-
-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
-
- # 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."
- ewarn "Any bugs resulting from the use of LTO will not be fixed."
- ewarn
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-devel/gcc/, sys-devel/gcc/files/awk/, sys-devel/gcc/files/
@ 2014-05-20 22:19 Magnus Granberg
0 siblings, 0 replies; 3+ messages in thread
From: Magnus Granberg @ 2014-05-20 22:19 UTC (permalink / raw
To: gentoo-commits
commit: 3c104a1512bab429cedab86df2af83a54cfe0f60
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Tue May 20 23:18:47 2014 +0000
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Tue May 20 23:18:47 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=3c104a15
gcc 4.9.x in tree
---
sys-devel/gcc/ChangeLog | 1604 ----------------------
sys-devel/gcc/files/awk/fixlafiles.awk | 314 -----
sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la | 335 -----
sys-devel/gcc/files/c89 | 20 -
sys-devel/gcc/files/c99 | 21 -
sys-devel/gcc/files/fix_libtool_files.sh | 68 -
sys-devel/gcc/files/gcc-configure-LANG.patch | 64 -
sys-devel/gcc/files/gcc-configure-texinfo.patch | 16 -
sys-devel/gcc/files/gcc-spec-env-r1.patch | 87 --
sys-devel/gcc/files/gcc-spec-env.patch | 42 -
sys-devel/gcc/gcc-4.9.0.ebuild | 52 -
sys-devel/gcc/metadata.xml | 33 -
12 files changed, 2656 deletions(-)
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog
deleted file mode 100644
index 91dea94..0000000
--- a/sys-devel/gcc/ChangeLog
+++ /dev/null
@@ -1,1604 +0,0 @@
-# ChangeLog for sys-devel/gcc
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.1000 2014/03/29 06:40:40 rhill Exp $
-
- 11 Maj 2014; Magnus Granberg <zorry@gentoo.org> gcc-4.9.0.ebuild
- Test of GCC 4.9.0
-
- 29 Mar 2014; Ryan Hill <rhill@gentoo.org> gcc-4.6.4.ebuild:
- 4.6.4 p1.2: Fixes illegal instructions on Haswell (or -mfma) (bug #505960
- by Christian Schmidt).
-
- 16 Feb 2014; Mike Frysinger <vapier@gentoo.org> gcc-4.7.3-r1.ebuild:
- Mark sh stable.
-
- 19 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> gcc-2.95.3-r10.ebuild,
- gcc-3.3.6-r1.ebuild, gcc-3.4.6-r2.ebuild, gcc-4.0.4.ebuild, gcc-4.1.2.ebuild,
- gcc-4.2.4-r1.ebuild, gcc-4.3.6-r1.ebuild, gcc-4.4.7.ebuild,
- gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild, gcc-4.5.3-r2.ebuild, gcc-4.5.4.ebuild,
- gcc-4.6.0.ebuild, gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild, gcc-4.6.3.ebuild,
- gcc-4.6.4.ebuild, gcc-4.7.0.ebuild, gcc-4.7.1.ebuild, gcc-4.7.2-r1.ebuild,
- gcc-4.7.3-r1.ebuild, gcc-4.8.0.ebuild, gcc-4.8.1-r1.ebuild, gcc-4.8.2.ebuild,
- gcc-4.8.2-r1.ebuild:
- Bump all to EAPI 2.
-
- 18 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.3.3-r2.ebuild,
- -gcc-4.3.4.ebuild, -gcc-4.3.5.ebuild, -gcc-4.4.2.ebuild,
- -gcc-4.4.3-r3.ebuild, -gcc-4.4.4-r2.ebuild, -gcc-4.4.5.ebuild,
- -gcc-4.4.6-r1.ebuild, -files/3.2.1/gcc31-loop-load-final-value.patch,
- -files/3.2.1/gcc32-arm-disable-mathf.patch,
- -files/3.2.1/gcc32-arm-reload1-fix.patch,
- -files/3.2.1/gcc32-athlon-alignment.patch,
- -files/3.2.1/gcc32-sparc32-hack.patch, -files/3.2.1/gcc32-strip-dotdot.patch,
- -files/3.2.2/gcc-3.2.2-cross-compile.patch,
- -files/3.2.2/gcc-3.2.2-no-COPYING-cross-compile.patch,
- -files/3.2.2/gcc32-pr7768.patch, -files/3.2.2/gcc32-pr8213.patch,
- -files/3.2.2/gcc322-ggc_page-speedup.patch,
- -files/3.2.3/gcc-3.2.3-mergel-fix.patch,
- -files/3.2.3/gcc-3.2.3-move-propolice-into-glibc.patch,
- -files/3.2.3/gcc-3.2.3-poisoned-malloc.patch,
- -files/3.2.3/gcc-323-propolice-version.patch,
- -files/3.2.3/gcc32-c++-classfn-member-template.patch,
- -files/3.2.3/gcc32-mklibgcc-serialize-crtfiles.patch,
- -files/3.2.3/gcc323-gentoo-branding.patch,
- -files/3.2.3/gcc323-hppa-default_assemble_visibility.patch,
- -files/3.3.6/gcc-3.3.6-cross-compile.patch,
- -files/3.4.0/gcc-3.4.0-cc1-no-stack-protector.patch,
- -files/3.4.1/gcc-3.4.1-r2-gentoo-branding.patch, -files/mkinfodir:
- Move old ebuilds to toolchain overlay and drop unused patches.
-
- 17 Jan 2014; Mike Frysinger <vapier@gentoo.org> gcc-4.8.2.ebuild:
- Add arm64 keywords.
-
- 16 Jan 2014; Mike Frysinger <vapier@gentoo.org> gcc-4.7.3-r1.ebuild:
- Mark m68k/s390 stable.
-
- 11 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> gcc-4.8.2.ebuild:
- Fix patchset and manifest. Once a distfile is uploaded it cannot be replaced
- by another with the same name.
-
- 10 Jan 2014; Magnus Granberg <zorry@gentoo.org> gcc-4.8.2-r1.ebuild:
- Removed the keywords from gcc-4.8.2-r1
-
-*gcc-4.8.2-r1 (10 Jan 2014)
-
- 10 Jan 2014; Magnus Granberg <zorry@gentoo.org> gcc-4.8.2.ebuild,
- +gcc-4.8.2-r1.ebuild:
- Reverted gcc-4.8.2 and move the ssp changes to -r1
-
- 10 Jan 2014; Magnus Granberg <zorry@gentoo.org> gcc-4.8.2.ebuild:
- Updated it with the default ssp patchset bug 484714
-
- 03 Jan 2014; Mike Frysinger <vapier@gentoo.org> gcc-4.8.2.ebuild:
- Stop building libbacktrace with -Werror.
-
- 30 Dec 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.8.2.ebuild:
- 4.8.2 p1.2: Fixes target CXXFLAGS being used with the native host compiler
- when building with a cross-compiler (bug #492590).
-
- 28 Dec 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.1.2.ebuild,
- gcc-4.2.4-r1.ebuild:
- Backport libgcj patch for glibc-2.15 a couple more versions.
-
- 24 Dec 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.4.ebuild,
- gcc-4.7.3-r1.ebuild:
- 4.6.4 p1.1: Fix ICE with -fprefetch-loop-arrays (bug #454568) and fix gcj
- build with new freetype (bug #494606).
-
- 4.7.3 p1.4: Fix gcj build with new freetype (bug #494606).
-
- 23 Dec 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.0.ebuild,
- gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild, gcc-4.6.3.ebuild, gcc-4.6.4.ebuild,
- gcc-4.7.0.ebuild, gcc-4.7.1.ebuild, gcc-4.7.2-r1.ebuild, gcc-4.7.3-r1.ebuild,
- gcc-4.8.0.ebuild, gcc-4.8.1-r1.ebuild, gcc-4.8.2.ebuild, metadata.xml:
- 4.8.2 p1.1: Fix segfault with std::nth_element (bug #494796) and build
- failures in gcj due to freetype include dir changes (bug #494606). Rename gtk
- USE flag to awt. Remove lto USE flag - lto support is now always available.
- Remove messages.
-
- 23 Dec 2013; Mike Frysinger <vapier@gentoo.org> gcc-4.7.3-r1.ebuild:
- Mark ia64 stable #467274.
-
- 13 Dec 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for sparc, wrt bug #467274
-
- 27 Nov 2013; Jeroen Roovers <jer@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for HPPA (bug #486618).
-
- 14 Nov 2013; Ryan Hill <dirtyepic@gentoo.org> Manifest:
- Fix manifests.
-
-*gcc-4.8.2 (11 Nov 2013)
-
- 11 Nov 2013; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.8.2.ebuild:
- Version bump.
-
- 07 Nov 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.8.0.ebuild:
- Propogate keywords back to 4.8.0.
-
- 04 Nov 2013; Matt Turner <mattst88@gentoo.org> gcc-4.8.1-r1.ebuild:
- Added ~alpha, bug 487266.
-
- 15 Oct 2013; Jeroen Roovers <jer@gentoo.org> gcc-4.7.3-r1.ebuild:
- Mark ^hppa (bug #486618).
-
- 14 Oct 2013; Naohiro Aota <naota@gentoo.org> gcc-4.8.1-r1.ebuild:
- Add ~x86-fbsd. #487266
-
- 13 Oct 2013; Markos Chandras <hwoarang@gentoo.org> gcc-4.8.1-r1.ebuild:
- Add ~mips per #487266
-
- 12 Oct 2013; Markus Meier <maekke@gentoo.org> gcc-4.8.1-r1.ebuild:
- add ~arm, bug #487266
-
- 12 Oct 2013; Alexis Ballier <aballier@gentoo.org> gcc-4.8.1-r1.ebuild:
- keyword ~amd64-fbsd, bug #487266
-
- 09 Oct 2013; Jeroen Roovers <jer@gentoo.org> gcc-4.8.1-r1.ebuild:
- Marked ~hppa (bug #487266).
-
- 08 Oct 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.8.0.ebuild,
- gcc-4.8.1-r1.ebuild:
- Drop keywords for bug #487266.
-
- 07 Oct 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for x86, wrt bug #467274
-
-*gcc-4.8.1-r1 (07 Oct 2013)
-
- 07 Oct 2013; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.8.1.ebuild,
- +gcc-4.8.1-r1.ebuild:
- 4.8.1 p1.2: Fix build error in libatomic with --disable-dependency-tracking
- (bug #463463) and add -march=native support for Ivy Bridge and Haswell.
- Revision bump to push out changes. Restore keywords, including *-fbsd
- as [[noreturn]] is now implemented.
-
- 06 Oct 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for arm, wrt bug #467274
-
- 05 Oct 2013; Ryan Hill <dirtyepic@gentoo.org> -gcc-3.1.1-r2.ebuild,
- -gcc-3.2.2.ebuild, -gcc-3.2.3-r4.ebuild, gcc-3.4.6-r2.ebuild,
- gcc-4.1.2.ebuild, gcc-4.3.4.ebuild, gcc-4.3.6-r1.ebuild, gcc-4.4.3-r3.ebuild,
- gcc-4.4.4-r2.ebuild, gcc-4.4.5.ebuild, gcc-4.4.6-r1.ebuild, gcc-4.4.7.ebuild,
- gcc-4.5.3-r2.ebuild, gcc-4.5.4.ebuild, gcc-4.6.3.ebuild, -gcc-4.7.3.ebuild:
- Drop s390 and sh to ~arch. Remove old or unused.
-
- 04 Oct 2013; Jeroen Roovers <jer@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for HPPA (bug #467274).
-
- 04 Oct 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for alpha, wrt bug #467274
-
- 30 Sep 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for ppc64, wrt bug #467274
-
- 28 Sep 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for ppc, wrt bug #467274
-
- 27 Sep 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.7.3-r1.ebuild:
- Stable for amd64, wrt bug #467274
-
-*gcc-4.7.3-r1 (24 Sep 2013)
-
- 24 Sep 2013; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.7.3-r1.ebuild:
- 4.7.3 p1.3: Fix -march=native detection of Ivy Bridge processors. Revbump to
- push out changes.
-
- 31 Aug 2013; Magnus Granberg <zorry@gentoo.org> gcc-4.8.1.ebuild,
- +files/gcc-spec-env-r1.patch:
- Bump piepatch and add new version of gcc-spec-env for gcc 4.8.1
-
- 27 Aug 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.8.1.ebuild:
- 4.8.1 p1.1: Fixes bug #475350 (add --disable-werror to libatomic and libitm)
- and bug #475482 (linking errors with -O3 -march=core-avx2).
-
- 26 Aug 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.7.3.ebuild:
- 4.7.3 p1.2: Fixes bug #475482 (linking errors with -O3 -march=core-avx2).
-
- 14 Aug 2013; Raúl Porcel <armin76@gentoo.org> gcc-4.6.3.ebuild:
- alpha stable, again now that i've tested it correctly
-
- 14 Aug 2013; Raúl Porcel <armin76@gentoo.org> gcc-4.6.3.ebuild:
- Revert to ~alpha
-
- 14 Aug 2013; Raúl Porcel <armin76@gentoo.org> gcc-4.6.3.ebuild:
- alpha stable wrt #418383
-
- 12 Aug 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.7.3.ebuild:
- 4.7.3 p1.1: Fixes bug #463796 (parallel build failure), bug #467418 (missing
- plugin headers on arm targets), and bug #475350 (implement --disable-werror
- for libitm).
-
-*gcc-4.8.1 (04 Jun 2013)
-
- 04 Jun 2013; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.8.1.ebuild:
- Version bump (bug #472116).
-
- 20 May 2013; Alexis Ballier <aballier@gentoo.org> gcc-4.7.0.ebuild,
- gcc-4.7.1.ebuild, gcc-4.7.2-r1.ebuild, gcc-4.7.3.ebuild:
- drop fbsd keywords on gcc 4.7: bug #444678; gcc 4.8 is fine so we can move on
- with that version when it gets unmasked.
-
- 19 May 2013; Anthony G. Basile <blueness@gentoo.org> gcc-4.8.0.ebuild:
- PIE/SSP work on mips for both glibc and uclibc
-
- 15 May 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.4.3-r3.ebuild,
- gcc-4.4.4-r2.ebuild, gcc-4.4.5.ebuild, gcc-4.4.6-r1.ebuild, gcc-4.4.7.ebuild,
- gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild, gcc-4.5.3-r2.ebuild, gcc-4.5.4.ebuild,
- gcc-4.6.0.ebuild, gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild, gcc-4.6.3.ebuild,
- gcc-4.6.4.ebuild, gcc-4.7.0.ebuild, gcc-4.7.1.ebuild, gcc-4.7.2-r1.ebuild,
- gcc-4.8.0.ebuild:
- Stick LTO message behind USE flag and drop warnings that no longer apply.
-
-*gcc-4.7.3 (15 May 2013)
-
- 15 May 2013; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.7.3.ebuild,
- metadata.xml:
- Version bump, bug #465622. Also fixes bug #443092 (ICE with -fprofile-use
- --coverage) and a wrong code bug with -mxop.
-
- 07 May 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.8.0.ebuild:
- 4.8.0 p1.3: Fixes bug #465894 (wine memcopy breakage) and a couple of wrong
- code bugs for -march=bdver2.
-
-*gcc-4.6.4 (23 Apr 2013)
-
- 23 Apr 2013; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.6.4.ebuild:
- Version bump. Fixes bug #411691 (ICE building stable boost) and bug #454426
- (bootstrap fails on alpha).
-
- 21 Apr 2013; Mike Frysinger <vapier@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild, gcc-4.6.3.ebuild, gcc-4.7.2-r1.ebuild, gcc-4.8.0.ebuild:
- Fix default armv4 linking behavior.
-
- 20 Apr 2013; Mike Frysinger <vapier@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild, gcc-4.6.3.ebuild, gcc-4.7.2-r1.ebuild, gcc-4.8.0.ebuild:
- Add missing call to toolchain_pkg_postinst so gcc-config and friends kick in
- properly.
-
- 12 Apr 2013; Ulrich Müller <ulm@gentoo.org> gcc-3.1.1-r2.ebuild,
- gcc-3.2.3-r4.ebuild, gcc-4.0.4.ebuild, gcc-4.1.2.ebuild, gcc-4.2.4-r1.ebuild,
- gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild, gcc-4.3.5.ebuild, gcc-4.3.6-r1.ebuild,
- gcc-4.4.2.ebuild, gcc-4.4.3-r3.ebuild, gcc-4.4.4-r2.ebuild, gcc-4.4.5.ebuild,
- gcc-4.4.6-r1.ebuild, gcc-4.4.7.ebuild, gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild,
- gcc-4.5.3-r2.ebuild, gcc-4.5.4.ebuild, gcc-4.6.0.ebuild, gcc-4.6.1-r1.ebuild,
- gcc-4.6.2.ebuild, gcc-4.6.3.ebuild, gcc-4.7.0.ebuild, gcc-4.7.1.ebuild,
- gcc-4.7.2-r1.ebuild, gcc-4.8.0.ebuild:
- Update LICENSE to FDL-1.3+ for gcc-4.6.0 and later versions, bug 464670.
- Change all GNU licenses to the "or later" variant.
-
- 05 Apr 2013; Mike Frysinger <vapier@gentoo.org> gcc-4.8.0.ebuild:
- Fix cross-compile builds #464640 by Tim Northover.
-
-*gcc-4.8.0 (04 Apr 2013)
-
- 04 Apr 2013; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.8.0.ebuild:
- Version bump (bug #462736).
-
- 12 Mar 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Move back to ~sparc with the acknowledge of the sparc team, because of bug
- #457062
-
- 02 Mar 2013; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.7.2.ebuild,
- gcc-4.7.2-r1.ebuild:
- 4.7.2 p1.5: Fixes PR56125 (wrong code with -ffast-math).
-
-*gcc-4.7.2-r1 (25 Feb 2013)
-
- 25 Feb 2013; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.7.2-r1.ebuild,
- -files/pro-police-docs.patch:
- 4.7.2 p1.4: Fixes bug #451680 (bootstrap comparison failure on alpha),
- bug #421305 and #417271 (libitm build breakage), and PR55940 (incorrect
- code building virtualbox kernel modules). Revbump for unmasking.
-
- 08 Feb 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for s390, wrt bug #418383
-
- 07 Feb 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for sh, wrt bug #418383
-
- 22 Jan 2013; Jeroen Roovers <jer@gentoo.org> gcc-4.6.3.ebuild:
- Stable for HPPA (bug #418383).
-
- 22 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for arm, wrt bug #418383
-
- 21 Jan 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.3.ebuild:
- Patchset 1.11. Fixes bug #451680 (bootstrap comparison failure on alpha) and
- bug #452768 (unable to find a register to spill in class 'VFP_LO_REGS' on
- arm).
-
- 15 Jan 2013; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.3.ebuild:
- Patchset 1.10. Backport patch to fix ICE on arm (bug #401561).
-
- 13 Jan 2013; Raúl Porcel <armin76@gentoo.org> gcc-4.6.3.ebuild:
- Move back to ~alpha, bug #451680
-
- 09 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for alpha, wrt bug #418383
-
- 09 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for sparc, wrt bug #418383
-
- 09 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for ia64, wrt bug #418383
-
- 08 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for ppc64, wrt bug #418383
-
- 08 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for ppc, wrt bug #418383
-
- 08 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for x86, wrt bug #418383
-
- 08 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.6.3.ebuild:
- Stable for amd64, wrt bug #418383
-
- 08 Jan 2013; Mike Frysinger <vapier@gentoo.org> gcc-3.4.6-r2.ebuild:
- Fix building with glibc-2.16 #424970 by Chris Smith.
-
- 03 Jan 2013; Raúl Porcel <armin76@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild:
- s390/sh stable wrt #431878
-
- 01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gcc-4.4.7.ebuild:
- Stable for arm, wrt bug #431878
-
- 30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild:
- Stable for sparc, wrt to bug #431878
-
- 29 Dec 2012; Mike Frysinger <vapier@gentoo.org> -gcc-2.95.3-r9.ebuild,
- gcc-2.95.3-r10.ebuild:
- Get gcc-2 building again on modern systems.
-
- 21 Dec 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.5.4.ebuild,
- gcc-4.6.3.ebuild:
- Add fix from upstream pr48226 for ppc handling of the vector keyword #445606
- by Marcus Comstedt.
-
- 11 Dec 2012; Agostino Sarubbo <ago@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild:
- Stable for ia64, wrt bug #431878
-
- 29 Nov 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.1.2.ebuild,
- gcc-4.2.4.ebuild:
- Fix building with glibc-2.16 #424970 by Chris Smith.
-
- 25 Nov 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.6.3.ebuild:
- Push out fixes from upstream for #439432 and 439988.
-
- 25 Nov 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.3.6-r1.ebuild,
- gcc-4.4.7.ebuild:
- Push out accumulated backports.
-
- 24 Nov 2012; Mike Frysinger <vapier@gentoo.org> gcc-2.95.3-r10.ebuild,
- gcc-2.95.3-r9.ebuild, gcc-3.1.1-r2.ebuild, gcc-3.2.2.ebuild,
- gcc-3.2.3-r4.ebuild, gcc-3.3.6-r1.ebuild, gcc-3.4.6-r2.ebuild,
- gcc-4.0.4.ebuild, gcc-4.1.2.ebuild, gcc-4.2.4-r1.ebuild, gcc-4.3.3-r2.ebuild,
- gcc-4.3.4.ebuild, gcc-4.3.5.ebuild, gcc-4.3.6-r1.ebuild, gcc-4.4.2.ebuild,
- gcc-4.4.3-r3.ebuild, gcc-4.4.4-r2.ebuild, gcc-4.4.5.ebuild,
- gcc-4.4.6-r1.ebuild, gcc-4.4.7.ebuild, gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild,
- gcc-4.5.3-r2.ebuild, gcc-4.5.4.ebuild, gcc-4.6.0.ebuild, gcc-4.6.1-r1.ebuild,
- gcc-4.6.2.ebuild, gcc-4.6.3.ebuild, gcc-4.7.0.ebuild, gcc-4.7.1.ebuild,
- gcc-4.7.2.ebuild:
- Move xlibs gcj dep to the eclass.
-
- 05 Nov 2012; Ryan Hill <dirtyepic@gentoo.org> gcc-4.7.2.ebuild:
- Patchset 1.3. Backport patches to ignore always_inline attribute on redefined
- extern inline functions (bug #423945 and #435002) and preserve user alignment
- on user defined sections (among other things fixes glibc build on PPC).
-
- 21 Oct 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.7.1.ebuild,
- gcc-4.7.2.ebuild:
- Make sure gfortran respects sysroot #433435 by Andrew Aladjev.
-
- 06 Oct 2012; Magnus Granberg <zorry@gentoo.org> gcc-4.7.2.ebuild:
- Bump the piepatchset to 0.5.5
-
- 03 Oct 2012; Magnus Granberg <zorry@gentoo.org> gcc-4.7.2.ebuild:
- Update piepatchset to 0.5.4 to fix 436924
-
- 02 Oct 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.7.2.ebuild:
- Update x32 patch #436756 by Alphat-PC.
-
-*gcc-4.7.2 (30 Sep 2012)
-
- 30 Sep 2012; Ryan Hill <dirtyepic@gentoo.org> gcc-4.7.0.ebuild,
- gcc-4.7.1.ebuild, +gcc-4.7.2.ebuild:
- Version bump (bug #435852). Fixes bug #421413 (libtheora ICE) and bug #423675
- (gnash/boost ICE).
-
- 28 Sep 2012; Zac Medico <zmedico@gentoo.org> gcc-2.95.3-r10.ebuild:
- Drop global scope tc-arch call, which breaks metadata generation due to KV
- being unset (since rev 1.118 of toolchain-funcs.eclass). The
- GENTOO_PATCH_EXCLUDE setting that this tc-arch call triggers appears to be
- obsolete anyway, since the variable is not exported and there are no
- references to it whatsoever in any eclasses or ebuilds.
-
- 27 Sep 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.6.0.ebuild,
- gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild, gcc-4.5.3-r2.ebuild,
- gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild, gcc-4.6.3.ebuild, gcc-4.7.0.ebuild,
- gcc-4.7.1.ebuild:
- Drop -Werror from libgfortran, and push out accumulated patchesets for older
- versions.
-
- 26 Sep 2012; Matt Turner <mattst88@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild:
- Stable on alpha, bug 431878.
-
- 13 Sep 2012; Anthony G. Basile <blueness@gentoo.org> gcc-4.4.7.ebuild:
- Stable ppc64, bug #431878 - forgot 4.4.7
-
- 13 Sep 2012; Anthony G. Basile <blueness@gentoo.org> gcc-4.5.4.ebuild:
- Stable ppc64, bug #431878
-
- 12 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild:
- x86 stable wrt bug #431878
-
- 07 Sep 2012; Jeroen Roovers <jer@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild:
- Stable for HPPA (bug #431878).
-
- 02 Sep 2012; Michael Weber <xmw@gentoo.org> gcc-4.4.7.ebuild,
- gcc-4.5.4.ebuild:
- ppc stable (bug 431878).
-
- 01 Sep 2012; Michael Weber <xmw@gentoo.org> gcc-4.5.4.ebuild:
- ppc stable (bug 431878).
-
- 25 Aug 2012; Anthony G. Basile <blueness@gentoo.org> gcc-4.5.4.ebuild:
- Stable arm, bug #431878
-
- 21 Aug 2012; Agostino Sarubbo <ago@gentoo.org> gcc-4.5.4.ebuild:
- Stable for AMD64, wrt bug #431878
-
- 21 Aug 2012; Agostino Sarubbo <ago@gentoo.org> gcc-4.4.7.ebuild:
- Stable for AMD64, wrt bug #431878
-
- 19 Aug 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.7.1.ebuild:
- Update fortify source handling, and enable cross-compiler warnings with system
- paths.
-
- 11 Aug 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.6.3.ebuild:
- Add fix from upstream PR52999 for hppa section conflict errors #405161 by
- Jeroen Roovers.
-
- 23 Jul 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.6.3.ebuild,
- gcc-4.7.1.ebuild:
- Drop -Werror while building go #423153 by Tiziano Müller.
-
- 23 Jul 2012; Mike Frysinger <vapier@gentoo.org> gcc-3.3.6-r1.ebuild:
- Fix building with newer glibc and siginfo changes #427220 by Martin Jansa.
-
- 23 Jul 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.7.1.ebuild:
- Fix for building libitm on x86 #421305 by Rafał Mużyło.
-
- 23 Jul 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.6.3.ebuild:
- Fix building with glibc-2.16 #424970 by Chris Smith.
-
-*gcc-4.5.4 (15 Jul 2012)
-
- 15 Jul 2012; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.5.4.ebuild:
- Version bump.
-
- 28 Jun 2012; Anthony G. Basile <blueness@gentoo.org> gcc-4.6.3.ebuild:
- PIE and SSP work on mips glibc systems, tested on lemote yeeloong
-
-*gcc-4.7.1 (15 Jun 2012)
-
- 15 Jun 2012; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.7.1.ebuild:
- Version bump.
-
- 04 Jun 2012; Magnus Granberg <zorry@gentoo.org> gcc-4.6.3.ebuild:
- Bump of the piepatchset for gcc-4.6.3 to 0.5.2
-
- 03 Jun 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.7.0.ebuild:
- Apply x32 patch based on target ABIs.
-
- 02 Jun 2012; Magnus Granberg <zorry@gentoo.org> gcc-4.6.3.ebuild,
- gcc-4.7.0.ebuild:
- Add support for ssp on uclibc and it need to be >= 0.9.33
-
- 31 May 2012; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.0.ebuild,
- gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild, gcc-4.6.3.ebuild:
- Keyword 4.6.* for amd64.
-
- 25 May 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.6.2.ebuild,
- gcc-4.6.3.ebuild, gcc-4.7.0.ebuild:
- Update x32 support.
-
- 22 May 2012; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.0.ebuild,
- gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild, gcc-4.6.3.ebuild:
- Keyword for all but amd64.
-
-*gcc-4.7.0 (22 May 2012)
-
- 22 May 2012; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.5.3-r1.ebuild,
- +gcc-4.7.0.ebuild:
- Version bump (bug #409315).
-
- 18 May 2012; Mike Frysinger <vapier@gentoo.org> files/fix_libtool_files.sh:
- Use `.` rather than `source` now that we use /bin/sh as pointed out by pesa.
-
- 15 May 2012; Mike Frysinger <vapier@gentoo.org> files/fix_libtool_files.sh:
- Use awk file in /usr/share/gcc-data and tweak the code to be POSIX since it is
- so simple. #415947 by Jim Faulkner.
-
- 11 May 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.5.3-r2.ebuild,
- gcc-4.6.3.ebuild:
- Push out FreeBSD PIE fix #415185 by Alexis Ballier.
-
- 10 May 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.5.3-r2.ebuild,
- gcc-4.6.3.ebuild:
- Push out hppa 64bit fix #382075 by Jeroen Roovers, and new arm hardfp ldso
- path.
-
- 06 May 2012; Raúl Porcel <armin76@gentoo.org> gcc-4.3.6-r1.ebuild,
- gcc-4.4.6-r1.ebuild, gcc-4.5.3-r2.ebuild:
- alpha/ia64/s390/sh/sparc stable wrt #405845, #405849, #402847
-
-*gcc-4.6.3 (28 Apr 2012)
-
- 28 Apr 2012; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.6.3.ebuild,
- metadata.xml:
- Version bump (bug #406571).
-
- 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> gcc-4.5.3-r2.ebuild:
- keyword ~amd64-fbsd
-
- 15 Apr 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.5.3-r2.ebuild:
- Fix from upstream for building gcj with glibc-2.15+.
-
- 28 Mar 2012; Markus Meier <maekke@gentoo.org> gcc-4.3.6-r1.ebuild:
- arm stable, bug #405845
-
-*gcc-4.4.7 (27 Mar 2012)
-
- 27 Mar 2012; Mike Frysinger <vapier@gentoo.org> +gcc-4.4.7.ebuild:
- Version bump #409033 by Mr. Anderson.
-
- 15 Mar 2012; Markus Meier <maekke@gentoo.org> gcc-4.4.6-r1.ebuild:
- arm stable, bug #405849
-
- 15 Mar 2012; Mike Frysinger <vapier@gentoo.org> gcc-4.6.0.ebuild,
- gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild:
- Drop gcc-config dep now that the toolchain.eclass forces it.
-
- 10 Mar 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> gcc-4.4.6-r1.ebuild:
- x86 stable wrt bug #405849
-
- 09 Mar 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> gcc-4.3.6-r1.ebuild:
- x86 stable wrt bug #405845
-
- 03 Mar 2012; Brent Baude <ranger@gentoo.org> gcc-4.5.3-r2.ebuild:
- Marking gcc-4.5.3-r2 ppc64 for bug 402847
-
- 02 Mar 2012; Brent Baude <ranger@gentoo.org> gcc-4.4.6-r1.ebuild:
- Marking gcc-4.4.6-r1 ppc64 for bug 405849
-
- 02 Mar 2012; Brent Baude <ranger@gentoo.org> gcc-4.3.6-r1.ebuild:
- Marking gcc-4.3.6-r1 ppc64 for bug 405845
-
- 29 Feb 2012; Markus Meier <maekke@gentoo.org> gcc-4.5.3-r2.ebuild:
- arm stable, bug #402847
-
- 29 Feb 2012; Brent Baude <ranger@gentoo.org> gcc-4.5.3-r2.ebuild:
- Marking gcc-4.5.3-r2 ppc for bug 402847
-
- 28 Feb 2012; Brent Baude <ranger@gentoo.org> gcc-4.4.6-r1.ebuild:
- Marking gcc-4.4.6-r1 ppc for bug 405849
-
- 28 Feb 2012; Brent Baude <ranger@gentoo.org> gcc-4.3.6-r1.ebuild:
- Marking gcc-4.3.6-r1 ppc for bug 405845
-
- 27 Feb 2012; Agostino Sarubbo <ago@gentoo.org> gcc-4.4.6-r1.ebuild:
- Stable for amd64, wrt bug #405849
-
- 27 Feb 2012; Agostino Sarubbo <ago@gentoo.org> gcc-4.3.6-r1.ebuild:
- Stable for amd64, wrt bug #405845
-
- 24 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> gcc-4.5.3-r2.ebuild:
- x86 stable wrt bug #402847
-
- 22 Feb 2012; Jeroen Roovers <jer@gentoo.org> gcc-4.5.3-r2.ebuild:
- Stable for HPPA (bug #402847).
-
- 22 Feb 2012; Agostino Sarubbo <ago@gentoo.org> gcc-4.5.3-r2.ebuild:
- Stable for AMD64, wrt bug #402847
-
- 20 Feb 2012; Ryan Hill <dirtyepic@gentoo.org> gcc-4.5.3-r2.ebuild:
- Bump to p1.1. Fixes bug #388835 (ICE in move_insn, at haifa-sched.c).
-
- 20 Feb 2012; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.2.ebuild:
- Bump to p1.4. Fixes bug #388835 (ICE in move_insn, at haifa-sched.c) and
- bug #396005 (c-family plugin headers installed to incorrect location).
-
- 02 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org> +ChangeLog-2006:
- Split ChangeLog.
-
- 30 Dec 2011; Magnus Granberg <zorry@gentoo.org> gcc-4.5.3-r2.ebuild:
- Bump the piepatchset to 0.4.7 to fix 394821
-
-*gcc-4.5.3-r2 (13 Dec 2011)
-
- 13 Dec 2011; Magnus Granberg <zorry@gentoo.org> +gcc-4.5.3-r2.ebuild:
- Bump piepatchset to 0.4.6 and fix bug 393321
-
- 08 Dec 2011; Mike Frysinger <vapier@gentoo.org> gcc-4.6.2.ebuild:
- Update x32 snapshot for native x32 support.
-
- 07 Dec 2011; Magnus Granberg <zorry@gentoo.org gcc-4.6.2.ebuild:
- Bump piepatchset to 0.5.0 to fix 380823 and 393321
-
- 06 Dec 2011; Mike Frysinger <vapier@gentoo.org> gcc-4.6.2.ebuild:
- Add x32 ABI backport (for x86-64 targets) from gcc-4.7.
-
- 06 Dec 2011; Mike Frysinger <vapier@gentoo.org> metadata.xml:
- Add description for new USE=libssp flag.
-
- 06 Dec 2011; Mike Frysinger <vapier@gentoo.org> -files/3.4.3/libssp.patch,
- gcc-3.3.6-r1.ebuild, gcc-3.4.6-r2.ebuild, gcc-4.0.4.ebuild:
- Drop obsolete/unsupported SSP/PIE code in older gcc versions.
-
- 06 Dec 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.2.ebuild:
- Bump to patchset 1.1. Fixes compile issues on arm (bug #366253), and enable
- fortification by default using builtin defines instead of spec rules as the
- latter may become unsupportable in the future.
-
- 04 Dec 2011; Mike Frysinger <vapier@gentoo.org> gcc-3.3.6-r1.ebuild,
- gcc-3.4.6-r2.ebuild:
- Drop dead MAN_VER code.
-
- 03 Dec 2011; Mike Frysinger <vapier@gentoo.org>
- -files/stubs/gcc-3.3-htb-stub.patch, -files/stubs/gcc-3.3-ssp-stub.patch,
- -files/stubs/gcc-3.4-htb-stub.patch, -files/stubs/gcc-3.4-ssp-stub.patch,
- -files/stubs/gcc-4.0-htb-stub.patch, -files/stubs/gcc-4.0-ssp-stub.patch:
- Drop now unused stub patches.
-
- 03 Dec 2011; Mike Frysinger <vapier@gentoo.org> gcc-4.6.0.ebuild,
- gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild:
- Disable fortify patches with older glibcs #362315 by Leonid Volnitsky.
-
- 03 Dec 2011; Mike Frysinger <vapier@gentoo.org> gcc-4.0.4.ebuild,
- gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild:
- Drop obsolete GENTOO_PATCH_EXCLUDE lines.
-
- 02 Dec 2011; Mike Frysinger <vapier@gentoo.org> gcc-2.95.3-r10.ebuild,
- gcc-3.2.2.ebuild, gcc-3.3.6-r1.ebuild, gcc-3.4.6-r2.ebuild, gcc-4.0.4.ebuild,
- gcc-4.1.2.ebuild, gcc-4.2.4-r1.ebuild, gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild,
- gcc-4.3.5.ebuild, gcc-4.3.6-r1.ebuild, gcc-4.4.2.ebuild:
- Delete old hardened logic as we no longer support it (split specs/etc...).
-
- 02 Dec 2011; Mike Frysinger <vapier@gentoo.org> metadata.xml:
- Add USE=gtk description by Ralph Sennhauser #362799 by Peter Volkov.
-
- 09 Nov 2011; Mike Frysinger <vapier@gentoo.org> gcc-2.95.3-r10.ebuild,
- gcc-3.3.6-r1.ebuild, gcc-3.4.6-r2.ebuild, gcc-4.0.4.ebuild, gcc-4.1.2.ebuild,
- gcc-4.2.4-r1.ebuild, gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild, gcc-4.3.5.ebuild,
- gcc-4.3.6-r1.ebuild, gcc-4.4.2.ebuild, gcc-4.4.3-r3.ebuild,
- gcc-4.4.4-r2.ebuild, gcc-4.4.5.ebuild, gcc-4.4.6-r1.ebuild,
- gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild, gcc-4.5.3-r1.ebuild, gcc-4.6.0.ebuild,
- gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild:
- Drop most dependencies now that toolchain.eclass takes care of them. Also
- drop the ncurses dep as that seems to be purely a workaround for an ancient
- issue #4411 which we have addressed in different ways.
-
-*gcc-4.6.2 (30 Oct 2011)
-
- 30 Oct 2011; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.6.2.ebuild:
- Version bump. Also fixes bug #364319 (preprocessor flag canonicalization
- patch broke gcj), and bug #387483 (broken clang++).
-
- 24 Oct 2011; Raúl Porcel <armin76@gentoo.org> gcc-4.5.3-r1.ebuild:
- alpha/ia64/s390/sh/sparc stable wrt #357478
-
- 09 Oct 2011; Markus Meier <maekke@gentoo.org> gcc-4.5.3-r1.ebuild:
- arm stable, bug #357479
-
- 04 Oct 2011; Jeroen Roovers <jer@gentoo.org> gcc-4.5.3-r1.ebuild:
- Stable for HPPA (bug #357479).
-
- 26 Sep 2011; Mike Frysinger <vapier@gentoo.org> gcc-2.95.3-r10.ebuild,
- gcc-3.2.2.ebuild, gcc-3.3.6-r1.ebuild, gcc-3.4.6-r2.ebuild, gcc-4.0.4.ebuild,
- gcc-4.1.2.ebuild, gcc-4.2.4-r1.ebuild, gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild,
- gcc-4.3.5.ebuild, gcc-4.3.6-r1.ebuild, gcc-4.4.2.ebuild, gcc-4.4.3-r3.ebuild,
- gcc-4.4.4-r2.ebuild, gcc-4.4.5.ebuild, gcc-4.4.6-r1.ebuild,
- gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild, gcc-4.5.3-r1.ebuild, gcc-4.6.0.ebuild,
- gcc-4.6.1-r1.ebuild:
- Scrub now unused ETYPE logic.
-
- 25 Sep 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> gcc-4.5.3-r1.ebuild:
- x86 stable wrt bug #357479
-
- 23 Sep 2011; Kacper Kowalik <xarthisius@gentoo.org> gcc-4.5.3-r1.ebuild:
- ppc/ppc64 stable wrt #357479
-
- 20 Sep 2011; Tony Vroon <chainsaw@gentoo.org> gcc-4.5.3-r1.ebuild:
- Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug
- #357479.
-
-*gcc-4.6.1-r1 (13 Aug 2011)
-*gcc-4.5.3-r1 (13 Aug 2011)
-*gcc-4.4.6-r1 (13 Aug 2011)
-*gcc-4.3.6-r1 (13 Aug 2011)
-
- 13 Aug 2011; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.3.6.ebuild,
- +gcc-4.3.6-r1.ebuild, -gcc-4.4.6.ebuild, +gcc-4.4.6-r1.ebuild,
- -gcc-4.5.3.ebuild, +gcc-4.5.3-r1.ebuild, -gcc-4.6.1.ebuild,
- +gcc-4.6.1-r1.ebuild:
- Rev bumps to force fix for bug #377633. No other changes.
-
-*gcc-4.5.3 (06 Aug 2011)
-
- 06 Aug 2011; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.5.3.ebuild:
- Version bump (bug #365935). Also fixes HPPA miscompile (bug #322831) and IA64
- ICE (bug #365045).
-
- 06 Aug 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.5.1-r1.ebuild,
- gcc-4.5.2.ebuild:
- Allow dev-libs/libelf as an alternative to elfutils for LTO support in 4.5
- (bug #375737).
-
- 06 Aug 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.0.ebuild,
- gcc-4.6.1.ebuild:
- Drop softfloat patches for 4.6 (bug #372199).
-
- 21 Jul 2011; Jeroen Roovers <jer@gentoo.org> gcc-4.4.6.ebuild:
- Stable for HPPA (bug #374465).
-
- 20 Jul 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-2.95.3-r9.ebuild,
- gcc-2.95.3-r10.ebuild, gcc-3.1.1-r2.ebuild, gcc-3.2.2.ebuild,
- gcc-3.2.3-r4.ebuild, gcc-3.3.6-r1.ebuild, gcc-3.4.6-r2.ebuild,
- gcc-4.0.4.ebuild, gcc-4.1.2.ebuild, gcc-4.2.4-r1.ebuild, gcc-4.3.3-r2.ebuild,
- gcc-4.4.2.ebuild, gcc-4.4.3-r3.ebuild:
- Repoman talks too much.
-
-*gcc-4.4.6 (20 Jul 2011)
-
- 20 Jul 2011; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.4.6.ebuild:
- Version bump (bug #364021).
-
-*gcc-4.6.1 (05 Jul 2011)
-
- 05 Jul 2011; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.6.1.ebuild:
- Version bump.
-
- 03 Jul 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.4.5.ebuild:
- Patchset 1.3 for 4.4.5. Fixes bug #347281 (backport PowerPC -msingle-pic-base
- and -mrelocatable support), bug #352201 (float args passed incorrectly from
- ms_abi to sysv functions), and bug #365045 (IA64 ICE building erlang).
-
-*gcc-4.3.6 (01 Jul 2011)
-
- 01 Jul 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.3.5.ebuild,
- +gcc-4.3.6.ebuild, metadata.xml:
- Version bump (bug #373305), fix some repoman warnings.
-
- 01 Jul 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.3.4.ebuild:
- 4.3.4 p1.3 fixes a race condition in the build system (bug #305739).
-
- 09 Jun 2011; Mike Frysinger <vapier@gentoo.org> gcc-3.3.6-r1.ebuild:
- Fix from upstream for missing symbol versions in multilib builds #304239.
-
- 13 Apr 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.0.ebuild:
- Patchset bump. Fixes a couple ICEs and a wrong-code -ftree-vectorize bug.
- Change preprocessor option handling to make specs work again (bug #361783).
-
- 04 Apr 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.6.0.ebuild:
- Unbreak -U_FORTIFY_SOURCE (bug #361783).
-
-*gcc-4.6.0 (03 Apr 2011)
-
- 03 Apr 2011; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.6.0.ebuild,
- metadata.xml:
- Version bump.
-
- 08 Mar 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-3.3.6-r1.ebuild,
- gcc-3.4.6-r2.ebuild, gcc-4.0.4.ebuild, gcc-4.1.2.ebuild, gcc-4.2.4-r1.ebuild,
- gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild, gcc-4.3.5.ebuild, gcc-4.4.2.ebuild,
- gcc-4.4.3-r3.ebuild, gcc-4.4.4-r2.ebuild, gcc-4.4.5.ebuild,
- gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild:
- Lock down gtk+ dependencies.
-
- 05 Mar 2011; Raúl Porcel <armin76@gentoo.org> gcc-4.4.5.ebuild:
- alpha/arm/ia64/s390/sh/sparc stable wrt #354881
-
- 26 Feb 2011; Guy Martin <gmsoft@gentoo.org> ChangeLog:
- Stable on hppa wrt bug #354881.
-
- 26 Feb 2011; Markos Chandras <hwoarang@gentoo.org> gcc-4.4.5.ebuild:
- Stable on amd64 wrt bug #354881
-
- 25 Feb 2011; Christian Faulhammer <fauli@gentoo.org> gcc-4.4.5.ebuild:
- stable x86, bug 354881
-
- 15 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> gcc-4.4.5.ebuild:
- ppc/ppc64 stable wrt #354881. Thanks Alex Buell <alex.buell@munted.org.uk>
- for testing.
-
- 13 Feb 2011; Ryan Hill <dirtyepic@gentoo.org> gcc-4.5.2.ebuild:
- Bump patchset to 1.1. Fixes for arm and testsuite stuff.
-
- 13 Feb 2011; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.4.3-r2.ebuild,
- -gcc-4.4.4-r1.ebuild, gcc-4.4.4-r2.ebuild, gcc-4.4.5.ebuild:
- Release 4.4.4 p1.4 and 4.4.5 p1.2 with fix for HPPA wrong-code (bug #349113).
- Remove old.
-
- 06 Feb 2011; Mart Raudsepp <leio@gentoo.org> gcc-3.2.3-r4.ebuild,
- gcc-4.1.2.ebuild:
- Drop to ~mips
-
- 01 Jan 2011; Ryan Hill <dirtyepic@gentoo.org> files/gcc-spec-env.patch:
- GET_ENVIRONMENT is poisoned in 4.6. Use getenv() instead. No functional
- changes.
-
-*gcc-4.5.2 (28 Dec 2010)
-
- 28 Dec 2010; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.5.2.ebuild:
- Version bump. Fixes bugs 336157, 346845, 349113, and 349165.
-
- 29 Nov 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.4.4-r2.ebuild,
- gcc-4.4.5.ebuild:
- Bump patchsets for parallel build error (bug #337715).
-
- 29 Nov 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.5.1-r1.ebuild:
- Bump patchset to fix graphite ICEs (bug #346445).
-
- 29 Nov 2010; Brent Baude <ranger@gentoo.org> gcc-4.4.4-r2.ebuild:
- Marking gcc-4.4.4-r2 ppc64 for bug 331531
-
- 27 Nov 2010; Raúl Porcel <armin76@gentoo.org> gcc-4.4.4-r2.ebuild:
- s390 stable
-
- 23 Nov 2010; Jeroen Roovers <jer@gentoo.org> gcc-4.4.4-r2.ebuild:
- Stable for PPC (bug #331531).
-
-*gcc-4.5.1-r1 (21 Nov 2010)
-
- 21 Nov 2010; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.5.1.ebuild,
- +gcc-4.5.1-r1.ebuild:
- Revbump to push out patchset. No functional changes.
-
- 20 Nov 2010; Raúl Porcel <armin76@gentoo.org> gcc-4.4.4-r2.ebuild:
- alpha/ia64/sh/sparc stable wrt #331531
-
- 19 Nov 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.5.1.ebuild:
- Patchset 1.3 fixes the following bugs:
- #345219 - ICE with graphite flags
- #341743 - wrong code with -fno-strict-overflow
- PR45314 - miscompilation of i8k kernel driver
-
- 12 Nov 2010; <mattst88@gentoo.org> gcc-4.5.1.ebuild:
- Added ~mips keyword.
-
- 03 Nov 2010; Markus Meier <maekke@gentoo.org> gcc-4.4.4-r2.ebuild:
- arm stable, bug #331531
-
- 22 Oct 2010; Christian Faulhammer <fauli@gentoo.org> gcc-4.4.4-r2.ebuild:
- stable x86, bug 331531
-
- 22 Oct 2010; Jeroen Roovers <jer@gentoo.org> gcc-4.4.4-r2.ebuild:
- Stable for HPPA (bug #331531).
-
- 19 Oct 2010; Markos Chandras <hwoarang@gentoo.org> gcc-4.4.4-r2.ebuild:
- Stable on amd64 wrt bug #331531
-
-*gcc-4.4.5 (17 Oct 2010)
-
- 17 Oct 2010; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.4.5.ebuild:
- Version bump.
-
- 17 Oct 2010; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.3.2-r3.ebuild,
- -gcc-4.3.2-r4.ebuild, gcc-4.3.4.ebuild, gcc-4.3.5.ebuild,
- -gcc-4.4.1.ebuild, -gcc-4.4.4.ebuild, -gcc-4.5.0.ebuild:
- Push out new 4.3.4 and 4.3.5 patchsets for bugs #256608 and #335290.
- Remove old.
-
- 10 Oct 2010; Mike Frysinger <vapier@gentoo.org> gcc-4.5.1.ebuild:
- Push out SuperH multilib fix #320251.
-
- 08 Oct 2010; Raúl Porcel <armin76@gentoo.org> gcc-4.4.3-r3.ebuild:
- arm/ia64/sh stable
-
- 24 Sep 2010; Luca Barbato <lu_zero@gentoo.org> gcc-4.4.3-r3.ebuild:
- Revert bump mixup (-r2 got bumped as -r3 instead -r3 patchset being
- bumped)
-
- 24 Sep 2010; Luca Barbato <lu_zero@gentoo.org> gcc-4.4.3-r3.ebuild:
- Revert bump mixup (-r2 got bumped as -r3 instead -r3 patchset being
- bumped)
-
- 23 Sep 2010; Luca Barbato <lu_zero@gentoo.org> gcc-4.4.3-r3.ebuild:
- Patchset bump to 1.4 backporting 4.4.4 patches.
-
- 19 Sep 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.5.0.ebuild,
- gcc-4.5.1.ebuild:
- Restore keywords. Drop mips until they keyword dev-libs/mpc (bug #279851).
-
- 16 Sep 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.5.1.ebuild:
- Bump 4.5.1 patchset to 1.1. Fixes bug #334269 and #331641.
- Add ewarn about LTO to pkg_setup.
-
-*gcc-4.4.4-r2 (16 Sep 2010)
-
- 16 Sep 2010; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.4.4-r2.ebuild:
- Revision bump to push out patchset 1.2. Fixes kernel miscompilation
- (bug #334269) as well as bug #331641, #331825, and #335290.
-
- 06 Sep 2010; Raúl Porcel <armin76@gentoo.org> gcc-4.4.3-r2.ebuild,
- gcc-4.4.3-r3.ebuild, gcc-4.4.4-r1.ebuild:
- Add ~s390
-
- 30 Aug 2010; Raúl Porcel <armin76@gentoo.org> gcc-4.4.3-r2.ebuild:
- sparc stable
-
- 13 Aug 2010; Joseph Jezak <josejx@gentoo.org> gcc-4.4.3-r2.ebuild:
- Marked ppc stable for bug #302468.
-
- 10 Aug 2010; Jeroen Roovers <jer@gentoo.org> gcc-4.4.4-r1.ebuild:
- Stable for HPPA (bug #331531).
-
-*gcc-4.5.1 (07 Aug 2010)
-
- 07 Aug 2010; Ryan Hill <dirtyepic@gentoo.org> +gcc-4.5.1.ebuild:
- Version bump (bug #330873). Also fixes #321325 and #328451.
-
- 07 Aug 2010; Raúl Porcel <armin76@gentoo.org> gcc-4.4.3-r2.ebuild,
- gcc-4.4.3-r3.ebuild, gcc-4.4.4.ebuild, gcc-4.4.4-r1.ebuild:
- Add ~sparc to 4.4.{3,4}
-
- 01 Aug 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.4.3-r3.ebuild,
- gcc-4.4.4-r1.ebuild:
- Patchset bump to fix bug #327191 for SH.
-
- 01 Aug 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.4.4-r1.ebuild:
- Drop hppa STAGE1_CFLAGS hack (bug #326539).
-
- 28 Jul 2010; Ryan Hill <dirtyepic@gentoo.org> metadata.xml:
- Set proper expectations for lto.
-
- 21 Jul 2010; Mark Loeser <halcy0n@gentoo.org> gcc-4.5.0.ebuild:
- Bump patchset for bug #317579
-
- 18 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> gcc-4.4.3-r2.ebuild:
- ppc64 stable wrt #302468
-
- 28 Jun 2010; Jeroen Roovers <jer@gentoo.org> gcc-4.4.4-r1.ebuild:
- Marked ~hppa after setting STAGE1_CFLAGS to something sane.
-
- 27 Jun 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.5.0.ebuild:
- Bump patchset. This release fixes the following bugs:
-
- #317187 - Wrong code w/ -foptimize-sibling-calls (enabled at -O2)
- #317269 - Link shared libs to libc on FreeBSD
- #317513 - Core i? CPUs misdetected as Atom with -march=native
- #317755 - Bootstrap failure with -march=atom
-
- 21 Jun 2010; Magnus Granberg <zorry@gentoo.org> gcc-4.5.0.ebuild:
- Add hardened support #318171
-
-*gcc-4.4.4-r1 (19 Jun 2010)
-*gcc-4.4.3-r3 (19 Jun 2010)
-
- 19 Jun 2010; Magnus Granberg <zorry@gentoo.org> +gcc-4.4.3-r3.ebuild,
- +gcc-4.4.4-r1.ebuild:
- bump for adding hardened support #318171
-
- 17 Jun 2010; Magnus Granberg <zorry@gentoo.org> gcc-4.3.5.ebuild:
- fix typo in *_STABLE so we don't use hardened_gcc_check_unsupported
-
- 13 Jun 2010; Raúl Porcel <armin76@gentoo.org> gcc-4.4.3-r2.ebuild:
- alpha/ia64/sh stable wrt #302468
-
- 10 Jun 2010; Markus Meier <maekke@gentoo.org> gcc-4.4.3-r2.ebuild:
- arm stable, bug #302468
-
-*gcc-4.4.4 (10 Jun 2010)
-
- 10 Jun 2010; Mike Frysinger <vapier@gentoo.org> +gcc-4.4.4.ebuild:
- Version bump #318075 by Richard. This release includes fixes for #281907
- by Patrick Lauer and for #313009 by Julien Etienne. Backports from
- upstream are included for #317211 by Javier Villavicencio, #317335 by
- Alexis Ballier, and #322031 by Nico Baggus.
-
-*gcc-4.3.5 (10 Jun 2010)
-
- 10 Jun 2010; Mike Frysinger <vapier@gentoo.org> +gcc-4.3.5.ebuild:
- Version bump.
-
- 04 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> gcc-4.4.3-r2.ebuild:
- x86 stable wrt bug #302468
-
- 25 May 2010; Markos Chandras <hwoarang@gentoo.org> gcc-4.4.3-r2.ebuild:
- Stable on amd64 wrt bug #302468
-
- 17 May 2010; Mark Loeser <halcy0n@gentoo.org> gcc-4.5.0.ebuild:
- Bump patchset to fix bug #317217
-
- 09 May 2010; Raúl Porcel <armin76@gentoo.org> gcc-4.4.3-r2.ebuild:
- Add ~sh
-
- 27 Apr 2010; Ryan Hill <dirtyepic@gentoo.org> gcc-4.4.3-r2.ebuild:
- Tweak message.
-
-*gcc-4.4.3-r2 (25 Apr 2010)
-
- 25 Apr 2010; Mark Loeser <halcy0n@gentoo.org> -gcc-4.4.3-r1.ebuild,
- +gcc-4.4.3-r2.ebuild, gcc-4.5.0.ebuild:
- Wrong version of the cloog patch. Thanks to Ryan for spotting my mistake;
- bug #317059
-
-*gcc-4.4.3-r1 (25 Apr 2010)
-
- 25 Apr 2010; Mark Loeser <halcy0n@gentoo.org> -gcc-4.4.3.ebuild,
- +gcc-4.4.3-r1.ebuild:
- Patchset bump to include patch from bug #317059
-
-*gcc-4.5.0 (24 Apr 2010)
-
- 24 Apr 2010; Mark Loeser <halcy0n@gentoo.org> +gcc-4.5.0.ebuild,
- metadata.xml:
- Version bump to 4.5.0; fixes bug #315377. Thanks to Ryan Hill <dirtyepic
- AT gentoo DOT org> for help figuring out the changes needed
-
- 24 Apr 2010; Mark Loeser <halcy0n@gentoo.org> gcc-4.4.3.ebuild:
- Add ewarn about the use of graphite
-
- 28 Mar 2010; Mark Loeser <halcy0n@gentoo.org> gcc-4.3.4.ebuild,
- gcc-4.4.3.ebuild:
- Fix patch exclusion; bug #309279
-
- 25 Mar 2010; Mark Loeser <halcy0n@gentoo.org> gcc-4.4.3.ebuild:
- Excluding alpha patch for bug #309279
-
- 19 Mar 2010; Mike Frysinger <vapier@gentoo.org>
- files/awk/fixlafiles.awk-no_gcc_la:
- Add support for the "include" keyword in ld.so.conf #304843 by Nico R.
-
- 03 Mar 2010; <solar@gentoo.org> gcc-4.3.4.ebuild:
- - add armv7 patch to gcc-4.3.4 to keep stable from breaking due to a
- recent toolchain.eclass change. We also inherit some alpha fixes
-
-*gcc-4.4.3 (08 Feb 2010)
-
- 08 Feb 2010; Mike Frysinger <vapier@gentoo.org> +gcc-4.4.3.ebuild:
- Version bump.
-
- 09 Jan 2010; Ulrich Mueller <ulm@gentoo.org> gcc-4.0.4.ebuild,
- gcc-4.1.2.ebuild, gcc-4.2.4-r1.ebuild, gcc-4.3.2-r3.ebuild,
- gcc-4.3.2-r4.ebuild, gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild,
- gcc-4.4.1.ebuild, gcc-4.4.2.ebuild:
- Make GPL exceptions optional and add FDL-1.2 to LICENSE. Fixes bug 299996.
-
- 03 Dec 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.3.4.ebuild:
- sh stable wrt #288621
-
- 10 Nov 2009; Brent Baude <ranger@gentoo.org> gcc-4.3.4.ebuild:
- Marking gcc-4.3.4 ppc64 for bug 288621
-
- 10 Nov 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.4.2.ebuild:
- gcc-4.4.2 works fine on arm
-
- 02 Nov 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.3.4.ebuild:
- ia64/s390/sparc stable wrt #288621
-
- 30 Oct 2009; Markus Meier <maekke@gentoo.org> gcc-4.3.4.ebuild:
- arm stable, bug #288621
-
- 27 Oct 2009; Tobias Klausmann <klausman@gentoo.org> gcc-4.3.4.ebuild:
- Stable on alpha, bug #288621
-
- 24 Oct 2009; nixnut <nixnut@gentoo.org> gcc-4.3.4.ebuild:
- ppc stable #288621
-
- 19 Oct 2009; Alexey Shvetsov <alexxy@gentoo.org> gcc-4.4.1.ebuild,
- gcc-4.4.2.ebuild:
- Add ~mips keywords to gcc-4.4.{1,2}
-
-*gcc-4.4.2 (17 Oct 2009)
-
- 17 Oct 2009; Mark Loeser <halcy0n@gentoo.org> +gcc-4.4.2.ebuild:
- Version bump
-
- 16 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> gcc-4.3.4.ebuild:
- amd64 stable wrt #288621
-
- 16 Oct 2009; Christian Faulhammer <fauli@gentoo.org> gcc-4.3.4.ebuild:
- stable x86, bug 288621
-
- 01 Oct 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.3.2-r4.ebuild:
- s390/sh stable wrt #264121
-
- 25 Sep 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.3.2-r3.ebuild,
- gcc-4.4.1.ebuild:
- Mark -arm due to bug #286251, mark -sparc due to bug #283041
-
- 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> gcc-3.1.1-r2.ebuild:
- Remove virtual/libc
-
- 20 Sep 2009; Ryan Hill <dirtyepic@gentoo.org> gcc-4.4.1.ebuild:
- Touch up dependencies.
-
- 20 Sep 2009; Ryan Hill <dirtyepic@gentoo.org> gcc-4.3.2-r3.ebuild,
- gcc-4.3.2-r4.ebuild, gcc-4.3.3-r2.ebuild, gcc-4.3.4.ebuild:
- Fix license in 4.3 too.
-
- 20 Sep 2009; Ryan Hill <dirtyepic@gentoo.org> gcc-4.4.1.ebuild:
- Fix LGPL license version.
-
- 19 Sep 2009; Alexis Ballier <aballier@gentoo.org> gcc-4.4.1.ebuild:
- keyword ~x86-fbsd
-
- 02 Sep 2009; Mark Loeser <halcy0n@gentoo.org> gcc-4.3.2-r4.ebuild:
- Bump patchset to include SH fix
-
- 16 Aug 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.4.1.ebuild:
- Add ~ia64 wrt #278687
-
- 12 Aug 2009; Mark Loeser <halcy0n@gentoo.org> gcc-4.4.1.ebuild:
- Keyword ~alpha
-
- 12 Aug 2009; Mark Loeser <halcy0n@gentoo.org> -gcc-4.4.0-r1.ebuild:
- Remove gcc-4.4.0 from the tree. Some keywords are being dropped as they
- were not, to my knowledge, actually tested yet
-
-*gcc-4.3.4 (08 Aug 2009)
-
- 08 Aug 2009; Mark Loeser <halcy0n@gentoo.org> +gcc-4.3.4.ebuild:
- Version bump
-
- 24 Jul 2009; Robert Piasek <dagger@gentoo.org> gcc-4.4.1.ebuild:
- Keyworded ~arm as per bug #278687
-
- 24 Jul 2009; Joseph Jezak <josejx@gentoo.org> gcc-4.4.1.ebuild:
- Marked ~ppc for bug #278687.
-
- 23 Jul 2009; Mark Loeser <halcy0n@gentoo.org> gcc-4.4.1.ebuild:
- Bump uclibc patchset to fix a digest screwup
-
-*gcc-4.4.1 (23 Jul 2009)
-
- 23 Jul 2009; Mark Loeser <halcy0n@gentoo.org> +gcc-4.4.1.ebuild:
- Version bump, and dropped archs I'm unsure if they work or not
-
- 20 Jul 2009; Jeroen Roovers <jer@gentoo.org> gcc-4.4.0-r1.ebuild:
- Mark gcc-4.4* -hppa (bug #272645 and some currently undocumented
- problems).
-
-*gcc-4.4.0-r1 (16 Jul 2009)
-
- 16 Jul 2009; Mark Loeser <halcy0n@gentoo.org> -gcc-4.4.0.ebuild,
- +gcc-4.4.0-r1.ebuild:
- Bump for new 4.4.0 patchset
-
- 02 Jun 2009; Jeroen Roovers <jer@gentoo.org> gcc-4.3.2-r3.ebuild,
- gcc-4.3.2-r4.ebuild, gcc-4.3.3-r2.ebuild:
- Remove HPPA keywording from 4.3 ebuilds (see bug #225917 and bug #264121).
-
- 24 May 2009; Mark Loeser <halcy0n@gentoo.org> gcc-4.3.3-r2.ebuild,
- gcc-4.4.0.ebuild:
- Bump the patchset to fix building on SH; bug #267247
-
- 16 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> gcc-4.4.0.ebuild:
- Keyword -x86-fbsd per bug #270098 (miscompile of the C library).
-
- 15 May 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.3.2-r4.ebuild:
- arm stable wrt #264121
-
- 11 May 2009; Raúl Porcel <armin76@gentoo.org>
- +files/4.4.0/gcc-4.4.0-softfloat.patch, gcc-4.4.0.ebuild:
- Add softfloat patch for gcc-4.4.0, patch done by Maksim 'max_posedon'
- Melnikau <maxposedon at gmail dot com>, bug #268903
-
- 09 May 2009; Mark Loeser <halcy0n@gentoo.org> gcc-4.2.4-r1.ebuild,
- -gcc-4.3.0.ebuild, -gcc-4.3.1.ebuild, -gcc-4.3.1-r1.ebuild,
- -gcc-4.3.2.ebuild, -gcc-4.3.2-r2.ebuild, gcc-4.3.2-r3.ebuild,
- gcc-4.3.2-r4.ebuild, gcc-4.3.3-r2.ebuild, gcc-4.4.0.ebuild:
- Remove a bunch of old versions, and fix some licenses; bug #174474
-
- 07 May 2009; Mark Loeser <halcy0n@gentoo.org> gcc-4.4.0.ebuild,
- metadata.xml:
- Add graphite support to gcc-4.4
-
-*gcc-4.4.0 (07 May 2009)
-
- 07 May 2009; Mark Loeser <halcy0n@gentoo.org> +gcc-4.4.0.ebuild:
- Bump to 4.4.0; bug #267268
-
- 03 May 2009; Mark Loeser <halcy0n@gentoo.org> -gcc-4.3.3.ebuild,
- gcc-4.3.3-r2.ebuild:
- Add DEPEND on >=glibc-2.8; bug #267650
-
- 03 May 2009; Mark Loeser <halcy0n@gentoo.org> gcc-3.4.6-r2.ebuild,
- gcc-4.0.4.ebuild, gcc-4.1.2.ebuild, gcc-4.2.4-r1.ebuild, gcc-4.3.0.ebuild,
- gcc-4.3.1.ebuild, gcc-4.3.1-r1.ebuild, gcc-4.3.2.ebuild,
- gcc-4.3.2-r2.ebuild, gcc-4.3.2-r3.ebuild, gcc-4.3.2-r4.ebuild,
- gcc-4.3.3.ebuild, gcc-4.3.3-r2.ebuild:
- Add sys-devel/flex as a DEPEND; bug #221411
-
-*gcc-4.3.2-r4 (26 Apr 2009)
-
- 26 Apr 2009; Mark Loeser <halcy0n@gentoo.org> +gcc-4.3.2-r4.ebuild:
- Bump patchset to fix bug #261111 and bug #265367 for arm
-
- 14 Apr 2009; Brent Baude <ranger@gentoo.org> gcc-4.3.2-r3.ebuild:
- Marking gcc-4.3.2-r3 ppc64 for bug 264121
-
- 04 Apr 2009; Tobias Klausmann <klausman@gentoo.org> gcc-4.3.2-r3.ebuild:
- Stable on alpha, bug #264121
-
- 04 Apr 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.3.2-r3.ebuild:
- ia64 stable wrt #264121
-
- 04 Apr 2009; Markus Meier <maekke@gentoo.org> gcc-4.3.2-r3.ebuild:
- x86 stable, bug #264121
-
- 02 Apr 2009; Friedrich Oslage <bluebird@gentoo.org> gcc-4.3.2-r3.ebuild:
- Stable on sparc, bug #264121
-
- 01 Apr 2009; Joseph Jezak <josejx@gentoo.org> gcc-4.3.2-r3.ebuild:
- Marked ppc stable for bug #264121.
-
- 31 Mar 2009; Raúl Porcel <armin76@gentoo.org> gcc-4.3.2-r3.ebuild:
- Add fix for bug #264295
-
- 31 Mar 2009; Timothy Redaelli <drizzt@gentoo.org>
- files/awk/fixlafiles.awk-no_gcc_la:
- Fix files/awk/fixlafiles.awk-no_gcc_la for POSIX shell compliant. Output
- functions taken from files/awk/fixlafiles.awk. Authorized by vapier wrt
- #264309.
-
- 30 Mar 2009; Jeremy Olexa <darkside@gentoo.org> gcc-4.3.2-r3.ebuild:
- amd64 stable, bug 264121
-
-*gcc-4.3.3-r2 (27 Mar 2009)
-
- 27 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> -gcc-4.3.3-r1.ebuild,
- +gcc-4.3.3-r2.ebuild:
- Revbump with broken patch disabled to stop duplicates of bug 262567 from
- flowing in. Bug wranglers know this bug by heart now.
-
- 20 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- metadata.xml:
- Removing anant as a maintainer since he was retired.
-
- 16 Mar 2009; Mike Frysinger <vapier@gentoo.org> gcc-4.3.3-r1.ebuild:
- Disable semi-broken patch for now so more people dont hit the bug #262567.
-
-*gcc-4.3.3-r1 (15 Mar 2009)
-
- 15 Mar 2009; Mike Frysinger <vapier@gentoo.org> +gcc-4.3.3-r1.ebuild:
- Push out accumulated fixes and new uClibc patchset.
-
- 24 Feb 2009; Joshua Kinard <kumba@gentoo.org> gcc-4.3.2-r3.ebuild,
- gcc-4.3.3.ebuild:
- Add ~mips to gcc-4.3.2-r3 and 4.3.3
-
- 15 Feb 2009; Mike Frysinger <vapier@gentoo.org> gcc-3.3.6-r1.ebuild:
- Use the replace-cpu-flags logic in the eclass #252698 by Le retraité.
-
- 15 Feb 2009; Mike Frysinger <vapier@gentoo.org> gcc-3.3.6-r1.ebuild,
- gcc-3.4.6-r2.ebuild, gcc-4.0.4.ebuild:
- Add fix from upstream for open() arguments #256638 by Martin von Gagern.
-
- 03 Feb 2009; Ryan Hill <dirtyepic@gentoo.org> Manifest:
- Fix Manifest. Bug #257538.
-
- 03 Feb 2009; Harald van Dijk <truedfx@gentoo.org> files/c89, files/c99:
- Aim for conformance when called as c89/c99 (#257299)
-
- 01 Feb 2009; Mike Frysinger <vapier@gentoo.org> gcc-4.3.3.ebuild:
- Force newer glibc as people like to mix stable/unstable #257047.
-
- 31 Jan 2009; Guy Martin <gmsoft@gentoo.org> gcc-4.2.4-r1.ebuild:
- hppa stable with Rej's blessing
-
-*gcc-4.3.3 (27 Jan 2009)
-
- 27 Jan 2009; Mike Frysinger <vapier@gentoo.org> +gcc-4.3.3.ebuild:
- Version bump.
-
-*gcc-4.3.2-r3 (27 Jan 2009)
-
- 27 Jan 2009; Mike Frysinger <vapier@gentoo.org> +gcc-4.3.2-r3.ebuild:
- Add some fixes from Debian, and fixes for PR34571, PR37489, PR37661, and
- hppa slot issue #228287.
-
- 19 Jan 2009; Mark Loeser <halcy0n@gentoo.org> gcc-4.1.2.ebuild:
- Another patchset bump because I forgot a patch for arm
-
- 17 Jan 2009; Mark Loeser <halcy0n@gentoo.org> gcc-4.1.2.ebuild:
- Bump patchset to fix a bug for arm
-
-*gcc-4.2.4-r1 (15 Jan 2009)
-
- 15 Jan 2009; Mark Loeser <halcy0n@gentoo.org> +gcc-4.2.4-r1.ebuild:
- New patchset to fix bug #228287 for HPPA
-
- 31 Dec 2008; <solar@gentoo.org> gcc-4.3.2-r2.ebuild:
- - specs bump
-
- 29 Dec 2008; Javier Villavicencio <the_paya@gentoo.org>
- gcc-4.3.2-r2.ebuild:
- Keyworded ~x86-fbsd.
-
- 29 Dec 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.3.2-r2.ebuild:
- Fix typo in pie alpha patchset #252677.
-
- 29 Dec 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.3.2.ebuild:
- Drop broken PIE from older version.
-
-*gcc-4.3.2-r2 (29 Dec 2008)
-
- 29 Dec 2008; <solar@gentoo.org> +gcc-4.3.2-r2.ebuild:
- - next phase in pie/hardened work is complete
-
-*gcc-4.3.2-r1 (26 Dec 2008)
-
- 26 Dec 2008; Mike Frysinger <vapier@gentoo.org> +gcc-4.3.2-r1.ebuild:
- Apply some build/ICE fixes, and a bunch of arch-specific fixes
- (arm/s390/sh/sparc/bsd/etc...), and push out an update for the PIE work.
-
- 22 Dec 2008; <solar@gentoo.org> gcc-4.3.2.ebuild:
- - prep initial work for pie patches. thanks to kevq,zorry,psm and many others
-
- 07 Dec 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.3.2.ebuild:
- Fix by Chi-Thanh Christopher Nguyen to pull in
- app-emulation/emul-linux-x86-xlibs on amd64 multilib for USE=gcj #238297
- by Andrey Vul.
-
- 03 Dec 2008; <solar@gentoo.org> +files/4.3.2/gcc-4.3.2-softfloat.patch,
- gcc-4.3.2.ebuild:
- - update softfloat patch
-
- 23 Nov 2008; Mark Loeser <halcy0n@gentoo.org> gcc-4.3.2.ebuild:
- Add patch for r10k support, thanks to Joshua Kinard <kumba AT gentoo DOT
- org>; bug #247129
-
- 25 Oct 2008; Mark Loeser <halcy0n@gentoo.org> gcc-4.3.2.ebuild:
- Add patches from gcc-4.4 for R10K support; bugs #223230 and 223231
-
- 25 Oct 2008; Joshua Kinard <kumba@gentoo.org> metadata.xml:
- Add fixed-point local USE flag to gcc to control fixed-point support for
- mips targets.
-
- 17 Oct 2008; Markus Meier <maekke@gentoo.org> metadata.xml:
- openmp USE-flag is global now
-
-*gcc-4.3.2 (04 Oct 2008)
-
- 04 Oct 2008; Mark Loeser <halcy0n@gentoo.org> +gcc-4.3.2.ebuild:
- Version bump; bug #236199
-
- 19 Aug 2008; Jose Luis Rivero <yoswink@gentoo.org> gcc-4.3.1-r1.ebuild:
- Added ~alpha keyword
-
- 03 Aug 2008; Mark Loeser <halcy0n@gentoo.org> Manifest:
- Fix bug #220779; thanks to Andrew John Hughes <gnu_andrew AT member DOT
- fsf DOT org> and James Le Cuirot <chewi AT aura-online DOT co DOT uk>
-
- 02 Aug 2008; Panagiotis Christopoulos <pchrist@gentoo.org> metadata.xml:
- Update metadata.xml to include USE flag descriptions. Entries taken from
- profiles/use.local.desc. GLEP 56
-
-*gcc-4.3.1-r1 (06 Jul 2008)
-
- 06 Jul 2008; Mark Loeser <halcy0n@gentoo.org> +gcc-4.3.1-r1.ebuild:
- Bump to fix bug #228517
-
- 29 Jun 2008; Friedrich Oslage <bluebird@gentoo.org> gcc-4.3.1.ebuild:
- Added ~sparc keyword
-
- 22 Jun 2008; Mike Frysinger <vapier@gentoo.org> gcc-3.2.2.ebuild:
- Move patches out of $FILESDIR and into patch tarball.
-
- 22 Jun 2008; Mike Frysinger <vapier@gentoo.org>
- +files/3.2.3/gcc-3.2.3-poisoned-malloc.patch, gcc-3.2.3-r4.ebuild:
- Fix for building with newer gcc versions #225743 by Emil Wojak.
-
- 21 Jun 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.3.0.ebuild,
- gcc-4.3.1.ebuild:
- Force newer glibc to keep things sane #228631 by Andrey Kislyuk.
-
- 10 Jun 2008; Jeroen Roovers <jer@gentoo.org> gcc-4.3.1.ebuild:
- Marked ~hppa too.
-
- 09 Jun 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.3.1.ebuild:
- Force newer glibc on amd64 to workaround multilib header issue.
-
-*gcc-4.3.1 (09 Jun 2008)
-
- 09 Jun 2008; Mike Frysinger <vapier@gentoo.org> +gcc-4.3.1.ebuild:
- Version bump.
-
-*gcc-4.2.4 (23 May 2008)
-
- 23 May 2008; Mike Frysinger <vapier@gentoo.org> +gcc-4.2.4.ebuild:
- Version bump.
-
- 10 May 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.3.0.ebuild:
- Drop ia64 libunwind patch and fix ice on ppc building mplayer.
-
- 20 Apr 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.3.0.ebuild:
- Revert cld behavior (for now), add back GNU-stack fixes for libffi, and add
- fixes for upstream PR24170, PR27880, PR34571, PR35440, PR35705.
-
- 20 Mar 2008; Mike Frysinger <vapier@gentoo.org> gcc-2.95.3-r9.ebuild,
- gcc-2.95.3-r10.ebuild, gcc-3.2.3-r4.ebuild, gcc-3.3.6-r1.ebuild,
- gcc-3.4.6-r2.ebuild, gcc-4.0.3.ebuild, gcc-4.0.4.ebuild,
- gcc-4.1.0-r1.ebuild, gcc-4.1.1-r3.ebuild, gcc-4.1.2.ebuild,
- gcc-4.2.0.ebuild, gcc-4.2.1.ebuild, gcc-4.2.2.ebuild, gcc-4.2.3.ebuild,
- gcc-4.3.0.ebuild:
- Drop eselect-compiler from DEPENDs since it has been dropped from the tree.
-
- 18 Mar 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.3.0.ebuild:
- Fold mpfr/gmp depend updates from toolchain overlay #213687.
-
-*gcc-4.3.0 (17 Mar 2008)
-
- 17 Mar 2008; Mike Frysinger <vapier@gentoo.org> +gcc-4.3.0.ebuild:
- Version bump.
-
- 16 Mar 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.1.2.ebuild:
- Post minor avr/mips updates.
-
- 19 Feb 2008; Mike Frysinger <vapier@gentoo.org> files/awk/fixlafiles.awk:
- Fix from Roy Marples to fixup portability #210590.
-
- 16 Feb 2008; Mike Frysinger <vapier@gentoo.org> gcc-4.2.3.ebuild:
- Pull in zip/unzip for USE=gcj #196643.
-
-*gcc-4.2.3 (16 Feb 2008)
-
- 16 Feb 2008; Mike Frysinger <vapier@gentoo.org> +gcc-4.2.3.ebuild:
- Version bump #209123.
-
- 29 Dec 2007; Mike Frysinger <vapier@gentoo.org> gcc-3.3.6-r1.ebuild:
- Grab fixes from newer versions so we can build again #201035 Carlo Marcelo
- Arenas Belon.
-
- 17 Dec 2007; Mike Frysinger <vapier@gentoo.org> gcc-3.3.6-r1.ebuild:
- Drop keywords as this version doesnt built on modern systems anymore. There
- will be an updated gcc-3.3.6 ebuild to come.
-
- 20 Nov 2007; Joshua Kinard <kumba@gentoo.org> gcc-4.1.2.ebuild:
- Stable on mips, per #178768.
-
- 11 Nov 2007; Mike Frysinger <vapier@gentoo.org>
- +files/gcc-configure-texinfo.patch:
- Disable makeinfo version checking #198182.
-
- 25 Oct 2007; Markus Rothe <corsair@gentoo.org> gcc-4.2.2.ebuild:
- On ppc64 gcc 4.2.2 is in a much better shape than 4.2.0 was. Add ~ppc64 to
- get some wider testing. Bug #179218
-
-*gcc-4.2.2 (11 Oct 2007)
-
- 11 Oct 2007; Mike Frysinger <vapier@gentoo.org> +gcc-4.2.2.ebuild:
- Version bump.
-
-*gcc-4.2.1 (07 Oct 2007)
-
- 07 Oct 2007; Mike Frysinger <vapier@gentoo.org> +gcc-4.2.1.ebuild:
- Version bump.
-
- 07 Oct 2007; Mike Frysinger <vapier@gentoo.org> gcc-4.1.2.ebuild:
- Define __sparc64__ for sparc/fbsd targets #192404 by Roy Marples.
-
- 06 Sep 2007; Roy Marples <uberlord@gentoo.org> files/fix_libtool_files.sh:
- gawk isn't always in /bin
-
- 05 Sep 2007; Mike Frysinger <vapier@gentoo.org> gcc-3.4.6-r2.ebuild,
- gcc-4.1.2.ebuild:
- Version bump D addon to 0.24.
-
- 01 Aug 2007; Roy Marples <uberlord@gentoo.org> gcc-4.2.0.ebuild:
- Keyworded ~sparc-fbsd
-
- 30 Jul 2007; Roy Marples <uberlord@gentoo.org> gcc-4.2.0.ebuild:
- Keyworded ~x86-fbsd.
-
- 25 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> gcc-4.2.0.ebuild:
- We want ~sparc too
-
- 24 Jul 2007; Jeroen Roovers <jer@gentoo.org> gcc-4.2.0.ebuild:
- Marked ~hppa too.
-
- 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; gcc-3.3.6.ebuild,
- gcc-3.3.6-r1.ebuild, gcc-3.4.4-r1.ebuild, gcc-3.4.5.ebuild,
- gcc-3.4.5-r1.ebuild, gcc-3.4.6.ebuild, gcc-3.4.6-r1.ebuild,
- gcc-3.4.6-r2.ebuild, gcc-4.0.3.ebuild, gcc-4.0.4.ebuild,
- gcc-4.1.0-r1.ebuild, gcc-4.1.1.ebuild, gcc-4.1.1-r1.ebuild,
- gcc-4.1.1-r3.ebuild, gcc-4.1.2.ebuild, gcc-4.2.0.ebuild:
- Drop virtual/x11 references.
-
- 24 Jun 2007; Piotr Jaroszyński <peper@gentoo.org> gcc-3.2.2.ebuild:
- (QA) Don't use KEYWORDS="-*". bug #160519.
-
- 12 Jun 2007; Fernando J. Pereda <ferdy@gentoo.org> gcc-4.1.2.ebuild:
- Stable on alpha as per bug #178768
-
- 02 Jun 2007; Raúl Porcel <armin76@gentoo.org> gcc-4.1.2.ebuild:
- ia64 stable wrt #178768
-
- 19 May 2007; Christian Faulhammer <opfer@gentoo.org> gcc-4.1.2.ebuild:
- stable amd64, bug 178768
-
- 19 May 2007; Markus Rothe <corsair@gentoo.org> gcc-4.1.2.ebuild:
- Stable on ppc64; bug #178768
-
-*gcc-4.2.0 (19 May 2007)
-
- 19 May 2007; Mike Frysinger <vapier@gentoo.org> +gcc-4.2.0.ebuild:
- Version bump.
-
- 17 May 2007; Raúl Porcel <armin76@gentoo.org> gcc-4.1.2.ebuild:
- x86 stable wrt #178768
-
- 16 May 2007; Joseph Jezak <josejx@gentoo.org> gcc-4.1.2.ebuild:
- Marked ppc stable for bug #178768.
-
- 16 May 2007; Jeroen Roovers <jer@gentoo.org> gcc-4.1.2.ebuild:
- Stable for HPPA (bug #178768).
-
- 16 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> gcc-4.1.2.ebuild:
- Stable on sparc wrt #178768
-
- 12 May 2007; Joshua Kinard <kumba@gentoo.org> gcc-4.1.1-r3.ebuild:
- Stable on mips.
-
- 30 Apr 2007; <solar@gentoo.org> gcc-3.4.6-r2.ebuild:
- - mark ia64 pie/ssp as stable in the gcc-3.4.6 ebuild
-
- 09 Mar 2007; Mike Frysinger <vapier@gentoo.org> gcc-3.4.6-r2.ebuild,
- gcc-4.1.2.ebuild:
- Add support for version 0.23 of the D language addon.
-
-*gcc-4.1.2 (14 Feb 2007)
-
- 14 Feb 2007; Mike Frysinger <vapier@gentoo.org> +gcc-4.1.2.ebuild:
- Version bump.
-
- 13 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org> gcc-4.1.1-r3.ebuild:
- Stable on sparc for 2007.0
-
- 12 Feb 2007; Bryan Østergaard <kloeri@gentoo.org> gcc-4.1.1-r3.ebuild:
- Stable on Alpha + IA64, bug 160663.
-
- 06 Feb 2007; Simon Stelling <blubb@gentoo.org> gcc-4.1.1-r3.ebuild:
- stable on amd64; bug 160663
-
-*gcc-4.0.4 (05 Feb 2007)
-
- 05 Feb 2007; Mike Frysinger <vapier@gentoo.org> +gcc-4.0.4.ebuild:
- Version bump.
-
- 21 Jan 2007; Mike Frysinger <vapier@gentoo.org>:
- Move snapshots to toolchain overlay.
-
- 08 Jan 2007; Christian Faulhammer <opfer@gentoo.org> gcc-4.1.1-r3.ebuild:
- stable x86, bug #160663
-
- 08 Jan 2007; Joseph Jezak <josejx@gentoo.org> gcc-4.1.1-r3.ebuild:
- Marked ppc stable for bug #160663.
-
- 08 Jan 2007; Markus Rothe <corsair@gentoo.org> gcc-4.1.1-r3.ebuild:
- Stable on ppc64; bug #160663
-
- 08 Jan 2007; Mike Frysinger <vapier@gentoo.org> gcc-4.1.1-r1.ebuild,
- gcc-4.1.1-r3.ebuild:
- Force binutils-2.17+ to make sure the assembler supports secureplt #160709.
-
- 08 Jan 2007; Jeroen Roovers <jer@gentoo.org> gcc-4.1.1-r3.ebuild:
- Stable for HPPA (bug #160663).
-
- 02 Jan 2007; Andrej Kacian <ticho@gentoo.org> gcc-3.3.6-r1.ebuild:
- Stable on x86, bug #159459.
-
- 01 Jan 2007; Joseph Jezak <josejx@gentoo.org> gcc-3.4.6-r2.ebuild:
- Marked ppc stable for bug #159460.
-
- For previous entries, please see ChangeLog-2006.
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk
deleted file mode 100644
index ffade96..0000000
--- a/sys-devel/gcc/files/awk/fixlafiles.awk
+++ /dev/null
@@ -1,314 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.15 2008/02/19 05:47:29 vapier Exp $
-
-#
-# Helper functions
-#
-function printn(string) {
- printf("%s", string)
-}
-function einfo(string) {
- printf(" \033[32;01m*\033[0m %s\n", string)
-}
-function einfon(string) {
- printf(" \033[32;01m*\033[0m %s", string)
-}
-function ewarn(string) {
- printf(" \033[33;01m*\033[0m %s\n", string)
-}
-function ewarnn(string) {
- printf(" \033[33;01m*\033[0m %s", string)
-}
-function eerror(string) {
- printf(" \033[31;01m*\033[0m %s\n", string)
-}
-
-#
-# assert(condition, errmsg)
-# assert that a condition is true. Otherwise exit.
-#
-function assert(condition, string) {
- if (! condition) {
- printf("%s:%d: assertion failed: %s\n",
- FILENAME, FNR, string) > "/dev/stderr"
- _assert_exit = 1
- exit 1
- }
-}
-
-#
-# system(command, return)
-# wrapper that normalizes return codes ...
-#
-function dosystem(command, ret) {
- ret = 0
- ret = system(command)
- if (ret == 0)
- return 1
- else
- return 0
-}
-
-BEGIN {
- #
- # Get our variables from environment
- #
- OLDVER = ENVIRON["OLDVER"]
- OLDCHOST = ENVIRON["OLDCHOST"]
-
- if (OLDVER == "") {
- eerror("Could not get OLDVER!");
- exit 1
- }
-
- # Setup some sane defaults
- LIBCOUNT = 2
- HAVE_GCC34 = 0
- DIRLIST[1] = "/lib"
- DIRLIST[2] = "/usr/lib"
-
- #
- # Walk /etc/ld.so.conf to discover all our library paths
- #
- pipe = "cat /etc/ld.so.conf | sort 2>/dev/null"
- while(((pipe) | getline ldsoconf_data) > 0) {
- if (ldsoconf_data !~ /^[[:space:]]*#/) {
- if (ldsoconf_data == "") continue
-
- # Remove any trailing comments
- sub(/#.*$/, "", ldsoconf_data)
- # Remove any trailing spaces
- sub(/[[:space:]]+$/, "", ldsoconf_data)
-
- # If there's more than one path per line, split
- # it up as if they were sep lines
- split(ldsoconf_data, nodes, /[:,[:space:]]/)
-
- # Now add the rest from ld.so.conf
- for (x in nodes) {
- # wtf does this line do ?
- sub(/=.*/, "", nodes[x])
- # Prune trailing /
- sub(/\/$/, "", nodes[x])
-
- if (nodes[x] == "") continue
-
- #
- # Drop the directory if its a child directory of
- # one that was already added ...
- # For example, if we have:
- # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss
- # We really just want to save /usr/lib /usr/libexec
- #
- CHILD = 0
- for (y in DIRLIST) {
- if (nodes[x] ~ "^" DIRLIST[y] "(/|$)") {
- CHILD = 1
- break
- }
- }
- if (CHILD) continue
-
- DIRLIST[++LIBCOUNT] = nodes[x]
- }
- }
- }
- close(pipe)
-
- #
- # Get line from gcc's output containing CHOST
- #
- pipe = "gcc -print-file-name=libgcc.a 2>/dev/null"
- if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) {
- close(pipe)
-
- # If we fail to get the CHOST, see if we can get the CHOST
- # portage thinks we are using ...
- pipe = "/usr/bin/portageq envvar 'CHOST'"
- assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST")
- } else {
- # Check pre gcc-3.4.x versions
- CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST)
-
- if (CHOST == TMP_CHOST || CHOST == "") {
- # Check gcc-3.4.x or later
- CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST);
-
- if (CHOST == TMP_CHOST || CHOST == "")
- CHOST = ""
- else
- HAVE_GCC34 = 1
- }
- }
- close(pipe)
-
- if (CHOST == "") {
- eerror("Could not get gcc's CHOST!")
- exit 1
- }
-
- if (OLDCHOST != "")
- if (OLDCHOST == CHOST)
- OLDCHOST = ""
-
- GCCLIBPREFIX_OLD = "/usr/lib/gcc-lib/"
- GCCLIBPREFIX_NEW = "/usr/lib/gcc/"
-
- if (HAVE_GCC34)
- GCCLIBPREFIX = GCCLIBPREFIX_NEW
- else
- GCCLIBPREFIX = GCCLIBPREFIX_OLD
-
- GCCLIB = GCCLIBPREFIX CHOST
-
- if (OLDCHOST != "") {
- OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST
- OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST
- }
-
- # Get current gcc's version
- pipe = "gcc -dumpversion"
- assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)")
- close(pipe)
-
- if (NEWVER == "") {
- eerror("Could not get gcc's version!")
- exit 1
- }
-
- # Nothing to do ?
- if ((OLDVER == NEWVER) && (OLDCHOST == ""))
- exit 0
-
- #
- # Ok, now let's scan for the .la files and actually fix them up
- #
- for (x = 1; x <= LIBCOUNT; x++) {
- # Do nothing if the target dir is gcc's internal library path
- if (DIRLIST[x] ~ GCCLIBPREFIX_OLD ||
- DIRLIST[x] ~ GCCLIBPREFIX_NEW)
- continue
-
- einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...")
-
- pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null"
- while (((pipe) | getline la_files) > 0) {
-
- # Do nothing if the .la file is located in gcc's internal lib path
- if (la_files ~ GCCLIBPREFIX_OLD ||
- la_files ~ GCCLIBPREFIX_NEW)
- continue
-
- CHANGED = 0
- CHOST_CHANGED = 0
-
- # See if we need to fix the .la file
- while ((getline la_data < (la_files)) > 0) {
- if (OLDCHOST != "") {
- if ((gsub(OLDGCCLIB1 "[/[:space:]]+",
- GCCLIB, la_data) > 0) ||
- (gsub(OLDGCCLIB2 "[/[:space:]]+",
- GCCLIB, la_data) > 0)) {
- CHANGED = 1
- CHOST_CHANGED = 1
- }
- }
- if (OLDVER != NEWVER) {
- if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*",
- GCCLIB "/" NEWVER, la_data) > 0) ||
- (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*",
- GCCLIB "/" NEWVER, la_data) > 0))
- CHANGED = 1
- }
- }
- close(la_files)
-
- # Do the actual changes in a second loop, as we can then
- # verify that CHOST_CHANGED among things is correct ...
- if (CHANGED) {
- ewarnn(" FIXING: " la_files " ...")
-
- if (CHANGED)
- printn("[")
-
- # Clear the temp file (removing rather than '>foo' is better
- # out of a security point of view?)
- dosystem("rm -f " la_files ".new")
-
- while ((getline la_data < (la_files)) > 0) {
- if (OLDCHOST != "") {
- tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)",
- GCCLIB "\\1", "g", la_data)
- tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)",
- GCCLIB "\\1", "g", tmpstr)
-
- if (la_data != tmpstr) {
- printn("c")
- la_data = tmpstr
- }
-
- if (CHOST_CHANGED > 0) {
- # We try to be careful about CHOST changes outside
- # the gcc library path (meaning we cannot match it
- # via /GCCLIBPREFIX CHOST/) ...
-
- # Catch:
- #
- # dependency_libs=' -L/usr/CHOST/{bin,lib}'
- #
- gsub("-L/usr/" OLDCHOST "/",
- "-L/usr/" CHOST "/", la_data)
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib'
- #
- la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/",
- "\\1/" CHOST "/", "g", la_data)
- }
- }
-
- if (OLDVER != NEWVER) {
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc/CHOST/VER'
- #
- tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)",
- GCCLIB "/" NEWVER "\\1", "g", la_data)
- tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)",
- GCCLIB "/" NEWVER "\\1", "g", tmpstr)
-
- if (la_data != tmpstr) {
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib'
- #
- # in cases where we have gcc34
- tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)",
- GCCLIBPREFIX "\\1", "g", tmpstr)
- tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)",
- GCCLIBPREFIX "\\1", "g", tmpstr)
- printn("v")
- la_data = tmpstr
- }
- }
-
- print la_data >> (la_files ".new")
- }
-
- if (CHANGED)
- print "]"
-
- close(la_files)
- close(la_files ".new")
-
- assert(dosystem("mv -f " la_files ".new " la_files),
- "dosystem(\"mv -f " la_files ".new " la_files "\")")
- }
- }
-
- close(pipe)
- }
-}
-
-# vim:ts=4
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
deleted file mode 100644
index 346bd16..0000000
--- a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
+++ /dev/null
@@ -1,335 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la,v 1.4 2010/03/19 23:53:07 vapier Exp $
-
-#
-# Helper functions
-#
-function printn(string) {
- printf("%s", string)
-}
-function einfo(string) {
- printf(" \033[32;01m*\033[0m %s\n", string)
-}
-function einfon(string) {
- printf(" \033[32;01m*\033[0m %s", string)
-}
-function ewarn(string) {
- printf(" \033[33;01m*\033[0m %s\n", string)
-}
-function ewarnn(string) {
- printf(" \033[33;01m*\033[0m %s", string)
-}
-function eerror(string) {
- printf(" \033[31;01m*\033[0m %s\n", string)
-}
-
-#
-# assert(condition, errmsg)
-# assert that a condition is true. Otherwise exit.
-#
-function assert(condition, string) {
- if (! condition) {
- printf("%s:%d: assertion failed: %s\n",
- FILENAME, FNR, string) > "/dev/stderr"
- _assert_exit = 1
- exit 1
- }
-}
-
-#
-# system(command, return)
-# wrapper that normalizes return codes ...
-#
-function dosystem(command, ret) {
- ret = 0
- ret = system(command)
- if (ret == 0)
- return 1
- else
- return 0
-}
-
-#
-# parse_ld_conf(config_file)
-#
-function parse_ld_conf(conf, pipe, ldsoconf_data, CHILD, y) {
- pipe = "cd /etc; cat " conf " | sort 2>/dev/null"
- while(((pipe) | getline ldsoconf_data) > 0) {
- if (ldsoconf_data ~ /^[[:space:]]*#/)
- continue
- if (ldsoconf_data == "")
- continue
-
- # Handle the "include" keyword
- if (ldsoconf_data ~ /^include /) {
- sub(/^include /, "", ldsoconf_data)
- parse_ld_conf(ldsoconf_data)
- continue
- }
-
- # Remove any trailing comments
- sub(/#.*$/, "", ldsoconf_data)
- # Remove any trailing spaces
- sub(/[[:space:]]+$/, "", ldsoconf_data)
- # Eat duplicate slashes
- sub(/\/\//, "/", ldsoconf_data)
- # Prune trailing /
- sub(/\/$/, "", ldsoconf_data)
-
- #
- # Drop the directory if its a child directory of
- # one that was already added ...
- # For example, if we have:
- # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss
- # We really just want to save /usr/lib /usr/libexec
- #
- CHILD = 0
- for (y in DIRLIST) {
- if (ldsoconf_data ~ "^" DIRLIST[y] "(/|$)") {
- CHILD = 1
- break
- }
- }
- if (CHILD) continue
-
- DIRLIST[++LIBCOUNT] = ldsoconf_data
- }
- close(pipe)
-}
-
-BEGIN {
- #
- # Get our variables from environment
- #
- OLDVER = ENVIRON["OLDVER"]
- OLDCHOST = ENVIRON["OLDCHOST"]
-
- if (OLDVER == "") {
- eerror("Could not get OLDVER!");
- exit 1
- }
-
- # Setup some sane defaults
- LIBCOUNT = 2
- HAVE_GCC34 = 0
- DIRLIST[1] = "/lib"
- DIRLIST[2] = "/usr/lib"
-
- #
- # Walk /etc/ld.so.conf to discover all our library paths
- #
- parse_ld_conf("/etc/ld.so.conf")
-
- #
- # Get line from gcc's output containing CHOST
- #
- pipe = "gcc -print-file-name=libgcc.a 2>/dev/null"
- if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) {
- close(pipe)
-
- # If we fail to get the CHOST, see if we can get the CHOST
- # portage thinks we are using ...
- pipe = "/usr/bin/portageq envvar 'CHOST'"
- assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST")
- } else {
- # Check pre gcc-3.4.x versions
- CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST)
-
- if (CHOST == TMP_CHOST || CHOST == "") {
- # Check gcc-3.4.x or later
- CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST);
-
- if (CHOST == TMP_CHOST || CHOST == "")
- CHOST = ""
- else
- HAVE_GCC34 = 1
- }
- }
- close(pipe)
-
- if (CHOST == "") {
- eerror("Could not get gcc's CHOST!")
- exit 1
- }
-
- if (OLDCHOST != "")
- if (OLDCHOST == CHOST)
- OLDCHOST = ""
-
- GCCLIBPREFIX_OLD = "/usr/lib/gcc-lib/"
- GCCLIBPREFIX_NEW = "/usr/lib/gcc/"
-
- if (HAVE_GCC34)
- GCCLIBPREFIX = GCCLIBPREFIX_NEW
- else
- GCCLIBPREFIX = GCCLIBPREFIX_OLD
-
- GCCLIB = GCCLIBPREFIX CHOST
-
- if (OLDCHOST != "") {
- OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST
- OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST
- }
-
- # Get current gcc's version
- pipe = "gcc -dumpversion"
- assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)")
- close(pipe)
-
- if (NEWVER == "") {
- eerror("Could not get gcc's version!")
- exit 1
- }
-
- # Nothing to do ?
- # NB: Do not check for (OLDVER == NEWVER) anymore, as we might need to
- # replace libstdc++.la ....
- if ((OLDVER == "") && (OLDCHOST == ""))
- exit 0
-
- #
- # Ok, now let's scan for the .la files and actually fix them up
- #
- for (x = 1; x <= LIBCOUNT; x++) {
- # Do nothing if the target dir is gcc's internal library path
- if (DIRLIST[x] ~ GCCLIBPREFIX_OLD ||
- DIRLIST[x] ~ GCCLIBPREFIX_NEW)
- continue
-
- einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...")
-
- pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null"
- while (((pipe) | getline la_files) > 0) {
-
- # Do nothing if the .la file is located in gcc's internal lib path
- if (la_files ~ GCCLIBPREFIX_OLD ||
- la_files ~ GCCLIBPREFIX_NEW)
- continue
-
- CHANGED = 0
- CHOST_CHANGED = 0
-
- # See if we need to fix the .la file
- while ((getline la_data < (la_files)) > 0) {
- if (OLDCHOST != "") {
- if ((gsub(OLDGCCLIB1 "[/[:space:]]+",
- GCCLIB, la_data) > 0) ||
- (gsub(OLDGCCLIB2 "[/[:space:]]+",
- GCCLIB, la_data) > 0)) {
- CHANGED = 1
- CHOST_CHANGED = 1
- }
- }
- if (OLDVER != NEWVER) {
- if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*",
- GCCLIB "/" NEWVER, la_data) > 0) ||
- (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*",
- GCCLIB "/" NEWVER, la_data) > 0))
- CHANGED = 1
- }
- # We now check if we have libstdc++.la, as we remove the
- # libtool linker scripts for gcc ...
- # We do this last, as we only match the new paths
- if (gsub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la",
- "-lstdc++", la_data) > 0)
- CHANGED = 1
- }
- close(la_files)
-
- # Do the actual changes in a second loop, as we can then
- # verify that CHOST_CHANGED among things is correct ...
- if (CHANGED) {
- ewarnn(" FIXING: " la_files " ...[")
-
- # Clear the temp file (removing rather than '>foo' is better
- # out of a security point of view?)
- dosystem("rm -f " la_files ".new")
-
- while ((getline la_data < (la_files)) > 0) {
- if (OLDCHOST != "") {
- tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)",
- GCCLIB "\\1", "g", la_data)
- tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)",
- GCCLIB "\\1", "g", tmpstr)
-
- if (la_data != tmpstr) {
- printn("c")
- la_data = tmpstr
- }
-
- if (CHOST_CHANGED > 0) {
- # We try to be careful about CHOST changes outside
- # the gcc library path (meaning we cannot match it
- # via /GCCLIBPREFIX CHOST/) ...
-
- # Catch:
- #
- # dependency_libs=' -L/usr/CHOST/{bin,lib}'
- #
- gsub("-L/usr/" OLDCHOST "/",
- "-L/usr/" CHOST "/", la_data)
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib'
- #
- la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/",
- "\\1/" CHOST "/", "g", la_data)
- }
- }
-
- if (OLDVER != NEWVER) {
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc/CHOST/VER'
- #
- tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)",
- GCCLIB "/" NEWVER "\\1", "g", la_data)
- tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)",
- GCCLIB "/" NEWVER "\\1", "g", tmpstr)
-
- if (la_data != tmpstr) {
- # Catch:
- #
- # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib'
- #
- # in cases where we have gcc34
- tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)",
- GCCLIBPREFIX "\\1", "g", tmpstr)
- tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)",
- GCCLIBPREFIX "\\1", "g", tmpstr)
- printn("v")
- la_data = tmpstr
- }
- }
-
- # We now check if we have libstdc++.la, as we remove the
- # libtool linker scripts for gcc and any referencese in any
- # libtool linker scripts.
- # We do this last, as we only match the new paths
- tmpstr = gensub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la",
- "-lstdc++", "g", la_data);
- if (la_data != tmpstr) {
- printn("l")
- la_data = tmpstr
- }
-
- print la_data >> (la_files ".new")
- }
-
- if (CHANGED)
- print "]"
-
- close(la_files)
- close(la_files ".new")
-
- assert(dosystem("mv -f " la_files ".new " la_files),
- "dosystem(\"mv -f " la_files ".new " la_files "\")")
- }
- }
-
- close(pipe)
- }
-}
-
-# vim:ts=4
diff --git a/sys-devel/gcc/files/c89 b/sys-devel/gcc/files/c89
deleted file mode 100755
index cee0325..0000000
--- a/sys-devel/gcc/files/c89
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/sh
-
-# Call the appropriate C compiler with options to accept ANSI/ISO C
-# The following options are the same (as of gcc-2.95):
-# -ansi
-# -std=c89
-# -std=iso9899:1990
-
-for i; do
- case "$i" in
- -ansi|-std=c89|-std=iso9899:1990)
- ;;
- -std=*)
- echo >&2 "`basename $0` called with non ANSI/ISO C90 option $i"
- exit 1
- ;;
- esac
-done
-
-exec gcc -std=c89 -pedantic -U_FORTIFY_SOURCE "$@"
diff --git a/sys-devel/gcc/files/c99 b/sys-devel/gcc/files/c99
deleted file mode 100755
index c954209..0000000
--- a/sys-devel/gcc/files/c99
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh
-
-# Call the appropriate C compiler with options to accept ANSI/ISO C
-# The following options are the same (as of gcc-3.3):
-# -std=c99
-# -std=c9x
-# -std=iso9899:1999
-# -std=iso9899:199x
-
-for i; do
- case "$i" in
- -std=c9[9x]|-std=iso9899:199[9x])
- ;;
- -ansi|-std=*)
- echo >&2 "`basename $0` called with non ANSI/ISO C99 option $i"
- exit 1
- ;;
- esac
-done
-
-exec gcc -std=c99 -pedantic -U_FORTIFY_SOURCE ${1+"$@"}
diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh
deleted file mode 100644
index c55250b..0000000
--- a/sys-devel/gcc/files/fix_libtool_files.sh
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.16 2012/05/18 21:28:56 vapier Exp $
-
-usage() {
-cat << "USAGE_END"
-Usage: fix_libtool_files.sh <old-gcc-version> [--oldarch <old-CHOST>]
-
- Where <old-gcc-version> is the version number of the
- previous gcc version. For example, if you updated to
- gcc-3.2.1, and you had gcc-3.2 installed, run:
-
- # fix_libtool_files.sh 3.2
-
- If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu
- but you now have CHOST as i686-pc-linux-gnu, run:
-
- # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu
-
- Note that if only the CHOST and not the version changed, you can run
- it with the current version and the '--oldarch <old-CHOST>' arguments,
- and it will do the expected:
-
- # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu
-
-USAGE_END
- exit 1
-}
-
-case $2 in
---oldarch) [ $# -ne 3 ] && usage ;;
-*) [ $# -ne 1 ] && usage ;;
-esac
-
-ARGV1=$1
-ARGV2=$2
-ARGV3=$3
-
-. /etc/profile || exit 1
-. /etc/init.d/functions.sh || exit 1
-
-if [ ${EUID:-0} -ne 0 ] ; then
- eerror "${0##*/}: Must be root."
- exit 1
-fi
-
-# make sure the files come out sane
-umask 0022
-
-OLDCHOST=
-[ "${ARGV2}" = "--oldarch" ] && OLDCHOST=${ARGV3}
-
-AWKDIR="/usr/share/gcc-data"
-
-if [ ! -r "${AWKDIR}/fixlafiles.awk" ] ; then
- eerror "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!"
- exit 1
-fi
-
-OLDVER=${ARGV1}
-
-export OLDVER OLDCHOST
-
-einfo "Scanning libtool files for hardcoded gcc library paths..."
-exec gawk -f "${AWKDIR}/fixlafiles.awk"
-
-# vim:ts=4
diff --git a/sys-devel/gcc/files/gcc-configure-LANG.patch b/sys-devel/gcc/files/gcc-configure-LANG.patch
deleted file mode 100644
index d1b1b03..0000000
--- a/sys-devel/gcc/files/gcc-configure-LANG.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
-option parsing, it may break.
-
-http://bugs.gentoo.org/103483
-
---- configure
-+++ configure
-@@ -54,6 +54,19 @@
- infodir='${prefix}/info'
- mandir='${prefix}/man'
-
-+# NLS nuisances.
-+for as_var in \
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-+ LC_TELEPHONE LC_TIME
-+do
-+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-+ eval $as_var=C; export $as_var
-+ else
-+ unset $as_var
-+ fi
-+done
-+
- # Initialize some other variables.
- subdirs=
- MFLAGS= MAKEFLAGS=
-@@ -452,16 +463,6 @@
- esac
- done
-
--# NLS nuisances.
--# Only set these to C if already set. These must not be set unconditionally
--# because not all systems understand e.g. LANG=C (notably SCO).
--# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
--# Non-C LC_CTYPE values break the ctype check.
--if test "${LANG+set}" = set; then LANG=C; export LANG; fi
--if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
--if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
--if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
--
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
-@@ -1850,6 +1850,19 @@
- # Compiler output produced by configure, useful for debugging
- # configure, is in ./config.log if it exists.
-
-+# NLS nuisances.
-+for as_var in \
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-+ LC_TELEPHONE LC_TIME
-+do
-+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then
-+ eval \$as_var=C; export \$as_var
-+ else
-+ unset \$as_var
-+ fi
-+done
-+
- ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
- for ac_option
- do
diff --git a/sys-devel/gcc/files/gcc-configure-texinfo.patch b/sys-devel/gcc/files/gcc-configure-texinfo.patch
deleted file mode 100644
index ddc098d..0000000
--- a/sys-devel/gcc/files/gcc-configure-texinfo.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Chances are quite good that the installed makeinfo is sufficient.
-So ignore false positives where the makeinfo installed is so new
-that it violates the cheesy version grep.
-
-http://bugs.gentoo.org/198182
-
---- configure
-+++ configure
-@@ -3573,6 +3573,6 @@
- :
- else
-- MAKEINFO="$MISSING makeinfo"
-+ :
- fi
- ;;
-
diff --git a/sys-devel/gcc/files/gcc-spec-env-r1.patch b/sys-devel/gcc/files/gcc-spec-env-r1.patch
deleted file mode 100644
index a589268..0000000
--- a/sys-devel/gcc/files/gcc-spec-env-r1.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-2013-08-22 Magnus Granberg <zorry@gentoo.org>
-
- * gcc/gcc.c (main): Add support for external spec file via the GCC_SPECS env var
- and move the process of the user specifed specs.
-
- This allows us to easily control pie/ssp defaults with gcc-config profiles.
- Original patch by Rob Holland
- Extended to support multiple entries separated by ':' by Kevin F. Quinn
- Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill
- Modified to process the GCC_SPECS env var befor DRIVER_SELF_SPECS by Magnus Granberg
-
---- gcc-4.8-20130210/gcc/gcc.c 2013-02-05 16:55:31.000000000 +0100
-+++ gcc-4.8-20130210-work/gcc/gcc.c 2013-07-26 02:32:14.625089864 +0200
-@@ -6427,6 +6428,48 @@ main (int argc, char **argv)
- do_option_spec (option_default_specs[i].name,
- option_default_specs[i].spec);
-
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32))
-+ /* Add specs listed in GCC_SPECS. Note; in the process of separating
-+ * each spec listed, the string is overwritten at token boundaries
-+ * (':') with '\0', an effect of strtok_r().
-+ */
-+ specs_file = getenv ("GCC_SPECS");
-+ if (specs_file && (strlen(specs_file) > 0))
-+ {
-+ char *spec, *saveptr;
-+ for (spec=strtok_r(specs_file,":",&saveptr);
-+ spec!=NULL;
-+ spec=strtok_r(NULL,":",&saveptr))
-+ {
-+ struct user_specs *user = (struct user_specs *)
-+ xmalloc (sizeof (struct user_specs));
-+ user->next = (struct user_specs *) 0;
-+ user->filename = spec;
-+ if (user_specs_tail)
-+ user_specs_tail->next = user;
-+ else
-+ user_specs_head = user;
-+ user_specs_tail = user;
-+ }
-+ }
-+#endif
-+ /* Process any user specified specs in the order given on the command
-+ * line. */
-+ for (uptr = user_specs_head; uptr; uptr = uptr->next)
-+ {
-+ char *filename = find_a_file (&startfile_prefixes, uptr->filename,
-+ R_OK, true);
-+ read_specs (filename ? filename : uptr->filename, false, true);
-+ }
-+ /* Process any user self specs. */
-+ {
-+ struct spec_list *sl;
-+ for (sl = specs; sl; sl = sl->next)
-+ if (sl->name_len == sizeof "self_spec" - 1
-+ && !strcmp (sl->name, "self_spec"))
-+ do_self_spec (*sl->ptr_spec);
-+ }
-+
- /* Process DRIVER_SELF_SPECS, adding any new options to the end
- of the command line. */
-
-@@ -6535,24 +6578,6 @@ main (int argc, char **argv)
- PREFIX_PRIORITY_LAST, 0, 1);
- }
-
-- /* Process any user specified specs in the order given on the command
-- line. */
-- for (uptr = user_specs_head; uptr; uptr = uptr->next)
-- {
-- char *filename = find_a_file (&startfile_prefixes, uptr->filename,
-- R_OK, true);
-- read_specs (filename ? filename : uptr->filename, false, true);
-- }
--
-- /* Process any user self specs. */
-- {
-- struct spec_list *sl;
-- for (sl = specs; sl; sl = sl->next)
-- if (sl->name_len == sizeof "self_spec" - 1
-- && !strcmp (sl->name, "self_spec"))
-- do_self_spec (*sl->ptr_spec);
-- }
--
- if (compare_debug)
- {
- enum save_temps save;
diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch
deleted file mode 100644
index 57e7567..0000000
--- a/sys-devel/gcc/files/gcc-spec-env.patch
+++ /dev/null
@@ -1,42 +0,0 @@
- Add support for external spec file via the GCC_SPECS env var. This
- allows us to easily control pie/ssp defaults with gcc-config profiles.
-
- Original patch by Rob Holland
- Extended to support multiple entries separated by ':' by Kevin F. Quinn
- Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill
-
---- gcc-4/gcc/gcc.c
-+++ gcc-4/gcc/gcc.c
-@@ -6482,6 +6482,32 @@
-
- /* Process any user specified specs in the order given on the command
- line. */
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32))
-+ /* Add specs listed in GCC_SPECS. Note; in the process of separating
-+ * each spec listed, the string is overwritten at token boundaries
-+ * (':') with '\0', an effect of strtok_r().
-+ */
-+ specs_file = getenv ("GCC_SPECS");
-+ if (specs_file && (strlen(specs_file) > 0))
-+ {
-+ char *spec, *saveptr;
-+ for (spec=strtok_r(specs_file,":",&saveptr);
-+ spec!=NULL;
-+ spec=strtok_r(NULL,":",&saveptr))
-+ {
-+ struct user_specs *user = (struct user_specs *)
-+ xmalloc (sizeof (struct user_specs));
-+
-+ user->next = (struct user_specs *) 0;
-+ user->filename = spec;
-+ if (user_specs_tail)
-+ user_specs_tail->next = user;
-+ else
-+ user_specs_head = user;
-+ user_specs_tail = user;
-+ }
-+ }
-+#endif
- for (uptr = user_specs_head; uptr; uptr = uptr->next)
- {
- char *filename = find_a_file (&startfile_prefixes, uptr->filename,
diff --git a/sys-devel/gcc/gcc-4.9.0.ebuild b/sys-devel/gcc/gcc-4.9.0.ebuild
deleted file mode 100644
index 2bc097c..0000000
--- a/sys-devel/gcc/gcc-4.9.0.ebuild
+++ /dev/null
@@ -1,52 +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-r1.ebuild,v 1.3 2014/01/19 01:51:34 dirtyepic Exp $
-
-EAPI="2"
-
-PATCH_VER="1.0"
-UCLIBC_VER="1.0"
-
-# Hardened gcc 4 stuff
-PIE_VER="0.6.0"
-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"
-#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=""
-
-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
- ewarn "This is for testing! The gentoo patchset still need some work with missing patches."
- toolchain_src_prepare
-
- 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
-}
diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml
deleted file mode 100644
index cc0d5da..0000000
--- a/sys-devel/gcc/metadata.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>toolchain</herd>
- <use>
- <flag name="awt">Useful only when building GCJ, this enables Abstract Window Toolkit
- (AWT) peer support on top of GTK+</flag>
- <flag name="d">Enable support for the D programming language</flag>
- <flag name="fixed-point">Enable fixed-point arithmetic support for MIPS targets
- in gcc (Warning: significantly increases compile time!)</flag>
- <flag name="go">Build the GCC Go language frontend.</flag>
- <flag name="graphite">Add support for the framework for loop
- optimizations based on a polyhedral intermediate representation</flag>
- <flag name="ip28">Enable building a compiler capable of building a kernel
- for SGI Indigo2 Impact R10000 (IP28)</flag>
- <flag name="ip32r10k">Enable building a compiler capable of building an
- experimental kernel for SGI O2 w/ R1x000 CPUs (IP32)</flag>
- <flag name="libssp">Build SSP support into a dedicated library rather than use the
- code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES)</flag>
- <flag name="mudflap">Add support for mudflap, a pointer use checking library</flag>
- <flag name="multislot">Allow for SLOTs to include minor version (3.3.4
- instead of just 3.3)</flag>
- <flag name="n32">Enable n32 ABI support on mips</flag>
- <flag name="n64">Enable n64 ABI support on mips</flag>
- <flag name="nopie">Disable PIE support (NOT FOR GENERAL USE)</flag>
- <flag name="nossp">Disable SSP support (NOT FOR GENERAL USE)</flag>
- <flag name="objc">Build support for the Objective C code language</flag>
- <flag name="objc++">Build support for the Objective C++ language</flag>
- <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>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-20 22:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-05 13:20 [gentoo-commits] proj/hardened-dev:master commit in: sys-devel/gcc/, sys-devel/gcc/files/awk/, sys-devel/gcc/files/ Magnus Granberg
-- strict thread matches above, loose matches on Subject: below --
2014-05-20 22:19 Magnus Granberg
2013-02-15 2:25 Magnus Granberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox