1 |
vapier 07/12/10 01:29:36 |
2 |
|
3 |
Modified: src_install.eblit |
4 |
Log: |
5 |
Add fixes for #196926 (build failure with USE=glibc-omitfp), #201646 (double free on sscanf("", "%as")), #199479 (build failure for i586-* targets due to duplicate _chk defs), #198949 (static link failure when using pthread_cond_timedwait), #196933 (build failure on hppa), and #196031 (gdb debugging errors with pthreads). |
6 |
(Portage version: 2.1.4_rc4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.4 sys-libs/glibc/files/eblits/src_install.eblit |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit?rev=1.4&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit?rev=1.4&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit?r1=1.3&r2=1.4 |
14 |
|
15 |
Index: src_install.eblit |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v |
18 |
retrieving revision 1.3 |
19 |
retrieving revision 1.4 |
20 |
diff -u -r1.3 -r1.4 |
21 |
--- src_install.eblit 8 Aug 2007 23:23:24 -0000 1.3 |
22 |
+++ src_install.eblit 10 Dec 2007 01:29:36 -0000 1.4 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2007 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v 1.3 2007/08/08 23:23:24 vapier Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v 1.4 2007/12/10 01:29:36 vapier Exp $ |
28 |
|
29 |
toolchain-glibc_src_install() { |
30 |
# These should not be set, else the |
31 |
@@ -200,14 +200,20 @@ |
32 |
} |
33 |
|
34 |
src_strip() { |
35 |
- # Now, strip everything but the thread libs #46186, as well as the dynamic |
36 |
- # linker, else we cannot set breakpoints in shared libraries due to bugs in |
37 |
- # gdb. Also want to grab stuff in tls subdir. whee. |
38 |
+ # gdb is lame and requires some debugging information to remain in |
39 |
+ # libpthread, so we need to strip it by hand. libthread_db makes no |
40 |
+ # sense stripped as it is only used when debugging. |
41 |
+ local pthread=$(hasq splitdebug ${FEATURES} && echo "libthread_db" || echo "lib{pthread,thread_db}") |
42 |
env \ |
43 |
-uRESTRICT \ |
44 |
CHOST=${CTARGET} \ |
45 |
- STRIP_MASK="/*/{,tls/}libthread_db*" \ |
46 |
+ STRIP_MASK="/*/{,tls/}${pthread}*" \ |
47 |
prepallstrip |
48 |
+ # if user has stripping enabled and does not have split debug turned on, |
49 |
+ # then leave the debugging sections in libpthread. |
50 |
+ if ! hasq nostrip ${FEATURES} && ! hasq splitdebug ${FEATURES} ; then |
51 |
+ ${STRIP:-${CTARGET}-strip} --strip-debug "${D}"/*/libpthread-*.so |
52 |
+ fi |
53 |
} |
54 |
|
55 |
eblit-glibc-src_install() { |
56 |
|
57 |
|
58 |
|
59 |
-- |
60 |
gentoo-commits@g.o mailing list |