summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-27 03:44:16 +0000
committerMike Frysinger <vapier@gentoo.org>2015-04-27 03:44:16 +0000
commit60194c77b944a0c1d4174c97311632cc43f6584e (patch)
tree7c92261b8f0251a5454c2b5bf757ae863944630d /sys-libs
parentFix git repository location #547504 (diff)
downloadgentoo-2-60194c77b944a0c1d4174c97311632cc43f6584e.tar.gz
gentoo-2-60194c77b944a0c1d4174c97311632cc43f6584e.tar.bz2
gentoo-2-60194c77b944a0c1d4174c97311632cc43f6584e.zip
Reject gcc-4.8.[0-3] and gcc-4.9.0 due to miscompilation bugs #547420 by Marc Burkhardt.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/ChangeLog7
-rw-r--r--sys-libs/glibc/glibc-2.20-r2.ebuild10
-rw-r--r--sys-libs/glibc/glibc-2.21.ebuild10
3 files changed, 24 insertions, 3 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog
index 65d72846e09a..22881117fc3f 100644
--- a/sys-libs/glibc/ChangeLog
+++ b/sys-libs/glibc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/glibc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.1049 2015/04/24 20:09:43 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.1050 2015/04/27 03:44:16 vapier Exp $
+
+ 27 Apr 2015; Mike Frysinger <vapier@gentoo.org> glibc-2.20-r2.ebuild,
+ glibc-2.21.ebuild:
+ Reject gcc-4.8.[0-3] and gcc-4.9.0 due to miscompilation bugs #547420 by Marc
+ Burkhardt.
24 Apr 2015; Mikle Kolyada <zlogene@gentoo.org> glibc-2.20-r2.ebuild:
sparc stable wrt bug #544034
diff --git a/sys-libs/glibc/glibc-2.20-r2.ebuild b/sys-libs/glibc/glibc-2.20-r2.ebuild
index 6d8f0be6e96e..51d3292fdcb5 100644
--- a/sys-libs/glibc/glibc-2.20-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.20-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.20-r2.ebuild,v 1.7 2015/04/24 20:09:43 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.20-r2.ebuild,v 1.8 2015/04/27 03:44:16 vapier Exp $
EAPI="4"
@@ -185,4 +185,12 @@ eblit-src_prepare-post() {
-e 's:-fstack-protector$:-fstack-protector-all:' \
*/Makefile || die
fi
+
+ case $(gcc-fullversion) in
+ 4.8.[0-3]|4.9.0)
+ eerror "You need to switch to a newer compiler; gcc-4.8.[0-3] and gcc-4.9.0 miscompile"
+ eerror "glibc. See https://bugs.gentoo.org/547420 for details."
+ die "need to switch compilers #547420"
+ ;;
+ esac
}
diff --git a/sys-libs/glibc/glibc-2.21.ebuild b/sys-libs/glibc/glibc-2.21.ebuild
index ea181f4a1398..d21bad93b35d 100644
--- a/sys-libs/glibc/glibc-2.21.ebuild
+++ b/sys-libs/glibc/glibc-2.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.21.ebuild,v 1.2 2015/02/15 05:28:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.21.ebuild,v 1.3 2015/04/27 03:44:16 vapier Exp $
EAPI="4"
@@ -185,4 +185,12 @@ eblit-src_prepare-post() {
-e 's:-fstack-protector$:-fstack-protector-all:' \
*/Makefile || die
fi
+
+ case $(gcc-fullversion) in
+ 4.8.[0-3]|4.9.0)
+ eerror "You need to switch to a newer compiler; gcc-4.8.[0-3] and gcc-4.9.0 miscompile"
+ eerror "glibc. See https://bugs.gentoo.org/547420 for details."
+ die "need to switch compilers #547420"
+ ;;
+ esac
}