Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: common.eblit pkg_preinst.eblit src_install.eblit pkg_setup.eblit
Date: Wed, 16 Nov 2011 16:07:56
Message-Id: 20111116160746.CC2732004B@flycatcher.gentoo.org
1 vapier 11/11/16 16:07:46
2
3 Modified: common.eblit pkg_preinst.eblit src_install.eblit
4 pkg_setup.eblit
5 Log:
6 Convert USE=nptlonly to USE=linuxthreads.
7
8 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 sys-libs/glibc/files/eblits/common.eblit
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?r1=1.22&r2=1.23
16
17 Index: common.eblit
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- common.eblit 19 Aug 2011 23:03:11 -0000 1.22
24 +++ common.eblit 16 Nov 2011 16:07:46 -0000 1.23
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.22 2011/08/19 23:03:11 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.23 2011/11/16 16:07:46 vapier Exp $
30
31 # We need to be able to set alternative headers for
32 # compiling for non-native platform
33 @@ -210,9 +210,7 @@
34
35 want_linuxthreads() {
36 [[ -z ${LT_VER} ]] && return 1
37 - ! use nptlonly && return 0
38 - want_nptl || return 0
39 - return 1
40 + use linuxthreads
41 }
42
43 want_tls() {
44
45
46
47 1.4 sys-libs/glibc/files/eblits/pkg_preinst.eblit
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/pkg_preinst.eblit?rev=1.4&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/pkg_preinst.eblit?rev=1.4&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/pkg_preinst.eblit?r1=1.3&r2=1.4
52
53 Index: pkg_preinst.eblit
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_preinst.eblit,v
56 retrieving revision 1.3
57 retrieving revision 1.4
58 diff -u -r1.3 -r1.4
59 --- pkg_preinst.eblit 8 Oct 2010 15:33:13 -0000 1.3
60 +++ pkg_preinst.eblit 16 Nov 2011 16:07:46 -0000 1.4
61 @@ -1,6 +1,6 @@
62 -# Copyright 1999-2010 Gentoo Foundation
63 +# Copyright 1999-2011 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_preinst.eblit,v 1.3 2010/10/08 15:33:13 flameeyes Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_preinst.eblit,v 1.4 2011/11/16 16:07:46 vapier Exp $
67
68 fix_lib64_symlinks() {
69 # the original Gentoo/AMD64 devs decided that since 64bit is the native
70 @@ -52,13 +52,6 @@
71 # It can be removed after 2004.3 has been purged from portage.
72 { use amd64 || use ppc64; } && [ "$(get_libdir)" == "lib64" ] && ! has_multilib_profile && fix_lib64_symlinks
73
74 - # it appears that /lib/tls is sometimes not removed. See bug
75 - # 69258 for more info.
76 - if [[ -d ${ROOT}/$(alt_libdir)/tls ]] && [[ ! -d ${D}/$(alt_libdir)/tls ]] ; then
77 - ewarn "nptlonly or -nptl in USE, removing /${ROOT}$(alt_libdir)/tls..."
78 - rm -r "${ROOT}"/$(alt_libdir)/tls || die
79 - fi
80 -
81 # prepare /etc/ld.so.conf.d/ for files
82 mkdir -p "${ROOT}"/etc/ld.so.conf.d
83
84
85
86
87 1.17 sys-libs/glibc/files/eblits/src_install.eblit
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit?rev=1.17&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit?rev=1.17&content-type=text/plain
91 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit?r1=1.16&r2=1.17
92
93 Index: src_install.eblit
94 ===================================================================
95 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v
96 retrieving revision 1.16
97 retrieving revision 1.17
98 diff -u -r1.16 -r1.17
99 --- src_install.eblit 11 Oct 2011 21:20:30 -0000 1.16
100 +++ src_install.eblit 16 Nov 2011 16:07:46 -0000 1.17
101 @@ -1,6 +1,6 @@
102 # Copyright 1999-2011 Gentoo Foundation
103 # Distributed under the terms of the GNU General Public License v2
104 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v 1.16 2011/10/11 21:20:30 vapier Exp $
105 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v 1.17 2011/11/16 16:07:46 vapier Exp $
106
107 toolchain-glibc_src_install() {
108 local GBUILDDIR
109 @@ -15,7 +15,7 @@
110 if want_linuxthreads ; then
111 cd "${WORKDIR}"/build-${ABI}-${CTARGET}-linuxthreads
112 einfo "Installing GLIBC ${ABI} with linuxthreads ..."
113 - else # nptlonly
114 + else
115 cd "${WORKDIR}"/build-${ABI}-${CTARGET}-nptl
116 einfo "Installing GLIBC ${ABI} with NPTL ..."
117 fi
118
119
120
121 1.7 sys-libs/glibc/files/eblits/pkg_setup.eblit
122
123 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/pkg_setup.eblit?rev=1.7&view=markup
124 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/pkg_setup.eblit?rev=1.7&content-type=text/plain
125 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/pkg_setup.eblit?r1=1.6&r2=1.7
126
127 Index: pkg_setup.eblit
128 ===================================================================
129 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_setup.eblit,v
130 retrieving revision 1.6
131 retrieving revision 1.7
132 diff -u -r1.6 -r1.7
133 --- pkg_setup.eblit 20 Mar 2011 22:23:47 -0000 1.6
134 +++ pkg_setup.eblit 16 Nov 2011 16:07:46 -0000 1.7
135 @@ -1,6 +1,6 @@
136 # Copyright 1999-2011 Gentoo Foundation
137 # Distributed under the terms of the GNU General Public License v2
138 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_setup.eblit,v 1.6 2011/03/20 22:23:47 vapier Exp $
139 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_setup.eblit,v 1.7 2011/11/16 16:07:46 vapier Exp $
140
141 glibc_compile_test() {
142 local ret save_cflags=${CFLAGS}
143 @@ -87,13 +87,6 @@
144 die "please fix your CHOST"
145 fi
146
147 - if [[ -n ${LT_VER} ]] ; then
148 - if use nptlonly && ! use nptl ; then
149 - eerror "If you want nptlonly, add nptl to your USE too ;p"
150 - die "nptlonly without nptl"
151 - fi
152 - fi
153 -
154 if [[ -e /proc/xen ]] && [[ $(tc-arch) == "x86" ]] && ! is-flag -mno-tls-direct-seg-refs ; then
155 ewarn "You are using Xen but don't have -mno-tls-direct-seg-refs in your CFLAGS."
156 ewarn "This will result in a 50% performance penalty when running with a 32bit"