Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/
Date: Sun, 06 Aug 2017 09:13:07
Message-Id: 1502010657.5d62f7c88b7cee84d1c7a399b6b7e9089e3eb558.dilfridge@gentoo
1 commit: 5d62f7c88b7cee84d1c7a399b6b7e9089e3eb558
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 6 09:10:57 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 6 09:10:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d62f7c8
7
8 sys-libs/glibc: Forward-port some minor changes from 2.25 to 9999
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 sys-libs/glibc/glibc-9999.ebuild | 12 ++++++++++--
13 1 file changed, 10 insertions(+), 2 deletions(-)
14
15 diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
16 index 3ac3d78a81b..026e3879bf5 100644
17 --- a/sys-libs/glibc/glibc-9999.ebuild
18 +++ b/sys-libs/glibc/glibc-9999.ebuild
19 @@ -100,7 +100,7 @@ upstream_uris() {
20 echo mirror://gnu/glibc/$1 ftp://sourceware.org/pub/glibc/{releases,snapshots}/$1 mirror://gentoo/$1
21 }
22 gentoo_uris() {
23 - local devspace="HTTP~vapier/dist/URI HTTP~azarah/glibc/URI"
24 + local devspace="HTTP~vapier/dist/URI HTTP~tamiko/distfiles/URI HTTP~dilfridge/distfiles/URI"
25 devspace=${devspace//HTTP/https://dev.gentoo.org/}
26 echo mirror://gentoo/$1 ${devspace//URI/$1}
27 }
28 @@ -127,7 +127,7 @@ src_prepare() {
29 # includes backtraces and symbols.
30 einfo "Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler"
31 cp "${FILESDIR}"/2.20/glibc-2.20-gentoo-stack_chk_fail.c debug/stack_chk_fail.c || die
32 - cp "${FILESDIR}"/2.20/glibc-2.20-gentoo-chk_fail.c debug/chk_fail.c || die
33 + cp "${FILESDIR}"/2.25/glibc-2.25-gentoo-chk_fail.c debug/chk_fail.c || die
34
35 if use debug ; then
36 # Allow SIGABRT to dump core on non-hardened systems, or when debug is requested.
37 @@ -137,4 +137,12 @@ src_prepare() {
38 debug/Makefile || die
39 fi
40 fi
41 +
42 + case $(gcc-fullversion) in
43 + 4.8.[0-3]|4.9.0)
44 + eerror "You need to switch to a newer compiler; gcc-4.8.[0-3] and gcc-4.9.0 miscompile"
45 + eerror "glibc. See https://bugs.gentoo.org/547420 for details."
46 + die "need to switch compilers #547420"
47 + ;;
48 + esac
49 }