rpms/glibc/devel thread_db.patch,NONE,1.1 glibc.spec,1.381,1.382
Roland McGrath
roland at fedoraproject.org
Sat Feb 28 02:30:27 UTC 2009
- Previous message: rpms/perl-HTTP-Server-Simple/F-9 .cvsignore, 1.12, 1.13 perl-HTTP-Server-Simple.spec, 1.15, 1.16 sources, 1.12, 1.13
- Next message: rpms/openvrml/devel npfunctions.patch, 1.1, 1.2 openvrml.spec, 1.56, 1.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: roland
Update of /cvs/pkgs/rpms/glibc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29115
Modified Files:
glibc.spec
Added Files:
thread_db.patch
Log Message:
fix libthread_db (#487212)
thread_db.patch:
--- NEW FILE thread_db.patch ---
2009-02-27 Roland McGrath <roland at redhat.com>
* init.c (__nptl_initial_report_events): Mark __attribute_used__.
* pthread_create.c (__nptl_threads_events, __nptl_last_event): Likewise.
Index: nptl/init.c
===================================================================
RCS file: /cvs/glibc/libc/nptl/init.c,v
retrieving revision 1.78
diff -u -r1.78 init.c
--- nptl/init.c 29 Jan 2009 20:35:17 -0000 1.78
+++ nptl/init.c 28 Feb 2009 02:26:34 -0000
@@ -260,7 +260,7 @@
/* This can be set by the debugger before initialization is complete. */
-static bool __nptl_initial_report_events;
+static bool __nptl_initial_report_events __attribute_used__;
void
__pthread_initialize_minimal_internal (void)
Index: nptl/pthread_create.c
===================================================================
RCS file: /cvs/glibc/libc/nptl/pthread_create.c,v
retrieving revision 1.59
diff -u -r1.59 pthread_create.c
--- nptl/pthread_create.c 9 Apr 2008 17:58:06 -0000 1.59
+++ nptl/pthread_create.c 28 Feb 2009 02:26:34 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2007,2008,2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper at redhat.com>, 2002.
@@ -40,10 +40,10 @@
int __pthread_debug;
/* Globally enabled events. */
-static td_thr_events_t __nptl_threads_events;
+static td_thr_events_t __nptl_threads_events __attribute_used__;
/* Pointer to descriptor with the last event. */
-static struct pthread *__nptl_last_event;
+static struct pthread *__nptl_last_event __attribute_used__;
/* Number of threads running. */
unsigned int __nptl_nthreads = 1;
Index: glibc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glibc/devel/glibc.spec,v
retrieving revision 1.381
retrieving revision 1.382
diff -u -r1.381 -r1.382
--- glibc.spec 24 Feb 2009 22:05:41 -0000 1.381
+++ glibc.spec 28 Feb 2009 02:29:56 -0000 1.382
@@ -23,7 +23,7 @@
Summary: The GNU libc libraries
Name: glibc
Version: 2.9.90
-Release: 8
+Release: 8.1
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
# Things that are linked directly into dynamically linked programs
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -77,6 +77,8 @@
%define __find_provides %{_builddir}/%{glibcsrcdir}/find_provides.sh
%define _filter_GLIBC_PRIVATE 1
+Patch2: thread_db.patch
+
%description
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
@@ -233,6 +235,8 @@
%endif
%endif
+%patch2 -p0
+
# A lot of programs still misuse memcpy when they have to use
# memmove. The memcpy implementation below is not tolerant at
# all.
@@ -1013,6 +1017,9 @@
%endif
%changelog
+* Fri Feb 27 2009 Roland McGrath <roland at redhat.com> - 2.9.90-8.1
+- fix libthread_db (#487212)
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9.90-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message: rpms/perl-HTTP-Server-Simple/F-9 .cvsignore, 1.12, 1.13 perl-HTTP-Server-Simple.spec, 1.15, 1.16 sources, 1.12, 1.13
- Next message: rpms/openvrml/devel npfunctions.patch, 1.1, 1.2 openvrml.spec, 1.56, 1.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list