r3397 - in glibc-package/trunk/debian: . rules.d
Author: sthibaul-guest Date: 2009-04-04 08:24:18 + (Sat, 04 Apr 2009) New Revision: 3397 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/rules.d/debhelper.mk Log: * debian/rules.d/debhelper.mk: let grep libpthread.so fail because on hurd-i386 glibc does not provide it. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2009-03-31 18:07:48 UTC (rev 3396) +++ glibc-package/trunk/debian/changelog2009-04-04 08:24:18 UTC (rev 3397) @@ -1,5 +1,6 @@ glibc (2.9-7) unstable; urgency=low + [ Aurelien Jarno ] * Update German debconf translation, by Helge Kreutzman. Closes: #519992. * Update testsuite results on alpha, tst-timer.out exits with SIGILL on some machines, it was already the case with glibc 2.7 on the same @@ -10,6 +11,10 @@ * kfreebsd/local-sysdeps.diff: update to revision 2379 (from glibc-bsd). * libc6.1.symbols.alpha: fix package name for private symbols. + [ Samuel Thibault ] + * debian/rules.d/debhelper.mk: let grep libpthread.so fail because on +hurd-i386 glibc does not provide it. + -- Aurelien Jarno Fri, 20 Mar 2009 12:28:48 +0100 glibc (2.9-6) unstable; urgency=low Modified: glibc-package/trunk/debian/rules.d/debhelper.mk === --- glibc-package/trunk/debian/rules.d/debhelper.mk 2009-03-31 18:07:48 UTC (rev 3396) +++ glibc-package/trunk/debian/rules.d/debhelper.mk 2009-04-04 08:24:18 UTC (rev 3397) @@ -174,7 +174,7 @@ rtld=`LANG=C LC_ALL=C readelf -l debian/tmp-libc/usr/bin/iconv | grep "interpreter" | sed -e 's/.*interpreter: \(.*\)]/\1/g'`; \ c_so=`ls debian/tmp-libc/lib/ | grep "libc\.so\."` ; \ m_so=`ls debian/tmp-libc/lib/ | grep "libm\.so\."` ; \ - pthread_so=`ls debian/tmp-libc/lib/ | grep "libpthread\.so\."` ; \ + pthread_so=`ls debian/tmp-libc/lib/ | grep "libpthread\.so\."` || true; \ rt_so=`ls debian/tmp-libc/lib/ | grep "librt\.so\."` ; \ dl_so=`ls debian/tmp-libc/lib/ | grep "libdl\.so\."` ; \ sed -e "s#RTLD#$$rtld#" -e "s#C_SO#$$c_so#" -e "s#M_SO#$$m_so#" -e "s#PTHREAD_SO#$$pthread_so#" -e "s#RT_SO#$$rt_so#" -e "s#DL_SO#$$dl_so#" -i $$z ; \ -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3374 - in glibc-package/trunk/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2009-03-12 18:18:25 + (Thu, 12 Mar 2009) New Revision: 3374 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff Log: * debian/patches/hurd-i386/local-tls-support.diff: fix typo in tlsdesc.sym. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2009-03-12 08:52:17 UTC (rev 3373) +++ glibc-package/trunk/debian/changelog2009-03-12 18:18:25 UTC (rev 3374) @@ -1,6 +1,7 @@ glibc (2.9-6) unstable; urgency=low - * + [ Samuel Thibault ] + * debian/patches/hurd-i386/local-tls-support.diff: fix typo in tlsdesc.sym. -- Aurelien Jarno Thu, 12 Mar 2009 09:52:07 +0100 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2009-03-12 08:52:17 UTC (rev 3373) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2009-03-12 18:18:25 UTC (rev 3374) @@ -497,9 +497,9 @@ + +-- Abuse tls.h macros to derive offsets relative to the thread register. + -+DTV_OFFSEToffsetof(struct pthread, header.dtv) ++DTV_OFFSEToffsetof(tcbhead_t, dtv) + -+TLSDESC_ARG offsetof(tcbhead_t, dtv) ++TLSDESC_ARG offsetof(struct tlsdesc, arg) + +TLSDESC_GEN_COUNT offsetof(struct tlsdesc_dynamic_arg, gen_count) +TLSDESC_MODID offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_module) -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3368 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-03-03 00:49:10 + (Tue, 03 Mar 2009) New Revision: 3368 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-strerror_l.diff Removed: glibc-package/trunk/debian/patches/hurd-i386/local-no-strerror_l.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series glibc-package/trunk/debian/patches/series.hurd-i386 Log: * debian/patches/hurd-i386/local-no-strerror_l.diff: remove patch, replaced by... * debian/patches/hurd-i386/cvs-strerror_l.diff: new patch from Thomas Schwinge. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2009-03-03 00:44:27 UTC (rev 3367) +++ glibc-package/trunk/debian/changelog2009-03-03 00:49:10 UTC (rev 3368) @@ -26,6 +26,10 @@ bits/pthreadtypes.h. Move from series.hurd-i386 to series. * debian/patches/hurd-i386/local-tls-dtv-offset.diff: remove patch, make local-tls-support.diff create tlsdesc.sym instead. + * debian/patches/hurd-i386/local-no-strerror_l.diff: remove patch, replaced +by... + * debian/patches/hurd-i386/cvs-strerror_l.diff: new patch from Thomas +Schwinge. -- Aurelien Jarno Tue, 03 Mar 2009 00:54:27 +0100 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-strerror_l.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-strerror_l.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-strerror_l.diff 2009-03-03 00:49:10 UTC (rev 3368) @@ -0,0 +1,105 @@ +--- /dev/null 2009-03-02 21:38:39.360007130 +0100 glibc/sysdeps/mach/strerror_l.c2008-11-26 20:44:54.0 +0100 +@@ -0,0 +1,102 @@ ++/* strerror_l - Get errno description string in given locale. Mach version. ++ Copyright (C) 2007, 2008 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library; if not, write to the Free ++ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA ++ 02111-1307 USA. */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++ ++static __thread char *last_value; ++ ++ ++static const char * ++translate (const char *str, locale_t loc) ++{ ++ locale_t oldloc = __uselocale (loc); ++ const char *res = _(str); ++ __uselocale (oldloc); ++ return res; ++} ++ ++ ++/* Return a string describing the errno code in ERRNUM. */ ++char * ++strerror_l (int errnum, locale_t loc) ++{ ++ int system; ++ int sub; ++ int code; ++ const struct error_system *es; ++ extern void __mach_error_map_compat (int *); ++ ++ __mach_error_map_compat (&errnum); ++ ++ system = err_get_system (errnum); ++ sub = err_get_sub (errnum); ++ code = err_get_code (errnum); ++ ++ if (system > err_max_system || ! __mach_error_systems[system].bad_sub) ++{ ++ free (last_value); ++ if (__asprintf (&last_value, "%s%X", ++translate ("Error in unknown error system: ", loc), ++errnum) == -1) ++ last_value = NULL; ++ ++ return last_value; ++} ++ ++ es = &__mach_error_systems[system]; ++ ++ if (sub >= es->max_sub) ++return (char *) translate (es->bad_sub, loc); ++ ++ if (code >= es->subsystem[sub].max_code) ++{ ++ free (last_value); ++ if (__asprintf (&last_value, "%s%s %d", ++translate ("Unknown error ", loc), ++translate (es->subsystem[sub].subsys_name, loc), ++errnum) == -1) ++ last_value = NULL; ++ ++ return last_value; ++} ++ ++ return (char *) translate (es->subsystem[sub].codes[code], loc); ++} ++ ++ ++#ifdef _LIBC ++# ifdef _LIBC_REENTRANT ++/* This is called when a thread is exiting to free the last_value string. */ ++static void __attribute__ ((section ("__libc_thread_freeres_fn"))) ++strerror_thread_freeres (void) ++{ ++ free (last_value); ++} ++text_set_element (__libc_thread_subfreeres, strerror_thread_freeres); ++text_set_element (__libc_subfreeres, strerror_thread_freeres); ++# endi
r3367 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-03-03 00:44:27 + (Tue, 03 Mar 2009) New Revision: 3367 Removed: glibc-package/trunk/debian/patches/hurd-i386/local-tls-dtv-offset.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff glibc-package/trunk/debian/patches/series.hurd-i386 Log: * debian/patches/hurd-i386/local-tls-dtv-offset.diff: remove patch, make local-tls-support.diff create tlsdesc.sym instead. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2009-03-03 00:35:26 UTC (rev 3366) +++ glibc-package/trunk/debian/changelog2009-03-03 00:44:27 UTC (rev 3367) @@ -24,6 +24,8 @@ * debian/patches/hurd-i386/local-pthread_types.diff: make it create a new sysdep/mach/hurd/bits/pthreadtypes.h instead of modifying bits/pthreadtypes.h. Move from series.hurd-i386 to series. + * debian/patches/hurd-i386/local-tls-dtv-offset.diff: remove patch, make +local-tls-support.diff create tlsdesc.sym instead. -- Aurelien Jarno Tue, 03 Mar 2009 00:54:27 +0100 Deleted: glibc-package/trunk/debian/patches/hurd-i386/local-tls-dtv-offset.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-dtv-offset.diff 2009-03-03 00:35:26 UTC (rev 3366) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-dtv-offset.diff 2009-03-03 00:44:27 UTC (rev 3367) @@ -1,14 +0,0 @@ glibc/sysdeps/i386/tlsdesc.sym.orig2009-01-27 22:50:04.0 + -+++ glibc/sysdeps/i386/tlsdesc.sym 2009-01-27 22:50:27.0 + -@@ -8,7 +8,11 @@ - - -- Abuse tls.h macros to derive offsets relative to the thread register. - -+#if 0 - DTV_OFFSEToffsetof(struct pthread, header.dtv) -+#else -+DTV_OFFSEToffsetof(tcbhead_t, dtv) -+#endif - - TLSDESC_ARG offsetof(struct tlsdesc, arg) - Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2009-03-03 00:35:26 UTC (rev 3366) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2009-03-03 00:44:27 UTC (rev 3367) @@ -18,7 +18,8 @@ sysdeps/mach/i386/thread_state.h| 11 ++ sysdeps/mach/powerpc/thread_state.h |1 sysdeps/mach/thread_state.h |3 + - 19 files changed, 144 insertions(+), 70 deletions(-) + sysdeps/mach/hurd/i386/tlsdesc.sym | 17 + + 20 files changed, 161 insertions(+), 70 deletions(-) --- a/csu/libc-start.c +++ b/csu/libc-start.c @@ -483,3 +484,23 @@ # include # include # include +--- /dev/null b/sysdeps/mach/hurd/i386/tlsdesc.sym +@@ -0,0 +1,17 @@ ++#include ++#include ++#include ++#include ++#include ++ ++-- ++ ++-- Abuse tls.h macros to derive offsets relative to the thread register. ++ ++DTV_OFFSEToffsetof(struct pthread, header.dtv) ++ ++TLSDESC_ARG offsetof(tcbhead_t, dtv) ++ ++TLSDESC_GEN_COUNT offsetof(struct tlsdesc_dynamic_arg, gen_count) ++TLSDESC_MODID offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_module) ++TLSDESC_MODOFFoffsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_offset) Modified: glibc-package/trunk/debian/patches/series.hurd-i386 === --- glibc-package/trunk/debian/patches/series.hurd-i386 2009-03-03 00:35:26 UTC (rev 3366) +++ glibc-package/trunk/debian/patches/series.hurd-i386 2009-03-03 00:44:27 UTC (rev 3367) @@ -5,4 +5,3 @@ hurd-i386/local-pthread-unsupported-stubs.diff hurd-i386/local-unlockpt-chroot.diff hurd-i386/local-msg-nosignal.diff -hurd-i386/local-tls-dtv-offset.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3366 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-03-03 00:35:26 + (Tue, 03 Mar 2009) New Revision: 3366 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-pthread_types.diff glibc-package/trunk/debian/patches/series glibc-package/trunk/debian/patches/series.hurd-i386 Log: * debian/patches/hurd-i386/local-pthread_types.diff: make it create a new sysdep/mach/hurd/bits/pthreadtypes.h instead of modifying bits/pthreadtypes.h. Move from series.hurd-i386 to series. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2009-03-03 00:28:29 UTC (rev 3365) +++ glibc-package/trunk/debian/changelog2009-03-03 00:35:26 UTC (rev 3366) @@ -21,6 +21,9 @@ submitted-ECANCELED.diff * debian/patches/hurd-i386/local-net-headers.diff: rename into cvs-net-headers.diff + * debian/patches/hurd-i386/local-pthread_types.diff: make it create a new +sysdep/mach/hurd/bits/pthreadtypes.h instead of modifying +bits/pthreadtypes.h. Move from series.hurd-i386 to series. -- Aurelien Jarno Tue, 03 Mar 2009 00:54:27 +0100 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-pthread_types.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-pthread_types.diff 2009-03-03 00:28:29 UTC (rev 3365) +++ glibc-package/trunk/debian/patches/hurd-i386/local-pthread_types.diff 2009-03-03 00:35:26 UTC (rev 3366) @@ -1,9 +1,8 @@ --- - bits/pthreadtypes.h |2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + sysdep/mach/hurd/bits/pthreadtypes.h |1 + + 1 file changed, 1 insertion(+) a/bits/pthreadtypes.h -+++ b/bits/pthreadtypes.h -@@ -1 +1 @@ --/* No thread support. */ +--- a/sysdep/mach/hurd/bits/pthreadtypes.h b/sysdep/mach/hurd/bits/pthreadtypes.h +@@ -0,0 +1,1 @@ +#include Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2009-03-03 00:28:29 UTC (rev 3365) +++ glibc-package/trunk/debian/patches/series 2009-03-03 00:35:26 UTC (rev 3366) @@ -98,6 +98,7 @@ hurd-i386/cvs-get_pc_thunk.diff hurd-i386/submitted-dl-sysdep.diff hurd-i386/submitted-itimer-lock.diff +hurd-i386/local-pthread_types.diff i386/local-biarch.diff i386/local-clone.diff Modified: glibc-package/trunk/debian/patches/series.hurd-i386 === --- glibc-package/trunk/debian/patches/series.hurd-i386 2009-03-03 00:28:29 UTC (rev 3365) +++ glibc-package/trunk/debian/patches/series.hurd-i386 2009-03-03 00:35:26 UTC (rev 3366) @@ -4,6 +4,5 @@ hurd-i386/local-pthread_stubs.diff hurd-i386/local-pthread-unsupported-stubs.diff hurd-i386/local-unlockpt-chroot.diff -hurd-i386/local-pthread_types.diff hurd-i386/local-msg-nosignal.diff hurd-i386/local-tls-dtv-offset.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3365 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2009-03-03 00:28:29 + (Tue, 03 Mar 2009) New Revision: 3365 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-msg-nosignal.diff Log: explain why we need to keep this patch for now Modified: glibc-package/trunk/debian/patches/hurd-i386/local-msg-nosignal.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-msg-nosignal.diff 2009-03-03 00:14:37 UTC (rev 3364) +++ glibc-package/trunk/debian/patches/hurd-i386/local-msg-nosignal.diff 2009-03-03 00:28:29 UTC (rev 3365) @@ -2,6 +2,9 @@ to check glibc-2_5-branch.) Reported on <http://savannah.gnu.org/bugs/?18218>. +We need to keep this until a newer hurd package gets compiled with MSG_NOSIGNAL +support (>= 20080921). + --- resolv/res_send.c |2 ++ 1 file changed, 2 insertions(+) -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3364 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-03-03 00:14:37 + (Tue, 03 Mar 2009) New Revision: 3364 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-net-headers.diff Removed: glibc-package/trunk/debian/patches/hurd-i386/local-net-headers.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * debian/patches/hurd-i386/local-net-headers.diff: rename into cvs-net-headers.diff Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2009-03-03 00:12:01 UTC (rev 3363) +++ glibc-package/trunk/debian/changelog2009-03-03 00:14:37 UTC (rev 3364) @@ -19,6 +19,8 @@ [ Samuel Thibault ] * debian/patches/hurd-i386/cvs-ECANCELED.diff: rename into submitted-ECANCELED.diff + * debian/patches/hurd-i386/local-net-headers.diff: rename into +cvs-net-headers.diff -- Aurelien Jarno Tue, 03 Mar 2009 00:54:27 +0100 Copied: glibc-package/trunk/debian/patches/hurd-i386/cvs-net-headers.diff (from rev 3362, glibc-package/trunk/debian/patches/hurd-i386/local-net-headers.diff) === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-net-headers.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-net-headers.diff 2009-03-03 00:14:37 UTC (rev 3364) @@ -0,0 +1,16 @@ +--- + sysdeps/mach/hurd/Makefile |5 + + 1 file changed, 5 insertions(+) + +--- a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile +@@ -206,4 +206,9 @@ + sysdep_headers += nfs/nfs.h + endif + ++ifeq ($(subdir),socket) ++sysdep_headers += net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h \ ++net/route.h ++endif ++ + endif # in-Makerules Property changes on: glibc-package/trunk/debian/patches/hurd-i386/cvs-net-headers.diff ___ Name: svn:mergeinfo + Deleted: glibc-package/trunk/debian/patches/hurd-i386/local-net-headers.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-net-headers.diff 2009-03-03 00:12:01 UTC (rev 3363) +++ glibc-package/trunk/debian/patches/hurd-i386/local-net-headers.diff 2009-03-03 00:14:37 UTC (rev 3364) @@ -1,16 +0,0 @@ - sysdeps/mach/hurd/Makefile |5 + - 1 file changed, 5 insertions(+) - a/sysdeps/mach/hurd/Makefile -+++ b/sysdeps/mach/hurd/Makefile -@@ -206,4 +206,9 @@ - sysdep_headers += nfs/nfs.h - endif - -+ifeq ($(subdir),socket) -+sysdep_headers += net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h \ -+net/route.h -+endif -+ - endif # in-Makerules Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2009-03-03 00:12:01 UTC (rev 3363) +++ glibc-package/trunk/debian/patches/series 2009-03-03 00:14:37 UTC (rev 3364) @@ -92,7 +92,7 @@ hurd-i386/cvs-report-wait-fix.diff hurd-i386/submitted-critical-sections.diff hurd-i386/submitted-dup2-fix.diff -hurd-i386/local-net-headers.diff +hurd-i386/cvs-net-headers.diff hurd-i386/local-pthread_posix-option.diff hurd-i386/local-check_native.diff hurd-i386/cvs-get_pc_thunk.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3363 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-03-03 00:12:01 + (Tue, 03 Mar 2009) New Revision: 3363 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff Removed: glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * debian/patches/hurd-i386/cvs-ECANCELED.diff: rename into submitted-ECANCELED.diff Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2009-03-03 00:01:24 UTC (rev 3362) +++ glibc-package/trunk/debian/changelog2009-03-03 00:12:01 UTC (rev 3363) @@ -16,6 +16,10 @@ - debhelper.in/locales.config: use previous debconf settings if /etc/locales does not exists. Closes: bug#517884. + [ Samuel Thibault ] + * debian/patches/hurd-i386/cvs-ECANCELED.diff: rename into +submitted-ECANCELED.diff + -- Aurelien Jarno Tue, 03 Mar 2009 00:54:27 +0100 glibc (2.9-4) unstable; urgency=low Deleted: glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff 2009-03-03 00:01:24 UTC (rev 3362) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff 2009-03-03 00:12:01 UTC (rev 3363) @@ -1,26 +0,0 @@ - sysdeps/mach/hurd/bits/errno.h |6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - a/sysdeps/mach/hurd/bits/errno.h -+++ b/sysdeps/mach/hurd/bits/errno.h -@@ -212,8 +212,8 @@ - #define EPROTO _HURD_ERRNO (116)/* Protocol error */ - ETIME = _HURD_ERRNO (117), - #define ETIME _HURD_ERRNO (117)/* Timer expired */ -- ECANCELED = _HURD_ERRNO (118), --#define ECANCELED _HURD_ERRNO (118)/* Operation canceled */ -+ ECANCELED = _HURD_ERRNO (119), -+#define ECANCELED _HURD_ERRNO (119)/* Operation canceled */ - - /* Errors from . */ - EMACH_SEND_IN_PROGRESS = 0x1001, -@@ -297,7 +297,7 @@ - - }; - --#define _HURD_ERRNOS119 -+#define _HURD_ERRNOS120 - - /* User-visible type of error codes. It is ok to use `int' or -`kern_return_t' for these, but with `error_t' the debugger prints Copied: glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff (from rev 3361, glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff) === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff 2009-03-03 00:12:01 UTC (rev 3363) @@ -0,0 +1,26 @@ +--- + sysdeps/mach/hurd/bits/errno.h |6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +--- a/sysdeps/mach/hurd/bits/errno.h b/sysdeps/mach/hurd/bits/errno.h +@@ -212,8 +212,8 @@ + #define EPROTO _HURD_ERRNO (116)/* Protocol error */ + ETIME = _HURD_ERRNO (117), + #define ETIME _HURD_ERRNO (117)/* Timer expired */ +- ECANCELED = _HURD_ERRNO (118), +-#define ECANCELED _HURD_ERRNO (118)/* Operation canceled */ ++ ECANCELED = _HURD_ERRNO (119), ++#define ECANCELED _HURD_ERRNO (119)/* Operation canceled */ + + /* Errors from . */ + EMACH_SEND_IN_PROGRESS = 0x1001, +@@ -297,7 +297,7 @@ + + }; + +-#define _HURD_ERRNOS119 ++#define _HURD_ERRNOS120 + + /* User-visible type of error codes. It is ok to use `int' or +`kern_return_t' for these, but with `error_t' the debugger prints Property changes on: glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff ___ Name: svn:mergeinfo + Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2009-03-03 00:01:24 UTC (rev 3362) +++ glibc-package/trunk/debian/patches/series 2009-03-03 00:12:01 UTC (rev 3363) @@ -84,7 +84,7 @@ hurd-i386/submitted-strtoul.diff hurd-i386/submitted-sysvshm.diff hurd-i386/submitted-ioctl-unsigned-size_t.diff -hurd-i386/cvs-ECANCELED.diff +hurd-i386/submitted-ECANCELED.diff hurd-i386/submitted-IPV6_PKTINFO.diff hurd-i386/submitted-extern_inline.diff hurd-i386/cvs-resource-prio.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3268 - glibc-package/branches/glibc-2.9/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2009-02-01 19:17:50 + (Sun, 01 Feb 2009) New Revision: 3268 Modified: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-stat.diff Log: stick to tschwinge's version Modified: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-stat.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-stat.diff 2009-02-01 17:02:21 UTC (rev 3267) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-stat.diff 2009-02-01 19:17:50 UTC (rev 3268) @@ -1,15 +1,26 @@ -This patch is incomplete. Reported on -<http://savannah.gnu.org/bugs/?18216>. The -`sysdeps/mach/hurd/bits/stat.h' hunk alignes to what Linux uses. +Needed for HEAD and glibc-2_7-branch. - sysdeps/mach/hurd/bits/stat.h | 57 +++--- - sysdeps/mach/hurd/xstatconv.c |9 ++ - 2 files changed, 57 insertions(+), 9 deletions(-) +<http://sources.redhat.com/ml/libc-alpha/2002-12/msg00011.html> + +Reported on <http://savannah.gnu.org/bugs/?18216>. + + +2007-10-05 Thomas Schwinge + + * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done + for Linux: use nsec instead of usec, as well as: + [__USE_MISC] (st_atim, st_mtim, st_ctim): Provide these ``struct + timespec''s. + (struct stat64): Likewise. + (_STATBUF_ST_NSEC): Define. + * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that. + +diff --git a/sysdeps/mach/hurd/xstatconv.c b/sysdeps/mach/hurd/xstatconv.c +index e28643c..d320285 100644 --- a/sysdeps/mach/hurd/xstatconv.c +++ b/sysdeps/mach/hurd/xstatconv.c -@@ -42,12 +42,12 @@ +@@ -42,12 +42,9 @@ xstat64_conv (struct stat *buf, const struct stat64 *buf64) buf->st_uid = buf64->st_uid; buf->st_gid = buf64->st_gid; buf->st_size = buf64->st_size; @@ -19,21 +30,26 @@ - buf->st_mtime_usec = buf64->st_mtime_usec; - buf->st_ctime = buf64->st_ctime; - buf->st_ctime_usec = buf64->st_ctime_usec; -+ buf->st_atim.tv_sec = buf64->st_atim.tv_sec; -+ buf->st_atim.tv_nsec = buf64->st_atim.tv_nsec; -+ buf->st_mtim.tv_sec = buf64->st_mtim.tv_sec; -+ buf->st_mtim.tv_nsec = buf64->st_mtim.tv_nsec; -+ buf->st_ctim.tv_sec = buf64->st_ctim.tv_sec; -+ buf->st_ctim.tv_nsec = buf64->st_ctim.tv_nsec; ++ buf->st_atim = buf64->st_atim; ++ buf->st_mtim = buf64->st_mtim; ++ buf->st_ctim = buf64->st_ctim; buf->st_blksize = buf64->st_blksize; buf->st_blocks = buf64->st_blocks; buf->st_author = buf64->st_author; +diff --git a/sysdeps/mach/hurd/bits/stat.h b/sysdeps/mach/hurd/bits/stat.h +index c3f9666..62c4201 100644 --- a/sysdeps/mach/hurd/bits/stat.h +++ b/sysdeps/mach/hurd/bits/stat.h -@@ -55,12 +55,32 @@ +@@ -55,12 +55,27 @@ struct stat __off64_t st_size;/* Size in bytes. */ #endif +-__time_t st_atime;/* Access time, seconds */ +-unsigned long int st_atime_usec; /* and microseconds. */ +-__time_t st_mtime;/* Modification time, seconds */ +-unsigned long int st_mtime_usec; /* and microseconds. */ +-__time_t st_ctime;/* Status change time, seconds */ +-unsigned long int st_ctime_usec; /* and microseconds. */ +#ifdef __USE_MISC +/* Nanosecond resolution timestamps are stored in a format + equivalent to 'struct timespec'. This is the type used @@ -48,25 +64,26 @@ +# define st_mtime st_mtim.tv_sec +# define st_ctime st_ctim.tv_sec +#else -+/* TODO: Align to the st_atimensec, etc. which Linux uses and define -+ _STATBUF_ST_NSEC? This requires changes in a) the Hurd code -+ (which uses st_atime_usec etc.) and b) in the glibc documentation -+ (which doesn't mention st_atimensec etc. at all, but does explain -+ the st_atime_used etc. interface). */ - __time_t st_atime;/* Access time, seconds */ - unsigned long int st_atime_usec; /* and microseconds. */ - __time_t st_mtime;/* Modification time, seconds */ - unsigned long int st_mtime_usec; /* and microseconds. */ - __time_t st_ctime;/* Status change time, seconds */ - unsigned long int st_ctime_usec; /* and microseconds. */ ++__time_t st_atime;/* Time of last access. */ ++unsigned long int st_atimensec; /* Nscecs of last access. */ ++__time_t st_mtime;/* Time of last modification. */ ++unsigned long int st_mtimensec; /* Nsecs of last modification. */ ++__time_t st_ctime;/* Time of last status change. */ ++unsigned long int st_ctimensec; /* Nsecs of last status change. */ +#endif __blksize_t st_b
r3267 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-02-01 17:02:21 + (Sun, 01 Feb 2009) New Revision: 3267 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-itimer-lock.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/submitted-itimer-lock.diff: new patch fixing itimer unlocking. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-02-01 16:13:32 UTC (rev 3266) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-02-01 17:02:21 UTC (rev 3267) @@ -112,6 +112,7 @@ __i686.get_pc_thunk.bx reference. * hurd-i386/submitted-dl-sysdep.diff: new patch to fix static linking. * hurd-i386/submitted-stat.diff: clean up patch. + * hurd-i386/submitted-itimer-lock.diff: new patch fixing itimer unlocking. -- Aurelien Jarno Thu, 29 Jan 2009 16:47:14 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-itimer-lock.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-itimer-lock.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-itimer-lock.diff 2009-02-01 17:02:21 UTC (rev 3267) @@ -0,0 +1,16 @@ +2009-02-01 Samuel Thibault + + * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit path + instead of returning without unlocking. + +--- glibc/sysdeps/mach/hurd/setitimer.c.orig 2009-02-01 16:02:06.0 +0100 glibc/sysdeps/mach/hurd/setitimer.c2009-02-01 16:02:13.0 +0100 +@@ -220,7 +220,7 @@ + /* Start up the itimer thread running `timer_thread' (below). */ + if (err = __thread_create (__mach_task_self (), +&_hurd_itimer_thread)) +- return __hurd_fail (err); ++ goto out; + _hurd_itimer_thread_stack_base = 0; /* Anywhere. */ + _hurd_itimer_thread_stack_size = __vm_page_size; /* Small stack. */ + if ((err = __mach_setup_thread (__mach_task_self (), Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-02-01 16:13:32 UTC (rev 3266) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-02-01 17:02:21 UTC (rev 3267) @@ -94,6 +94,7 @@ hurd-i386/local-check_native.diff hurd-i386/cvs-get_pc_thunk.diff hurd-i386/submitted-dl-sysdep.diff +hurd-i386/submitted-itimer-lock.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3266 - in glibc-package/branches/glibc-2.9/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2009-02-01 16:13:32 + (Sun, 01 Feb 2009) New Revision: 3266 Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-stat.diff Log: * hurd-i386/submitted-stat.diff: clean up patch. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-30 01:50:32 UTC (rev 3265) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-02-01 16:13:32 UTC (rev 3266) @@ -111,6 +111,7 @@ * hurd-i386/cvs-get_pc_thunk.diff: new patch to fix missing __i686.get_pc_thunk.bx reference. * hurd-i386/submitted-dl-sysdep.diff: new patch to fix static linking. + * hurd-i386/submitted-stat.diff: clean up patch. -- Aurelien Jarno Thu, 29 Jan 2009 16:47:14 +0100 Modified: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-stat.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-stat.diff 2009-01-30 01:50:32 UTC (rev 3265) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-stat.diff 2009-02-01 16:13:32 UTC (rev 3266) @@ -9,25 +9,22 @@ --- a/sysdeps/mach/hurd/xstatconv.c +++ b/sysdeps/mach/hurd/xstatconv.c -@@ -42,12 +42,21 @@ +@@ -42,12 +42,12 @@ buf->st_uid = buf64->st_uid; buf->st_gid = buf64->st_gid; buf->st_size = buf64->st_size; -+#ifdef __USE_MISC /* TODO. Hm. */ +- buf->st_atime = buf64->st_atime; +- buf->st_atime_usec = buf64->st_atime_usec; +- buf->st_mtime = buf64->st_mtime; +- buf->st_mtime_usec = buf64->st_mtime_usec; +- buf->st_ctime = buf64->st_ctime; +- buf->st_ctime_usec = buf64->st_ctime_usec; + buf->st_atim.tv_sec = buf64->st_atim.tv_sec; + buf->st_atim.tv_nsec = buf64->st_atim.tv_nsec; + buf->st_mtim.tv_sec = buf64->st_mtim.tv_sec; + buf->st_mtim.tv_nsec = buf64->st_mtim.tv_nsec; + buf->st_ctim.tv_sec = buf64->st_ctim.tv_sec; + buf->st_ctim.tv_nsec = buf64->st_ctim.tv_nsec; -+#else - buf->st_atime = buf64->st_atime; - buf->st_atime_usec = buf64->st_atime_usec; - buf->st_mtime = buf64->st_mtime; - buf->st_mtime_usec = buf64->st_mtime_usec; - buf->st_ctime = buf64->st_ctime; - buf->st_ctime_usec = buf64->st_ctime_usec; -+#endif buf->st_blksize = buf64->st_blksize; buf->st_blocks = buf64->st_blocks; buf->st_author = buf64->st_author; @@ -96,24 +93,9 @@ __blksize_t st_blksize; /* Optimal size for I/O. */ -@@ -127,7 +164,8 @@ - }; - #endif - --#define _STATBUF_ST_BLKSIZE /* Tell code we have this member. */ -+/* Tell code we have these members. */ -+#define _STATBUF_ST_BLKSIZE - - /* Encoding of the file mode. */ - -@@ -138,23 +176,24 @@ - #define __S_IFCHR 002 /* Character device. */ - #define __S_IFBLK 006 /* Block device. */ - #define __S_IFREG 010 /* Regular file. */ -+#define __S_IFIFO 001 /* FIFO. */ - #define __S_IFLNK 012 /* Symbolic link. */ +@@ -141,10 +178,11 @@ #define __S_IFSOCK 014 /* Socket. */ --#define __S_IFIFO 001 /* FIFO. */ + #define __S_IFIFO 001 /* FIFO. */ -/* POSIX.1b objects. */ -#define __S_TYPEISMQ(buf) (0) @@ -127,15 +109,3 @@ /* Protection bits. */ - #define __S_ISUID 04000 /* Set user ID on execution. */ - #define __S_ISGID 02000 /* Set group ID on execution. */ - #define __S_ISVTX 01000 /* Save swapped text after use (sticky). */ --#define __S_IREAD 00400 /* Read by owner. */ --#define __S_IWRITE 00200 /* Write by owner. */ --#define __S_IEXEC 00100 /* Execute by owner. */ -+#define __S_IREAD 0400/* Read by owner. */ -+#define __S_IWRITE 0200/* Write by owner. */ -+#define __S_IEXEC 0100/* Execute by owner. */ - - - #ifdef__USE_GNU -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3265 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-30 01:50:32 + (Fri, 30 Jan 2009) New Revision: 3265 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-dl-sysdep.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/submitted-dl-sysdep.diff: new patch to fix static linking. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-29 15:48:09 UTC (rev 3264) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-30 01:50:32 UTC (rev 3265) @@ -110,6 +110,7 @@ __check_native() function. * hurd-i386/cvs-get_pc_thunk.diff: new patch to fix missing __i686.get_pc_thunk.bx reference. + * hurd-i386/submitted-dl-sysdep.diff: new patch to fix static linking. -- Aurelien Jarno Thu, 29 Jan 2009 16:47:14 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-dl-sysdep.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-dl-sysdep.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-dl-sysdep.diff 2009-01-30 01:50:32 UTC (rev 3265) @@ -0,0 +1,26 @@ +2009-01-31 Samuel Thibault + + * sysdeps/mach/hurd/dl-sysdep.c: Include code only #ifdef SHARED. + +Index: sysdeps/mach/hurd/dl-sysdep.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/dl-sysdep.c,v +retrieving revision 1.79 +diff -u -p -r1.79 dl-sysdep.c +--- glibc/sysdeps/mach/hurd/dl-sysdep.c2 Jul 2008 19:34:58 - 1.79 glibc/sysdeps/mach/hurd/dl-sysdep.c30 Jan 2009 00:56:56 - +@@ -42,6 +42,8 @@ + #include + #include + ++#ifdef SHARED ++ + extern void __mach_init (void); + + extern int _dl_argc; +@@ -668,3 +670,5 @@ _dl_init_first (int argc, ...) + { + /* This no-op definition only gets used if libc is not linked in. */ + } ++ ++#endif /* SHARED */ Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-29 15:48:09 UTC (rev 3264) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-30 01:50:32 UTC (rev 3265) @@ -93,6 +93,7 @@ hurd-i386/local-pthread_posix-option.diff hurd-i386/local-check_native.diff hurd-i386/cvs-get_pc_thunk.diff +hurd-i386/submitted-dl-sysdep.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3263 - glibc-package/branches/glibc-2.9/debian/patches/any
Author: sthibaul-guest Date: 2009-01-29 02:05:22 + (Thu, 29 Jan 2009) New Revision: 3263 Modified: glibc-package/branches/glibc-2.9/debian/patches/any/local-nss-overflow.diff Log: any/local-nss-overflow.diff: Include to get UINT_MAX. Modified: glibc-package/branches/glibc-2.9/debian/patches/any/local-nss-overflow.diff === --- glibc-package/branches/glibc-2.9/debian/patches/any/local-nss-overflow.diff 2009-01-28 23:31:24 UTC (rev 3262) +++ glibc-package/branches/glibc-2.9/debian/patches/any/local-nss-overflow.diff 2009-01-29 02:05:22 UTC (rev 3263) @@ -1,16 +1,24 @@ 2009-01-12 Arthur Loiret - nss/nss_files/files-parse.c (INT_FIELD): Convert field to uintmax_t - and check for 32-bit overflow. + nss/nss_files/files-parse.c: Include . + (INT_FIELD): Convert field to uintmax_t and check for 32-bit overflow. (INT_FIELD_MAYBE_NULL): Likewise. --- - nss/nss_files/files-parse.c | 14 -- + nss/nss_files/files-parse.c | 15 +-- 1 files changed, 12 insertions(+), 2 deletions(-) --- a/nss/nss_files/files-parse.c +++ b/nss/nss_files/files-parse.c -@@ -144,7 +144,12 @@ +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + + /* These symbols are defined by the including source file: + +@@ -144,7 +145,12 @@ # define INT_FIELD(variable, terminator_p, swallow, base, convert) \ { \ char *endp; \ @@ -24,7 +32,7 @@ if (endp == line) \ return 0; \ else if (terminator_p (*endp)) \ -@@ -159,10 +164,15 @@ +@@ -159,10 +165,15 @@ # define INT_FIELD_MAYBE_NULL(variable, terminator_p, swallow, base, convert, default) \ { \ char *endp; \ -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3262 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-28 23:31:24 + (Wed, 28 Jan 2009) New Revision: 3262 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-get_pc_thunk.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/cvs-get_pc_thunk.diff: new patch to fix missing __i686.get_pc_thunk.bx reference. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-28 03:04:33 UTC (rev 3261) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-28 23:31:24 UTC (rev 3262) @@ -107,6 +107,8 @@ * hurd-i386/local-pthread_posix-option.diff: put back to series. * hurd-i386/local-check_native.diff: new patch to provide a dummy __check_native() function. + * hurd-i386/cvs-get_pc_thunk.diff: new patch to fix missing +__i686.get_pc_thunk.bx reference. -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-get_pc_thunk.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-get_pc_thunk.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-get_pc_thunk.diff 2009-01-28 23:31:24 UTC (rev 3262) @@ -0,0 +1,18 @@ +Index: glibc/sysdeps/i386/dl-tlsdesc.S +=== +RCS file: /cvs/glibc/libc/sysdeps/i386/dl-tlsdesc.S,v +retrieving revision 1.1 +retrieving revision 1.2 +diff -u -p -r1.1 -r1.2 +--- glibc/sysdeps/i386/dl-tlsdesc.S13 May 2008 05:33:06 - 1.1 glibc/sysdeps/i386/dl-tlsdesc.S6 Dec 2008 00:15:17 - 1.2 +@@ -128,8 +128,7 @@ _dl_tlsdesc_dynamic: + .Lslow: + cfi_adjust_cfa_offset (28) + movl%ebx, 16(%esp) +- call__i686.get_pc_thunk.bx +- addl$_GLOBAL_OFFSET_TABLE_, %ebx ++ LOAD_PIC_REG (bx) + call___tls_get_a...@plt + movl16(%esp), %ebx + jmp .Lret Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-28 03:04:33 UTC (rev 3261) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-28 23:31:24 UTC (rev 3262) @@ -92,6 +92,7 @@ hurd-i386/local-net-headers.diff hurd-i386/local-pthread_posix-option.diff hurd-i386/local-check_native.diff +hurd-i386/cvs-get_pc_thunk.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3261 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-28 03:04:33 + (Wed, 28 Jan 2009) New Revision: 3261 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-check_native.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/local-check_native.diff: new patch to provide a dummy __check_native() function. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 23:19:34 UTC (rev 3260) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-28 03:04:33 UTC (rev 3261) @@ -105,6 +105,8 @@ * hurd-i386/local-net-headers.diff: new patch to install net/*.h headers. * hurd-i386/local-tls-dtv-offset.diff: new patch to fix DTV_OFFSET macro. * hurd-i386/local-pthread_posix-option.diff: put back to series. + * hurd-i386/local-check_native.diff: new patch to provide a dummy +__check_native() function. -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-check_native.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-check_native.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-check_native.diff 2009-01-28 03:04:33 UTC (rev 3261) @@ -0,0 +1,30 @@ +--- /dev/null 2007-12-29 19:47:02.0 + glibc/sysdeps/mach/hurd/check_native.c 2009-01-28 01:29:50.0 + +@@ -0,0 +1,27 @@ ++/* Determine whether interfaces use native transport. Dummy version. ++ Copyright (C) 2008 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library; if not, write to the Free ++ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA ++ 02111-1307 USA. */ ++ ++#include ++ ++void ++__check_native (uint32_t a1_index, int *a1_native, ++ uint32_t a2_index, int *a2_native) ++{ ++#warning __check_native() not yet implemented ++} Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 23:19:34 UTC (rev 3260) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-28 03:04:33 UTC (rev 3261) @@ -91,6 +91,7 @@ hurd-i386/submitted-dup2-fix.diff hurd-i386/local-net-headers.diff hurd-i386/local-pthread_posix-option.diff +hurd-i386/local-check_native.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3260 - in glibc-package/branches/glibc-2.9/debian: . patches
Author: sthibaul-guest Date: 2009-01-27 23:19:34 + (Tue, 27 Jan 2009) New Revision: 3260 Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/local-pthread_posix-option.diff: put back to series. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 23:01:16 UTC (rev 3259) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 23:19:34 UTC (rev 3260) @@ -104,6 +104,7 @@ * hurd-i386/submitted-dup2-fix.diff: new patch to fix dup2 FD locking. * hurd-i386/local-net-headers.diff: new patch to install net/*.h headers. * hurd-i386/local-tls-dtv-offset.diff: new patch to fix DTV_OFFSET macro. + * hurd-i386/local-pthread_posix-option.diff: put back to series. -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 23:01:16 UTC (rev 3259) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 23:19:34 UTC (rev 3260) @@ -90,6 +90,7 @@ hurd-i386/submitted-critical-sections.diff hurd-i386/submitted-dup2-fix.diff hurd-i386/local-net-headers.diff +hurd-i386/local-pthread_posix-option.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3259 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-27 23:01:16 + (Tue, 27 Jan 2009) New Revision: 3259 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-tls-dtv-offset.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series.hurd-i386 Log: * hurd-i386/local-tls-dtv-offset.diff: new patch to fix DTV_OFFSET macro. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:30:33 UTC (rev 3258) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 23:01:16 UTC (rev 3259) @@ -103,6 +103,7 @@ critical sections. * hurd-i386/submitted-dup2-fix.diff: new patch to fix dup2 FD locking. * hurd-i386/local-net-headers.diff: new patch to install net/*.h headers. + * hurd-i386/local-tls-dtv-offset.diff: new patch to fix DTV_OFFSET macro. -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-tls-dtv-offset.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-tls-dtv-offset.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-tls-dtv-offset.diff 2009-01-27 23:01:16 UTC (rev 3259) @@ -0,0 +1,14 @@ +--- glibc/sysdeps/i386/tlsdesc.sym.orig2009-01-27 22:50:04.0 + glibc/sysdeps/i386/tlsdesc.sym 2009-01-27 22:50:27.0 + +@@ -8,7 +8,11 @@ + + -- Abuse tls.h macros to derive offsets relative to the thread register. + ++#if 0 + DTV_OFFSEToffsetof(struct pthread, header.dtv) ++#else ++DTV_OFFSEToffsetof(tcbhead_t, dtv) ++#endif + + TLSDESC_ARG offsetof(struct tlsdesc, arg) + Modified: glibc-package/branches/glibc-2.9/debian/patches/series.hurd-i386 === --- glibc-package/branches/glibc-2.9/debian/patches/series.hurd-i386 2009-01-27 21:30:33 UTC (rev 3258) +++ glibc-package/branches/glibc-2.9/debian/patches/series.hurd-i386 2009-01-27 23:01:16 UTC (rev 3259) @@ -6,3 +6,4 @@ hurd-i386/local-unlockpt-chroot.diff hurd-i386/local-pthread_types.diff hurd-i386/local-msg-nosignal.diff +hurd-i386/local-tls-dtv-offset.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3258 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-27 21:30:33 + (Tue, 27 Jan 2009) New Revision: 3258 Removed: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-report-wait.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: remove old hurd-i386/submitted-report-wait.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:25:27 UTC (rev 3257) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:30:33 UTC (rev 3258) @@ -97,7 +97,8 @@ * hurd-i386/cvs-resource-prio.diff: new patch to fix detection of PRIO_* values in some packages * hurd-i386/cvs-hurdsig-fix.diff: new patch to fix hurd signal FD locking. - * hurd-i386/cvs-report-wait-fix.diff: new patch to fix report-wait crash. + * hurd-i386/cvs-report-wait-fix.diff: patch from CVS instead of +hurd-i386/submitted-report-wait.diff. * hurd-i386/submitted-critical-sections.diff: new patch to fix some missing critical sections. * hurd-i386/submitted-dup2-fix.diff: new patch to fix dup2 FD locking. Deleted: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-report-wait.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-report-wait.diff 2009-01-27 21:25:27 UTC (rev 3257) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-report-wait.diff 2009-01-27 21:30:33 UTC (rev 3258) @@ -1,15 +0,0 @@ - hurd/report-wait.c |2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - a/hurd/report-wait.c -+++ b/hurd/report-wait.c -@@ -30,7 +30,7 @@ - describe_number (string_t description, const char *flavor, long int i) - { - unsigned long int j; -- char *p = flavor ? description : __stpcpy (description, flavor); -+ char *p = !flavor ? description : __stpcpy (description, flavor); - char *end; - - /* Handle sign. */ Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:25:27 UTC (rev 3257) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:30:33 UTC (rev 3258) @@ -84,7 +84,6 @@ hurd-i386/cvs-ECANCELED.diff hurd-i386/submitted-IPV6_PKTINFO.diff hurd-i386/submitted-extern_inline.diff -hurd-i386/submitted-report-wait.diff hurd-i386/cvs-resource-prio.diff hurd-i386/cvs-hurdsig-fix.diff hurd-i386/cvs-report-wait-fix.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3257 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-27 21:25:27 + (Tue, 27 Jan 2009) New Revision: 3257 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-net-headers.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/local-net-headers.diff: new patch to install net/*.h headers. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:23:18 UTC (rev 3256) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:25:27 UTC (rev 3257) @@ -101,6 +101,7 @@ * hurd-i386/submitted-critical-sections.diff: new patch to fix some missing critical sections. * hurd-i386/submitted-dup2-fix.diff: new patch to fix dup2 FD locking. + * hurd-i386/local-net-headers.diff: new patch to install net/*.h headers. -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-net-headers.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-net-headers.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/local-net-headers.diff 2009-01-27 21:25:27 UTC (rev 3257) @@ -0,0 +1,17 @@ +Index: glibc/sysdeps/mach/hurd/Makefile +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/Makefile,v +retrieving revision 1.95 +diff -u -p -r1.95 Makefile +--- glibc/sysdeps/mach/hurd/Makefile 17 Oct 2004 20:00:25 - 1.95 glibc/sysdeps/mach/hurd/Makefile 6 Jan 2009 15:15:13 - +@@ -206,4 +206,9 @@ ifeq ($(subdir),sunrpc) + sysdep_headers += nfs/nfs.h + endif + ++ifeq ($(subdir),socket) ++sysdep_headers += net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h \ ++net/route.h ++endif ++ + endif # in-Makerules Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:23:18 UTC (rev 3256) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:25:27 UTC (rev 3257) @@ -90,6 +90,7 @@ hurd-i386/cvs-report-wait-fix.diff hurd-i386/submitted-critical-sections.diff hurd-i386/submitted-dup2-fix.diff +hurd-i386/local-net-headers.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3256 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-27 21:23:18 + (Tue, 27 Jan 2009) New Revision: 3256 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-dup2-fix.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/submitted-dup2-fix.diff: new patch to fix dup2 FD locking. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:20:22 UTC (rev 3255) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:23:18 UTC (rev 3256) @@ -100,6 +100,7 @@ * hurd-i386/cvs-report-wait-fix.diff: new patch to fix report-wait crash. * hurd-i386/submitted-critical-sections.diff: new patch to fix some missing critical sections. + * hurd-i386/submitted-dup2-fix.diff: new patch to fix dup2 FD locking. -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-dup2-fix.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-dup2-fix.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-dup2-fix.diff 2009-01-27 21:23:18 UTC (rev 3256) @@ -0,0 +1,41 @@ +Index: glibc/sysdeps/mach/hurd/dup2.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/dup2.c,v +retrieving revision 1.20 +diff -u -p -r1.20 dup2.c +--- glibc/sysdeps/mach/hurd/dup2.c 3 Aug 2002 06:46:57 - 1.20 glibc/sysdeps/mach/hurd/dup2.c 27 Jan 2009 21:15:36 - +@@ -68,15 +68,14 @@ __dup2 (fd, fd2) + /* Get a hold of the destination descriptor. */ + struct hurd_fd *d2; + ++__mutex_lock (&_hurd_dtable_lock); ++ + if (fd2 >= _hurd_dtablesize) + { + /* The table is not large enough to hold the destination +descriptor. Enlarge it as necessary to allocate this +descriptor. */ + __mutex_unlock (&_hurd_dtable_lock); +-/* We still hold FD1's lock, but this is safe because +- _hurd_alloc_fd will only examine the cells starting +- at FD2. */ + d2 = _hurd_alloc_fd (NULL, fd2); + if (d2) + __spin_unlock (&d2->port.lock); +@@ -96,6 +95,7 @@ __dup2 (fd, fd2) +MACH_PORT_NULL); + } + } ++__mutex_unlock (&_hurd_dtable_lock); + + if (d2 == NULL) + { +@@ -119,7 +119,6 @@ __dup2 (fd, fd2) + _hurd_port_locked_set (&d2->port, port); /* Unlocks D2. */ + } + } +- __mutex_unlock (&_hurd_dtable_lock); + + _hurd_port_free (&d->port, &ulink, port); + if (ctty != MACH_PORT_NULL) Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:20:22 UTC (rev 3255) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:23:18 UTC (rev 3256) @@ -89,6 +89,7 @@ hurd-i386/cvs-hurdsig-fix.diff hurd-i386/cvs-report-wait-fix.diff hurd-i386/submitted-critical-sections.diff +hurd-i386/submitted-dup2-fix.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3255 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-27 21:20:22 + (Tue, 27 Jan 2009) New Revision: 3255 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-critical-sections.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/submitted-critical-sections.diff: new patch to fix some missing critical sections. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:15:11 UTC (rev 3254) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:20:22 UTC (rev 3255) @@ -98,6 +98,8 @@ values in some packages * hurd-i386/cvs-hurdsig-fix.diff: new patch to fix hurd signal FD locking. * hurd-i386/cvs-report-wait-fix.diff: new patch to fix report-wait crash. + * hurd-i386/submitted-critical-sections.diff: new patch to fix some missing +critical sections. -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-critical-sections.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-critical-sections.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/submitted-critical-sections.diff 2009-01-27 21:20:22 UTC (rev 3255) @@ -0,0 +1,65 @@ +Index: glibc/hurd/hurd/fd.h +=== +RCS file: /cvs/glibc/libc/hurd/hurd/fd.h,v +retrieving revision 1.37 +diff -u -p -r1.37 fd.h +--- glibc/hurd/hurd/fd.h 2 Jul 2008 09:53:29 - 1.37 glibc/hurd/hurd/fd.h 27 Jan 2009 21:15:32 - +@@ -63,6 +63,7 @@ extern struct mutex _hurd_dtable_lock; / + { + struct hurd_fd *descriptor; + ++ HURD_CRITICAL_BEGIN; + __mutex_lock (&_hurd_dtable_lock); + if (fd < 0 || fd >= _hurd_dtablesize) + descriptor = NULL; +@@ -87,6 +88,7 @@ _hurd_fd_get (int fd) + } + } + __mutex_unlock (&_hurd_dtable_lock); ++ HURD_CRITICAL_END; + + return descriptor; + } +Index: glibc/sysdeps/mach/hurd/dirfd.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/dirfd.c,v +retrieving revision 1.4 +diff -u -p -r1.4 dirfd.c +--- glibc/sysdeps/mach/hurd/dirfd.c6 Jul 2001 04:55:56 - 1.4 glibc/sysdeps/mach/hurd/dirfd.c27 Jan 2009 21:15:35 - +@@ -26,6 +26,8 @@ int + dirfd (DIR *dirp) + { + int fd; ++ ++ HURD_CRITICAL_BEGIN; + __mutex_lock (&_hurd_dtable_lock); + for (fd = 0; fd < _hurd_dtablesize; ++fd) + if (_hurd_dtable[fd] == dirp->__fd) +@@ -36,6 +38,7 @@ dirfd (DIR *dirp) + fd = -1; + } + __mutex_unlock (&_hurd_dtable_lock); ++ HURD_CRITICAL_END; + + return fd; + } +Index: glibc/sysdeps/mach/hurd/opendir.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/opendir.c,v +retrieving revision 1.17 +--- glibc/sysdeps/mach/hurd/opendir.c 5 Mar 2006 11:53:30 - 1.17 glibc/sysdeps/mach/hurd/opendir.c 27 Jan 2009 21:15:36 - +@@ -51,9 +51,11 @@ _hurd_fd_opendir (struct hurd_fd *d) + return NULL; + + /* Set the descriptor to close on exec. */ ++ HURD_CRITICAL_BEGIN; + __spin_lock (&d->port.lock); + d->flags |= FD_CLOEXEC; + __spin_unlock (&d->port.lock); ++ HURD_CRITICAL_END; + + dirp->__fd = d; + dirp->__data = dirp->__ptr = NULL; Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:15:11 UTC (rev 3254) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:20:22 UTC (rev 3255) @@ -88,6 +88,7 @@ hurd-i386/cvs-resource-prio.diff hurd-i386/cvs-hurdsig-fix.diff hurd-i386/cvs-report-wait-fix.diff +hurd-i386/submitted-critical-sections.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3254 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-27 21:15:11 + (Tue, 27 Jan 2009) New Revision: 3254 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-hurdsig-fix.diff glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-report-wait-fix.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: * hurd-i386/cvs-hurdsig-fix.diff: new patch to fix hurd signal FD locking. * hurd-i386/cvs-report-wait-fix.diff: new patch to fix report-wait crash. Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:06:33 UTC (rev 3253) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:15:11 UTC (rev 3254) @@ -96,6 +96,8 @@ [ Samuel Thibault ] * hurd-i386/cvs-resource-prio.diff: new patch to fix detection of PRIO_* values in some packages + * hurd-i386/cvs-hurdsig-fix.diff: new patch to fix hurd signal FD locking. + * hurd-i386/cvs-report-wait-fix.diff: new patch to fix report-wait crash. -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-hurdsig-fix.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-hurdsig-fix.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-hurdsig-fix.diff 2009-01-27 21:15:11 UTC (rev 3254) @@ -0,0 +1,16 @@ +Index: glibc/hurd/hurdsig.c +=== +RCS file: /cvs/glibc/libc/hurd/hurdsig.c,v +retrieving revision 1.160 +retrieving revision 1.161 +diff -u -p -r1.160 -r1.161 +--- glibc/hurd/hurdsig.c 8 Mar 2008 21:47:23 - 1.160 glibc/hurd/hurdsig.c 7 Jan 2009 01:59:35 - 1.161 +@@ -1134,6 +1134,7 @@ signal_allowed (int signo, mach_port_t r + } + _hurd_port_free (&_hurd_dtable[d]->port, &ulink, port); + } ++ __mutex_unlock (&_hurd_dtable_lock); + /* If we found a lucky winner, we've set D to -1 in the loop. */ + if (lucky) + goto win; Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-report-wait-fix.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-report-wait-fix.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-report-wait-fix.diff 2009-01-27 21:15:11 UTC (rev 3254) @@ -0,0 +1,24 @@ +Index: glibc/hurd/report-wait.c +=== +RCS file: /cvs/glibc/libc/hurd/report-wait.c,v +retrieving revision 1.15 +retrieving revision 1.16 +diff -u -p -r1.15 -r1.16 +--- glibc/hurd/report-wait.c 29 Dec 2005 10:38:12 - 1.15 glibc/hurd/report-wait.c 7 Jan 2009 01:59:26 - 1.16 +@@ -1,5 +1,5 @@ + /* Report on what a thread in our task is waiting for. +- Copyright (C) 1996,1997,1999,2002,2005 Free Software Foundation, Inc. ++ Copyright (C) 1996,1997,1999,2002,2005,2009 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +@@ -30,7 +30,7 @@ static char * + describe_number (string_t description, const char *flavor, long int i) + { + unsigned long int j; +- char *p = flavor ? description : __stpcpy (description, flavor); ++ char *p = flavor == NULL ? description : __stpcpy (description, flavor); + char *end; + + /* Handle sign. */ Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:06:33 UTC (rev 3253) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:15:11 UTC (rev 3254) @@ -86,6 +86,8 @@ hurd-i386/submitted-extern_inline.diff hurd-i386/submitted-report-wait.diff hurd-i386/cvs-resource-prio.diff +hurd-i386/cvs-hurdsig-fix.diff +hurd-i386/cvs-report-wait-fix.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3253 - in glibc-package/branches/glibc-2.9/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2009-01-27 21:06:33 + (Tue, 27 Jan 2009) New Revision: 3253 Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-resource-prio.diff Modified: glibc-package/branches/glibc-2.9/debian/changelog glibc-package/branches/glibc-2.9/debian/patches/series Log: put back changelog to what it was, hurd-i386/cvs-resource-prio.diff: new patch to fix detection of PRIO_* values in some packages Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:03:05 UTC (rev 3252) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:06:33 UTC (rev 3253) @@ -1,19 +1,3 @@ -glibc (2.9-0exp3) experimental; urgency=low - - [ Aurelien Jarno ] - * any/local-linuxthreads-thread_self.diff: new patch to fix a warning on -linuxthreads builds. - * rules.d/build.mk: unset LANG to make sure testsuite errors are not -localized. - * debian/rules: remove *.mo file in the clean target. - - [ Petr Salinger ] - * kfreebsd/local-sysdeps.diff: update to revision 2352 (from glibc-bsd). - * add kfreebsd/local-linuxthreads29.diff: -update to fix build on kfreebsd architectures. - - -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 - glibc (2.9-0exp2) UNRELEASED; urgency=low [ Aurelien Jarno ] @@ -77,6 +61,11 @@ bug#511811. * expected-results-i486-linux-gnu-libc, expected-results-i686-linux-i686: Add tests that fail on a Xen machine. Sigh. + * any/local-linuxthreads-thread_self.diff: new patch to fix a warning on +linuxthreads builds. + * rules.d/build.mk: unset LANG to make sure testsuite errors are not +localized. + * debian/rules: remove *.mo file in the clean target. [ Clint Adams ] * patches/any/cvs-bz697-posix-regexec.diff: regex fix from Paolo Bonzini. @@ -99,8 +88,17 @@ * patches/hppa/submitted-tsd.diff: new patch from to fix build on hppa. Closes: #511430. - -- Aurelien Jarno Tue, 20 Jan 2009 09:20:14 +0100 + [ Petr Salinger ] + * kfreebsd/local-sysdeps.diff: update to revision 2352 (from glibc-bsd). + * add kfreebsd/local-linuxthreads29.diff: +update to fix build on kfreebsd architectures. + [ Samuel Thibault ] + * hurd-i386/cvs-resource-prio.diff: new patch to fix detection of PRIO_* +values in some packages + + -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 + glibc (2.8+20080809-3) experimental; urgency=low [ Aurelien Jarno ] Added: glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-resource-prio.diff === --- glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-resource-prio.diff (rev 0) +++ glibc-package/branches/glibc-2.9/debian/patches/hurd-i386/cvs-resource-prio.diff 2009-01-27 21:06:33 UTC (rev 3253) @@ -0,0 +1,18 @@ +Index: glibc/bits/resource.h +=== +RCS file: /cvs/glibc/libc/bits/resource.h,v +retrieving revision 1.8 +retrieving revision 1.9 +diff -u -p -r1.8 -r1.9 +--- glibc/bits/resource.h 5 Mar 2006 22:48:10 - 1.8 glibc/bits/resource.h 3 Jan 2009 21:04:01 - 1.9 +@@ -185,6 +185,9 @@ struct rusage + enum __priority_which + { + PRIO_PROCESS = 0, /* WHO is a process ID. */ ++#define PRIO_PROCESS PRIO_PROCESS + PRIO_PGRP = 1, /* WHO is a process group ID. */ ++#define PRIO_PGRP PRIO_PGRP + PRIO_USER = 2 /* WHO is a user ID. */ ++#define PRIO_USER PRIO_USER + }; Modified: glibc-package/branches/glibc-2.9/debian/patches/series === --- glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:03:05 UTC (rev 3252) +++ glibc-package/branches/glibc-2.9/debian/patches/series 2009-01-27 21:06:33 UTC (rev 3253) @@ -85,6 +85,7 @@ hurd-i386/submitted-IPV6_PKTINFO.diff hurd-i386/submitted-extern_inline.diff hurd-i386/submitted-report-wait.diff +hurd-i386/cvs-resource-prio.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3252 - glibc-package/branches/glibc-2.9/debian
Author: sthibaul-guest Date: 2009-01-27 21:03:05 + (Tue, 27 Jan 2009) New Revision: 3252 Modified: glibc-package/branches/glibc-2.9/debian/changelog Log: fix changelog into the actually uploaded 2.9-0exp2 version Modified: glibc-package/branches/glibc-2.9/debian/changelog === --- glibc-package/branches/glibc-2.9/debian/changelog 2009-01-25 10:14:18 UTC (rev 3251) +++ glibc-package/branches/glibc-2.9/debian/changelog 2009-01-27 21:03:05 UTC (rev 3252) @@ -1,3 +1,19 @@ +glibc (2.9-0exp3) experimental; urgency=low + + [ Aurelien Jarno ] + * any/local-linuxthreads-thread_self.diff: new patch to fix a warning on +linuxthreads builds. + * rules.d/build.mk: unset LANG to make sure testsuite errors are not +localized. + * debian/rules: remove *.mo file in the clean target. + + [ Petr Salinger ] + * kfreebsd/local-sysdeps.diff: update to revision 2352 (from glibc-bsd). + * add kfreebsd/local-linuxthreads29.diff: +update to fix build on kfreebsd architectures. + + -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 + glibc (2.9-0exp2) UNRELEASED; urgency=low [ Aurelien Jarno ] @@ -61,11 +77,6 @@ bug#511811. * expected-results-i486-linux-gnu-libc, expected-results-i686-linux-i686: Add tests that fail on a Xen machine. Sigh. - * any/local-linuxthreads-thread_self.diff: new patch to fix a warning on -linuxthreads builds. - * rules.d/build.mk: unset LANG to make sure testsuite errors are not -localized. - * debian/rules: remove *.mo file in the clean target. [ Clint Adams ] * patches/any/cvs-bz697-posix-regexec.diff: regex fix from Paolo Bonzini. @@ -88,13 +99,8 @@ * patches/hppa/submitted-tsd.diff: new patch from to fix build on hppa. Closes: #511430. - [ Petr Salinger ] - * kfreebsd/local-sysdeps.diff: update to revision 2352 (from glibc-bsd). - * add kfreebsd/local-linuxthreads29.diff: -update to fix build on kfreebsd architectures. + -- Aurelien Jarno Tue, 20 Jan 2009 09:20:14 +0100 - -- Aurelien Jarno Sun, 25 Jan 2009 11:14:06 +0100 - glibc (2.8+20080809-3) experimental; urgency=low [ Aurelien Jarno ] -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3201 - in glibc-package/branches/glibc-2.8/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-12-16 02:34:22 + (Tue, 16 Dec 2008) New Revision: 3201 Added: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-report-wait.diff Modified: glibc-package/branches/glibc-2.8/debian/changelog glibc-package/branches/glibc-2.8/debian/patches/series Log: * Add hurd-i386/submitted-report-wait.diff. Modified: glibc-package/branches/glibc-2.8/debian/changelog === --- glibc-package/branches/glibc-2.8/debian/changelog 2008-11-26 10:49:07 UTC (rev 3200) +++ glibc-package/branches/glibc-2.8/debian/changelog 2008-12-16 02:34:22 UTC (rev 3201) @@ -140,6 +140,9 @@ * add any/local-linuxthreads-ptw.diff. Closes: #494908. * add kfreebsd/local-sysdeps28.diff, glibc 2.8 specific kfreebsd sysdeps. + [ Samuel Thibault ] + * Add hurd-i386/submitted-report-wait.diff. + -- Aurelien Jarno Mon, 13 Oct 2008 18:28:11 +0200 glibc (2.7-16) unstable; urgency=low Added: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-report-wait.diff === --- glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-report-wait.diff (rev 0) +++ glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-report-wait.diff 2008-12-16 02:34:22 UTC (rev 3201) @@ -0,0 +1,16 @@ +Index: glibc/hurd/report-wait.c +=== +RCS file: /cvs/glibc/libc/hurd/report-wait.c,v +retrieving revision 1.15 +diff -u -p -r1.15 report-wait.c +--- glibc/hurd/report-wait.c 29 Dec 2005 10:38:12 - 1.15 glibc/hurd/report-wait.c 15 Dec 2008 09:23:18 - +@@ -30,7 +30,7 @@ static char * + describe_number (string_t description, const char *flavor, long int i) + { + unsigned long int j; +- char *p = flavor ? description : __stpcpy (description, flavor); ++ char *p = !flavor ? description : __stpcpy (description, flavor); + char *end; + + /* Handle sign. */ Modified: glibc-package/branches/glibc-2.8/debian/patches/series === --- glibc-package/branches/glibc-2.8/debian/patches/series 2008-11-26 10:49:07 UTC (rev 3200) +++ glibc-package/branches/glibc-2.8/debian/patches/series 2008-12-16 02:34:22 UTC (rev 3201) @@ -89,6 +89,7 @@ hurd-i386/cvs-lock-memory-clobber.diff hurd-i386/local-pthread_posix-option.diff hurd-i386/cvs-signal-werror.diff +hurd-i386/submitted-report-wait.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r3118 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2008-09-04 08:57:59 + (Thu, 04 Sep 2008) New Revision: 3118 Modified: glibc-package/trunk/debian/patches/hurd-i386/cvs-signal-werror.diff Log: fix typo as in upstream Modified: glibc-package/trunk/debian/patches/hurd-i386/cvs-signal-werror.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-signal-werror.diff 2008-09-02 10:37:22 UTC (rev 3117) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-signal-werror.diff 2008-09-04 08:57:59 UTC (rev 3118) @@ -30,7 +30,7 @@ break; \ /* Get the reference port. */\ - if (__err = (fetch_refport_expr)) \ -+ _err = (fetch_refport_expr); \ ++ __err = (fetch_refport_expr); \ + if (__err)\ { \ /* Couldn't get it; deallocate MSGPORT and fail. */ \ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r3099 - in glibc-package/trunk/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2008-08-14 03:40:04 + (Thu, 14 Aug 2008) New Revision: 3099 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff Log: * patches/hurd-i386/local-tls-support.diff: fix cthread compilation. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-08-13 13:33:01 UTC (rev 3098) +++ glibc-package/trunk/debian/changelog2008-08-14 03:40:04 UTC (rev 3099) @@ -19,6 +19,7 @@ * patches/hurd-i386/local-pthread_posix-option.diff: new patch to advertise the libpthread from the hurd packages. * patches/hurd-i386/cvs-signal-werror.diff: new patch to fix gdb compilation. + * patches/hurd-i386/local-tls-support.diff: fix cthread compilation. -- Aurelien Jarno <[EMAIL PROTECTED]> Wed, 06 Aug 2008 17:00:36 +0200 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2008-08-13 13:33:01 UTC (rev 3098) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2008-08-14 03:40:04 UTC (rev 3099) @@ -440,11 +440,13 @@ implementations. */ --- sysdeps/mach/hurd/bits/libc-lock.h.orig +++ sysdeps/mach/hurd/bits/libc-lock.h -@@ -21,6 +21,7 @@ +@@ -21,6 +21,9 @@ #define _BITS_LIBC_LOCK_H 1 #if (_LIBC - 0) || (_CTHREADS_ - 0) ++#if (_LIBC - 0) +#include ++#endif #include #include -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r3100 - glibc-package/branches/glibc-2.8/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2008-08-14 03:41:46 + (Thu, 14 Aug 2008) New Revision: 3100 Modified: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/local-tls-support.diff Log: Fix cthread compilation. Modified: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/local-tls-support.diff 2008-08-14 03:40:04 UTC (rev 3099) +++ glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/local-tls-support.diff 2008-08-14 03:41:46 UTC (rev 3100) @@ -462,11 +462,13 @@ implementations. */ --- a/sysdeps/mach/hurd/bits/libc-lock.h +++ b/sysdeps/mach/hurd/bits/libc-lock.h -@@ -21,6 +21,7 @@ +@@ -21,6 +21,9 @@ #define _BITS_LIBC_LOCK_H 1 #if (_LIBC - 0) || (_CTHREADS_ - 0) ++#if (_LIBC - 0) +#include ++#endif #include #include -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r3096 - in glibc-package/branches/glibc-2.8/debian/patches: . hurd-i386
Author: sthibaul-guest Date: 2008-08-13 11:22:08 + (Wed, 13 Aug 2008) New Revision: 3096 Added: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/cvs-signal-werror.diff Removed: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff Modified: glibc-package/branches/glibc-2.8/debian/patches/series Log: Take upstream cvs commit instead of submitted patch Copied: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/cvs-signal-werror.diff (from rev 3095, glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff) === --- glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/cvs-signal-werror.diff (rev 0) +++ glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/cvs-signal-werror.diff 2008-08-13 11:22:08 UTC (rev 3096) @@ -0,0 +1,37 @@ +2008-08-12 Roland McGrath <[EMAIL PROTECTED]> + + * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers, + in case used outside of libc. + Reported by Samuel Thibault <[EMAIL PROTECTED]> + +Index: glibc/hurd/hurd/signal.h +=== +RCS file: /cvs/glibc/libc/hurd/hurd/signal.h,v +retrieving revision 1.49 +retrieving revision 1.50 +diff -u -p -r1.49 -r1.50 +--- glibc/hurd/hurd/signal.h 19 Jul 2007 17:20:39 - 1.49 glibc/hurd/hurd/signal.h 13 Aug 2008 02:39:55 - 1.50 +@@ -1,5 +1,6 @@ + /* Implementing POSIX.1 signals under the Hurd. +- Copyright (C) 1993,94,95,96,98,99,2002,2007 Free Software Foundation, Inc. ++ Copyright (C) 1993,94,95,96,98,99,2002,2007,2008 ++ Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +@@ -342,10 +343,12 @@ extern mach_msg_timeout_t _hurd_interrup + do \ + { \ + /* Get the message port. */ \ +- if (__err = (fetch_msgport_expr)) \ ++ __err = (fetch_msgport_expr); \ ++ if (__err)\ + break; \ + /* Get the reference port. */\ +- if (__err = (fetch_refport_expr)) \ ++ _err = (fetch_refport_expr); \ ++ if (__err)\ + { \ + /* Couldn't get it; deallocate MSGPORT and fail. */ \ + __mach_port_deallocate (__mach_task_self (), msgport);\ Property changes on: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/cvs-signal-werror.diff ___ Name: svn:mergeinfo + Deleted: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff === --- glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff 2008-08-13 04:10:54 UTC (rev 3095) +++ glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff 2008-08-13 11:22:08 UTC (rev 3096) @@ -1,25 +0,0 @@ -2008-13-08 Samuel Thibault <[EMAIL PROTECTED]> - - * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Add parenthesis around - assignment used as truth value. - -Index: glibc/hurd/hurd/signal.h -=== -RCS file: /cvs/glibc/libc/hurd/hurd/signal.h,v -retrieving revision 1.49 -diff -u -p -r1.49 signal.h glibc/hurd/hurd/signal.h 19 Jul 2007 17:20:39 - 1.49 -+++ glibc/hurd/hurd/signal.h 12 Aug 2008 23:16:59 - -@@ -342,10 +342,10 @@ extern mach_msg_timeout_t _hurd_interrup - do \ - { \ - /* Get the message port. */ \ -- if (__err = (fetch_msgport_expr)) \ -+ if ((__err = (fetch_msgport_expr))) \ - break; \ - /* Get the reference port. */\ -- if (__err = (fetch_refport_expr))
r3093 - in glibc-package/branches/glibc-2.8/debian/patches: . hurd-i386
Author: sthibaul-guest Date: 2008-08-12 23:35:20 + (Tue, 12 Aug 2008) New Revision: 3093 Added: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff Modified: glibc-package/branches/glibc-2.8/debian/patches/series Log: * patches/hurd-i386/submitted-signal-werror.diff: new patch to fix gdb compilation. Added: glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff === --- glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff (rev 0) +++ glibc-package/branches/glibc-2.8/debian/patches/hurd-i386/submitted-signal-werror.diff 2008-08-12 23:35:20 UTC (rev 3093) @@ -0,0 +1,25 @@ +2008-13-08 Samuel Thibault <[EMAIL PROTECTED]> + + * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Add parenthesis around + assignment used as truth value. + +Index: glibc/hurd/hurd/signal.h +=== +RCS file: /cvs/glibc/libc/hurd/hurd/signal.h,v +retrieving revision 1.49 +diff -u -p -r1.49 signal.h +--- glibc/hurd/hurd/signal.h 19 Jul 2007 17:20:39 - 1.49 glibc/hurd/hurd/signal.h 12 Aug 2008 23:16:59 - +@@ -342,10 +342,10 @@ extern mach_msg_timeout_t _hurd_interrup + do \ + { \ + /* Get the message port. */ \ +- if (__err = (fetch_msgport_expr)) \ ++ if ((__err = (fetch_msgport_expr))) \ + break; \ + /* Get the reference port. */\ +- if (__err = (fetch_refport_expr)) \ ++ if ((__err = (fetch_refport_expr))) \ + { \ + /* Couldn't get it; deallocate MSGPORT and fail. */ \ + __mach_port_deallocate (__mach_task_self (), msgport);\ Modified: glibc-package/branches/glibc-2.8/debian/patches/series === --- glibc-package/branches/glibc-2.8/debian/patches/series 2008-08-12 23:34:27 UTC (rev 3092) +++ glibc-package/branches/glibc-2.8/debian/patches/series 2008-08-12 23:35:20 UTC (rev 3093) @@ -89,6 +89,7 @@ hurd-i386/cvs-lock-memory-clobber.diff hurd-i386/local-machine-lock.diff hurd-i386/local-pthread_posix-option.diff +hurd-i386/submitted-signal-werror.diff i386/local-biarch.diff i386/local-clone.diff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r3089 - glibc-package/branches/glibc-2.8/debian/patches
Author: sthibaul-guest Date: 2008-08-12 00:52:25 + (Tue, 12 Aug 2008) New Revision: 3089 Modified: glibc-package/branches/glibc-2.8/debian/patches/series Log: fix patch application order Modified: glibc-package/branches/glibc-2.8/debian/patches/series === --- glibc-package/branches/glibc-2.8/debian/patches/series 2008-08-11 23:31:40 UTC (rev 3088) +++ glibc-package/branches/glibc-2.8/debian/patches/series 2008-08-12 00:52:25 UTC (rev 3089) @@ -65,7 +65,6 @@ hppa/submitted-nptl-carlos.diff hppa/submitted-pie.diff -hurd-i386/local-machine-lock.diff hurd-i386/local-dl-dynamic-weak.diff hurd-i386/local-enable-ldconfig.diff hurd-i386/local-mlock.diff @@ -88,6 +87,7 @@ hurd-i386/cvs-open_2.diff hurd-i386/cvs-fcntl-types.diff hurd-i386/cvs-lock-memory-clobber.diff +hurd-i386/local-machine-lock.diff hurd-i386/local-pthread_posix-option.diff i386/local-biarch.diff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r3088 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2008-08-11 23:31:40 + (Mon, 11 Aug 2008) New Revision: 3088 Modified: glibc-package/trunk/debian/patches/hurd-i386/cvs-lock-memory-clobber.diff Log: fix assembly constraint Modified: glibc-package/trunk/debian/patches/hurd-i386/cvs-lock-memory-clobber.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-lock-memory-clobber.diff 2008-08-11 20:48:07 UTC (rev 3087) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-lock-memory-clobber.diff 2008-08-11 23:31:40 UTC (rev 3088) @@ -19,7 +19,7 @@ __asm__ __volatile ("xchgl %0, %1" - : "=&r" (__unlocked), "=m" (*__lock) : "0" (0)); + : "=&r" (__unlocked), "=m" (*__lock) : "0" (0) -+ : : "memory"); ++ : "memory"); } /* Try to lock LOCK; return nonzero if we locked it, zero if another has. */ @@ -29,7 +29,7 @@ __asm__ __volatile ("xchgl %0, %1" -: "=&r" (__locked), "=m" (*__lock) : "0" (1)); +: "=&r" (__locked), "=m" (*__lock) : "0" (1) -+: : "memory"); ++: "memory"); return !__locked; } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2997 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2008-07-14 01:34:32 + (Mon, 14 Jul 2008) New Revision: 2997 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls.diff Log: explain why the patch is still here Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls.diff 2008-07-14 01:30:37 UTC (rev 2996) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls.diff 2008-07-14 01:34:32 UTC (rev 2997) @@ -1,3 +1,5 @@ +For now errno is still a threadvar variable. + Index: glibc-2.7/include/errno.h === --- glibc-2.7.orig/include/errno.h 2007-10-23 08:46:15.0 -0400 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2996 - glibc-package/trunk/debian
Author: sthibaul-guest Date: 2008-07-14 01:30:37 + (Mon, 14 Jul 2008) New Revision: 2996 Modified: glibc-package/trunk/debian/changelog Log: Fix changelog about patches/hurd-i386/submitted-fcntl-types.diff and patches/hurd-i386/local-tls.diff Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-07-14 01:01:40 UTC (rev 2995) +++ glibc-package/trunk/debian/changelog2008-07-14 01:30:37 UTC (rev 2996) @@ -28,8 +28,10 @@ * patches/hurd-i386/local-pthread_types.diff: New patch to drag pthread types from hurd headers. Bump the hurd-dev dependency version accordingly. - * patches/all/submitted-fcntl-types.diff: New patch to include -from like on Linux. Fixes a lot of FTBFS on hurd. + * patches/hurd-i386/submitted-fcntl-types.diff: New patch to include + from like on Linux. Fixes a lot of FTBFS on +hurd. + * patches/hurd-i386/local-tls.diff: Resync with upstream. -- Aurelien Jarno <[EMAIL PROTECTED]> Tue, 08 Jul 2008 18:26:28 +0200 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2995 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2008-07-14 01:01:40 + (Mon, 14 Jul 2008) New Revision: 2995 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls.diff Log: part of it got commited Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls.diff 2008-07-14 00:56:05 UTC (rev 2994) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls.diff 2008-07-14 01:01:40 UTC (rev 2995) @@ -11,17 +11,3 @@ # undef errno # ifndef NOT_IN_libc #define errno __libc_errno -Index: glibc-2.7/sysdeps/mach/i386/sysdep.h -=== glibc-2.7.orig/sysdeps/mach/i386/sysdep.h 2007-10-23 08:46:15.0 -0400 -+++ glibc-2.7/sysdeps/mach/i386/sysdep.h 2007-10-23 08:49:36.0 -0400 -@@ -22,6 +22,9 @@ - #include - #include - -+#include -+#include -+ - #define LOSE asm volatile ("hlt") - - #define SNARF_ARGS(entry_sp, argc, argv, envp) \ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2993 - glibc-package/trunk/debian/patches/all
Author: sthibaul-guest Date: 2008-07-13 22:48:28 + (Sun, 13 Jul 2008) New Revision: 2993 Modified: glibc-package/trunk/debian/patches/all/submitted-fcntl-types.diff Log: mode_t and off_t are actually pulled from stat.h Modified: glibc-package/trunk/debian/patches/all/submitted-fcntl-types.diff === --- glibc-package/trunk/debian/patches/all/submitted-fcntl-types.diff 2008-07-13 12:58:58 UTC (rev 2992) +++ glibc-package/trunk/debian/patches/all/submitted-fcntl-types.diff 2008-07-13 22:48:28 UTC (rev 2993) @@ -5,27 +5,13 @@ diff -u -p -r1.43 fcntl.h --- glibc/io/fcntl.h 15 Sep 2007 22:34:56 - 1.43 +++ glibc/io/fcntl.h 13 Jul 2008 01:10:02 - -@@ -33,6 +33,29 @@ __BEGIN_DECLS +@@ -33,6 +33,15 @@ numbers and flag bits for `open', `fcntl', et al. */ #include +#if defined __USE_XOPEN || defined __USE_XOPEN2K +/* The Single Unix specification says that some more types are + available here. */ -+# ifndef __mode_t_defined -+typedef __mode_t mode_t; -+# define __mode_t_defined -+# endif -+ -+# ifndef __off_t_defined -+# ifndef __USE_FILE_OFFSET64 -+typedef __off_t off_t; -+# else -+typedef __off64_t off_t; -+# endif -+# define __off_t_defined -+# endif -+ +# ifndef __pid_t_defined +typedef __pid_t pid_t; +# define __pid_t_defined -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2988 - in glibc-package/trunk/debian: . patches patches/all
Author: sthibaul-guest Date: 2008-07-13 01:18:55 + (Sun, 13 Jul 2008) New Revision: 2988 Added: glibc-package/trunk/debian/patches/all/submitted-fcntl-types.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * patches/all/submitted-fcntl-types.diff: New patch to add mode_t, off_t and pid_t definitions to . Fixes a lot of FTBFS on hurd and freebsd. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-07-12 15:26:56 UTC (rev 2987) +++ glibc-package/trunk/debian/changelog2008-07-13 01:18:55 UTC (rev 2988) @@ -28,6 +28,8 @@ * patches/hurd-i386/local-pthread_types.diff: New patch to drag pthread types from hurd headers. Bump the hurd-dev dependency version accordingly. + * patches/all/submitted-fcntl-types.diff: New patch to add mode_t, off_t and +pid_t definitions to . Fixes a lot of FTBFS on hurd and freebsd. -- Aurelien Jarno <[EMAIL PROTECTED]> Tue, 08 Jul 2008 18:26:28 +0200 Added: glibc-package/trunk/debian/patches/all/submitted-fcntl-types.diff === --- glibc-package/trunk/debian/patches/all/submitted-fcntl-types.diff (rev 0) +++ glibc-package/trunk/debian/patches/all/submitted-fcntl-types.diff 2008-07-13 01:18:55 UTC (rev 2988) @@ -0,0 +1,37 @@ +Index: glibc/io/fcntl.h +=== +RCS file: /cvs/glibc/libc/io/fcntl.h,v +retrieving revision 1.43 +diff -u -p -r1.43 fcntl.h +--- glibc/io/fcntl.h 15 Sep 2007 22:34:56 - 1.43 glibc/io/fcntl.h 13 Jul 2008 01:10:02 - +@@ -33,6 +33,29 @@ __BEGIN_DECLS +numbers and flag bits for `open', `fcntl', et al. */ + #include + ++#if defined __USE_XOPEN || defined __USE_XOPEN2K ++/* The Single Unix specification says that some more types are ++ available here. */ ++# ifndef __mode_t_defined ++typedef __mode_t mode_t; ++# define __mode_t_defined ++# endif ++ ++# ifndef __off_t_defined ++# ifndef __USE_FILE_OFFSET64 ++typedef __off_t off_t; ++# else ++typedef __off64_t off_t; ++# endif ++# define __off_t_defined ++# endif ++ ++# ifndef __pid_t_defined ++typedef __pid_t pid_t; ++# define __pid_t_defined ++# endif ++#endif/* X/Open */ ++ + /* For XPG all symbols from should also be available. */ + #ifdef __USE_XOPEN + # include Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2008-07-12 15:26:56 UTC (rev 2987) +++ glibc-package/trunk/debian/patches/series 2008-07-13 01:18:55 UTC (rev 2988) @@ -141,6 +141,7 @@ all/local-pthread-manpages.diff all/local-remove-manual.diff all/local-ru_RU.diff +all/submitted-fcntl-types.diff any/cvs-epoll_h.diff -p0 any/cvs-ether_line.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2987 - in glibc-package/trunk/debian: . control.in patches patches/hurd-i386 sysdeps
Author: sthibaul-guest Date: 2008-07-12 15:26:56 + (Sat, 12 Jul 2008) New Revision: 2987 Added: glibc-package/trunk/debian/patches/hurd-i386/local-pthread_types.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/control glibc-package/trunk/debian/control.in/main glibc-package/trunk/debian/patches/series.hurd-i386 glibc-package/trunk/debian/sysdeps/depflags.pl Log: * patches/hurd-i386/local-pthread_types.diff: New patch to drag pthread types from hurd headers. Bump the hurd-dev dependency version accordingly. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-07-08 16:27:47 UTC (rev 2986) +++ glibc-package/trunk/debian/changelog2008-07-12 15:26:56 UTC (rev 2987) @@ -25,6 +25,9 @@ * Use gcc-4.3 on hurd-i386. * patches/hurd-i386/cvs-open_2.diff: New patch to implement __open_2 and __openat_2. Together with kfreebsd update closes: #489357. + * patches/hurd-i386/local-pthread_types.diff: New patch to drag pthread +types from hurd headers. Bump the hurd-dev dependency version +accordingly. -- Aurelien Jarno <[EMAIL PROTECTED]> Tue, 08 Jul 2008 18:26:28 +0200 Modified: glibc-package/trunk/debian/control === --- glibc-package/trunk/debian/control 2008-07-08 16:27:47 UTC (rev 2986) +++ glibc-package/trunk/debian/control 2008-07-12 15:26:56 UTC (rev 2987) @@ -4,7 +4,7 @@ Build-Depends: gettext, make (>= 3.80), dpkg-dev (>= 1.13.5), bzip2, lzma, file, quilt, autoconf, sed (>= 4.0.5-4), gawk, debhelper (>= 5.0), linux-libc-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], - mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20071119-2) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386], + mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], binutils (>= 2.17cvs20070426), g++-4.2 (>= 4.2.1) [alpha], Modified: glibc-package/trunk/debian/control.in/main === --- glibc-package/trunk/debian/control.in/main 2008-07-08 16:27:47 UTC (rev 2986) +++ glibc-package/trunk/debian/control.in/main 2008-07-12 15:26:56 UTC (rev 2987) @@ -4,7 +4,7 @@ Build-Depends: gettext, make (>= 3.80), dpkg-dev (>= 1.13.5), bzip2, lzma, file, quilt, autoconf, sed (>= 4.0.5-4), gawk, debhelper (>= 5.0), linux-libc-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], - mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20071119-2) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386], + mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], binutils (>= 2.17cvs20070426), g++-4.2 (>= 4.2.1) [alpha], Added: glibc-package/trunk/debian/patches/hurd-i386/local-pthread_types.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-pthread_types.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/local-pthread_types.diff 2008-07-12 15:26:56 UTC (rev 2987) @@ -0,0 +1,10 @@ +Index: glibc/bits/pthreadtypes.h +=== +RCS file: /cvs/glibc/libc/bits/pthreadtypes.h,v +retrieving revision 1.1 +diff -u -p -r1.1 pthreadtypes.h +--- glibc/bits/pthreadtypes.h 10 Nov 2002 23:22:34 - 1.1 glibc/bits/pthreadtypes.h 28 Jun 2008 00:14:16 - +@@ -1 +1 @@ +-/* No thread support. */ ++#include Modified: glibc-package/trunk/debian/patches/series.hurd-i386 === --- glibc-package/trunk/debian/patches/series.hurd-i386 2008-07-08 16:27:47 UTC (rev 2986) +++ glibc-package/trunk/debian/patches/series.hurd-i386 2008-07-12 15:26:56 UTC (rev 2987) @@ -4,4 +4,5 @@ hurd-i386/local-pthread_stubs.diff hurd-i386/local-pthread-unsupported-stubs.diff hurd-i386/local-unlockpt-chroot.diff +hurd-i386/local-pthread_types.diff hurd-i386/local-msg-nosignal.diff -p0 Modified: glibc-package/trunk/debian/sysdeps/depflags.pl === --- glibc-package/trunk/debian/sysdeps/depflags.pl 2008-07-08 16:27:47 UTC (rev 2986) +++ glibc-package/trunk/debian/sysdeps/depflags.pl 2008-07-12 15:26:56 UTC (rev 2987) @@ -19,7 +19,7 @@ # OS specific stuff if ($DEB_HOST_ARCH_OS eq "hurd") { -push @{$libc_dev_c{'Depends'}}, ('gnumach-dev', 'hurd-dev (>= 20071119-2)', 'libpthread-stubs0-dev'); +push @{$libc_dev_
r2979 - in glibc-package/trunk/debian: . control.in sysdeps
Author: sthibaul-guest Date: 2008-07-04 22:46:43 + (Fri, 04 Jul 2008) New Revision: 2979 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/control glibc-package/trunk/debian/control.in/main glibc-package/trunk/debian/sysdeps/hurd.mk Log: Use gcc-4.3 on hurd-i386. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-07-03 20:18:36 UTC (rev 2978) +++ glibc-package/trunk/debian/changelog2008-07-04 22:46:43 UTC (rev 2979) @@ -16,6 +16,7 @@ MSG_NOSIGNAL. * patches/hurd-i386/local-msg-nosignal.diff: Forcibly set MSG_NOSIGNAL to 0 until pfinet gets recompiled. Only apply on hurd-i386. + * Use gcc-4.3 on hurd-i386. -- Aurelien Jarno <[EMAIL PROTECTED]> Tue, 24 Jun 2008 11:36:17 +0200 Modified: glibc-package/trunk/debian/control === --- glibc-package/trunk/debian/control 2008-07-03 20:18:36 UTC (rev 2978) +++ glibc-package/trunk/debian/control 2008-07-04 22:46:43 UTC (rev 2979) @@ -7,8 +7,8 @@ mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20071119-2) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], binutils (>= 2.17cvs20070426), - g++-4.2 (>= 4.2.1) [alpha hurd-i386], - g++-4.3 (>= 4.3.0-2) [!alpha !hurd-i386], g++-4.3-multilib [amd64 i386 kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc] + g++-4.2 (>= 4.2.1) [alpha], + g++-4.3 (>= 4.3.0-2) [!alpha], g++-4.3-multilib [amd64 i386 kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc] Build-Depends-Indep: perl, po-debconf (>= 1.0) Maintainer: GNU Libc Maintainers Uploaders: Ben Collins <[EMAIL PROTECTED]>, GOTO Masanori <[EMAIL PROTECTED]>, Philip Blundell <[EMAIL PROTECTED]>, Jeff Bailey <[EMAIL PROTECTED]>, Daniel Jacobowitz <[EMAIL PROTECTED]>, Clint Adams <[EMAIL PROTECTED]>, Aurelien Jarno <[EMAIL PROTECTED]>, Pierre Habouzit <[EMAIL PROTECTED]> Modified: glibc-package/trunk/debian/control.in/main === --- glibc-package/trunk/debian/control.in/main 2008-07-03 20:18:36 UTC (rev 2978) +++ glibc-package/trunk/debian/control.in/main 2008-07-04 22:46:43 UTC (rev 2979) @@ -7,8 +7,8 @@ mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20071119-2) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], binutils (>= 2.17cvs20070426), - g++-4.2 (>= 4.2.1) [alpha hurd-i386], - g++-4.3 (>= 4.3.0-2) [!alpha !hurd-i386], g++-4.3-multilib [amd64 i386 kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc] + g++-4.2 (>= 4.2.1) [alpha], + g++-4.3 (>= 4.3.0-2) [!alpha], g++-4.3-multilib [amd64 i386 kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc] Build-Depends-Indep: perl, po-debconf (>= 1.0) Maintainer: GNU Libc Maintainers Uploaders: Ben Collins <[EMAIL PROTECTED]>, GOTO Masanori <[EMAIL PROTECTED]>, Philip Blundell <[EMAIL PROTECTED]>, Jeff Bailey <[EMAIL PROTECTED]>, Daniel Jacobowitz <[EMAIL PROTECTED]>, Clint Adams <[EMAIL PROTECTED]>, Aurelien Jarno <[EMAIL PROTECTED]>, Pierre Habouzit <[EMAIL PROTECTED]> Modified: glibc-package/trunk/debian/sysdeps/hurd.mk === --- glibc-package/trunk/debian/sysdeps/hurd.mk 2008-07-03 20:18:36 UTC (rev 2978) +++ glibc-package/trunk/debian/sysdeps/hurd.mk 2008-07-04 22:46:43 UTC (rev 2979) @@ -1,8 +1,3 @@ -ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH)) -CC = gcc-4.2 -CXX= g++-4.2 -endif - # This is for the GNU OS. Commonly known as the Hurd. GLIBC_OVERLAYS ?= $(shell ls glibc-linuxthreads* glibc-ports* glibc-libidn*) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2977 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-07-02 23:39:33 + (Wed, 02 Jul 2008) New Revision: 2977 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-MSG_NOSIGNAL.diff glibc-package/trunk/debian/patches/hurd-i386/cvs-mig-init.diff Removed: glibc-package/trunk/debian/patches/hurd-i386/submitted-mig-init.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-msg-nosignal.diff glibc-package/trunk/debian/patches/hurd-i386/submitted-extern_inline.diff glibc-package/trunk/debian/patches/series glibc-package/trunk/debian/patches/series.hurd-i386 Log: * patches/hurd-i386/cvs-MSG_NOSIGNAL.diff: New patch to implement MSG_NOSIGNAL. * patches/hurd-i386/local-msg-nosignal.diff: Forcibly set MSG_NOSIGNAL to 0 until pfinet gets recompiled. Only apply on hurd-i386. * submitted-mig-init.diff got commited, renamed to cvs-mig-init.diff Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-06-25 08:57:13 UTC (rev 2976) +++ glibc-package/trunk/debian/changelog2008-07-02 23:39:33 UTC (rev 2977) @@ -9,6 +9,12 @@ headers. * kfreebsd/local-sysdeps.diff: update to revision 2201 (from glibc-bsd). + [ Samuel Thibault ] + * patches/hurd-i386/cvs-MSG_NOSIGNAL.diff: New patch to implement +MSG_NOSIGNAL. + * patches/hurd-i386/local-msg-nosignal.diff: Forcibly set MSG_NOSIGNAL to 0 +until pfinet gets recompiled. Only apply on hurd-i386. + -- Aurelien Jarno <[EMAIL PROTECTED]> Tue, 24 Jun 2008 11:36:17 +0200 glibc (2.7-12) unstable; urgency=low Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-MSG_NOSIGNAL.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-MSG_NOSIGNAL.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-MSG_NOSIGNAL.diff 2008-07-02 23:39:33 UTC (rev 2977) @@ -0,0 +1,167 @@ +Index: sysdeps/unix/bsd/bsd4.4/bits/socket.h +=== +RCS file: /cvs/glibc/libc/sysdeps/unix/bsd/bsd4.4/bits/socket.h,v +retrieving revision 1.8 +diff -u -p -r1.8 socket.h +--- sysdeps/unix/bsd/bsd4.4/bits/socket.h 11 Oct 2007 16:32:14 - 1.8 sysdeps/unix/bsd/bsd4.4/bits/socket.h 1 Jul 2008 21:37:10 - +@@ -171,8 +171,10 @@ enum + #define MSG_CTRUNC MSG_CTRUNC + MSG_WAITALL = 0x40, /* Wait for full request or error. */ + #define MSG_WAITALL MSG_WAITALL +-MSG_DONTWAIT = 0x80 /* This message should be nonblocking. */ ++MSG_DONTWAIT = 0x80, /* This message should be nonblocking. */ + #define MSG_DONTWAIT MSG_DONTWAIT ++MSG_NOSIGNAL = 0x0400/* Do not generate SIGPIPE on EPIPE. */ ++#define MSG_NOSIGNAL MSG_NOSIGNAL + }; + + +Index: hurd/hurd/fd.h +=== +RCS file: /cvs/glibc/libc/hurd/hurd/fd.h,v +retrieving revision 1.36 +diff -u -p -r1.36 fd.h +--- hurd/hurd/fd.h 17 Mar 2007 17:04:09 - 1.36 hurd/hurd/fd.h 1 Jul 2008 21:37:11 - +@@ -27,6 +27,7 @@ + + #include + #include ++#include + + + /* Structure representing a file descriptor. */ +@@ -179,6 +180,18 @@ + errno = _hurd_fd_error (fd, err); + return -1; + } ++ ++/* Likewise, but do not raise SIGPIPE on EPIPE if flags contain ++ MSG_NOSIGNAL. */ ++ ++_HURD_FD_H_EXTERN_INLINE int ++__hurd_sockfail (int fd, int flags, error_t err) ++{ ++ if (!(flags & MSG_NOSIGNAL) || err != EPIPE) ++err = _hurd_fd_error (fd, err); ++ errno = err; ++ return -1; ++} + + /* Set up *FD to have PORT its server port, doing appropriate ctty magic. +Does no locking or unlocking. */ +Index: sysdeps/mach/hurd/send.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/send.c,v +retrieving revision 1.12 +diff -u -p -r1.12 send.c +--- sysdeps/mach/hurd/send.c 3 Aug 2002 06:53:36 - 1.12 sysdeps/mach/hurd/send.c 1 Jul 2008 21:37:11 - +@@ -38,7 +38,7 @@ __send (fd, buf, n, flags) + NULL, MACH_MSG_TYPE_COPY_SEND, 0, + NULL, 0, &wrote)); + +- return err ? __hurd_dfail (fd, err) : wrote; ++ return err ? __hurd_sockfail (fd, flags, err) : wrote; + } + libc_hidden_def (__send) + weak_alias (__send, send) +Index: sysdeps/mach/hurd/sendmsg.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/sendmsg.c,v +retrieving revision 1.4 +diff -u -p -r1.4 sendmsg.c +--- sysdeps/mach/hurd/sendmsg.c11 Feb 2004 02:01:03 - 1.4 sysdeps/mach/hurd/sendmsg.c1 Jul 2008 21:37:11 - +@@ -149,7 +149,7 @@ __libc_sendmsg (int fd, const struct msg + if (dealloc) + _
r2954 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-05-22 23:54:27 + (Thu, 22 May 2008) New Revision: 2954 Removed: glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/cvs-termios.diff glibc-package/trunk/debian/patches/series Log: the ONLCR fix got applied upstream Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-05-21 14:02:17 UTC (rev 2953) +++ glibc-package/trunk/debian/changelog2008-05-22 23:54:27 UTC (rev 2954) @@ -11,8 +11,7 @@ closes: #475474. [ Samuel Thibault ] - * patches/hurd-i386/submitted-termios-ONLCR.diff: new patch to fix -compilation of jove. + * patches/hurd-i386/cvs-termios.diff: update patch, fixes compilation of jove. -- Clint Adams <[EMAIL PROTECTED]> Sun, 18 May 2008 07:42:57 -0400 Modified: glibc-package/trunk/debian/patches/hurd-i386/cvs-termios.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-termios.diff 2008-05-21 14:02:17 UTC (rev 2953) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-termios.diff 2008-05-22 23:54:27 UTC (rev 2954) @@ -57,11 +57,16 @@ #ifdef __USE_BSD # ifdef MDMBUF -@@ -93,11 +137,43 @@ struct termios +@@ -91,13 +135,47 @@ struct termios + /* Output modes. */ + tcflag_t c_oflag; #define OPOST (1 << 0)/* Perform output processing. */ - #ifdef__USE_BSD +-#ifdef__USE_BSD ++#if defined __USE_BSD || defined __USE_XOPEN # define ONLCR(1 << 1)/* Map NL to CR-NL on output. */ -# define OXTABS (1 << 2)/* Expand tabs to spaces. */ ++#endif ++#ifdef__USE_BSD +# define OXTABS TAB3/* Expand tabs to spaces. */ # define ONOEOT (1 << 3)/* Discard EOT (^D) on output. */ #endif @@ -103,7 +108,7 @@ #endif /* Control modes. */ -@@ -117,10 +193,12 @@ struct termios +@@ -117,10 +195,12 @@ struct termios #define HUPCL (1 << 14) /* Hang up on last close. */ #define CLOCAL (1 << 15) /* Ignore modem status lines. */ #ifdef__USE_BSD @@ -120,7 +125,7 @@ #endif /* Local modes. */ -@@ -210,13 +288,17 @@ struct termios +@@ -210,13 +290,17 @@ struct termios #define B2400 2400/* 2400 baud. */ #define B4800 4800/* 4800 baud. */ #define B9600 9600/* 9600 baud. */ Deleted: glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff 2008-05-21 14:02:17 UTC (rev 2953) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff 2008-05-22 23:54:27 UTC (rev 2954) @@ -1,23 +0,0 @@ -2008-05-21 Samuel Thibault <[EMAIL PROTECTED]> - - * bits/termios.h (ONLCR): Define on __USE_XOPEN too. - -Index: bits/termios.h -=== -RCS file: /cvs/glibc/libc/bits/termios.h,v -retrieving revision 1.8 -diff -u -p -r1.8 termios.h bits/termios.h 5 May 2008 23:06:01 - 1.8 -+++ bits/termios.h 21 May 2008 10:35:51 - -@@ -135,8 +135,10 @@ struct termios - /* Output modes. */ - tcflag_t c_oflag; - #define OPOST (1 << 0)/* Perform output processing. */ --#ifdef__USE_BSD -+#if defined __USE_BSD || defined __USE_XOPEN - # define ONLCR(1 << 1)/* Map NL to CR-NL on output. */ -+#endif -+#ifdef__USE_BSD - # define OXTABS TAB3/* Expand tabs to spaces. */ - # define ONOEOT (1 << 3)/* Discard EOT (^D) on output. */ - #endif Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2008-05-21 14:02:17 UTC (rev 2953) +++ glibc-package/trunk/debian/patches/series 2008-05-22 23:54:27 UTC (rev 2954) @@ -100,7 +100,6 @@ hurd-i386/cvs-df.diff hurd-i386/cvs-blocked-exceptions.diff hurd-i386/cvs-termios.diff -hurd-i386/submitted-termios-ONLCR.diff -p0 i386/cvs-short-for-fnstsw.diff -p1 i386/local-biarch.diff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2951 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-05-21 12:44:35 + (Wed, 21 May 2008) New Revision: 2951 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * patches/hurd-i386/submitted-termios-ONLCR.diff: new patch to fix compilation of jove. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-05-18 12:05:17 UTC (rev 2950) +++ glibc-package/trunk/debian/changelog2008-05-21 12:44:35 UTC (rev 2951) @@ -10,6 +10,10 @@ * Add any/cvs-regex_anchor.diff to fix performance anomaly with ^$. closes: #475474. + [ Samuel Thibault ] + * patches/hurd-i386/submitted-termios-ONLCR.diff: new patch to fix +compilation of jove. + -- Clint Adams <[EMAIL PROTECTED]> Sun, 18 May 2008 07:42:57 -0400 glibc (2.7-11) unstable; urgency=low Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-termios-ONLCR.diff 2008-05-21 12:44:35 UTC (rev 2951) @@ -0,0 +1,23 @@ +2008-05-21 Samuel Thibault <[EMAIL PROTECTED]> + + * bits/termios.h (ONLCR): Define on __USE_XOPEN too. + +Index: bits/termios.h +=== +RCS file: /cvs/glibc/libc/bits/termios.h,v +retrieving revision 1.8 +diff -u -p -r1.8 termios.h +--- bits/termios.h 5 May 2008 23:06:01 - 1.8 bits/termios.h 21 May 2008 10:35:51 - +@@ -135,8 +135,10 @@ struct termios + /* Output modes. */ + tcflag_t c_oflag; + #define OPOST (1 << 0)/* Perform output processing. */ +-#ifdef__USE_BSD ++#if defined __USE_BSD || defined __USE_XOPEN + # define ONLCR(1 << 1)/* Map NL to CR-NL on output. */ ++#endif ++#ifdef__USE_BSD + # define OXTABS TAB3/* Expand tabs to spaces. */ + # define ONOEOT (1 << 3)/* Discard EOT (^D) on output. */ + #endif Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2008-05-18 12:05:17 UTC (rev 2950) +++ glibc-package/trunk/debian/patches/series 2008-05-21 12:44:35 UTC (rev 2951) @@ -100,6 +100,7 @@ hurd-i386/cvs-df.diff hurd-i386/cvs-blocked-exceptions.diff hurd-i386/cvs-termios.diff +hurd-i386/submitted-termios-ONLCR.diff -p0 i386/cvs-short-for-fnstsw.diff -p1 i386/local-biarch.diff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2919 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-05-06 08:37:36 + (Tue, 06 May 2008) New Revision: 2919 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-termios.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * patches/hurd-i386/cvs-termios.diff: new patch to revamp ioctls/termios bits. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-05-06 00:20:21 UTC (rev 2918) +++ glibc-package/trunk/debian/changelog2008-05-06 08:37:36 UTC (rev 2919) @@ -28,6 +28,10 @@ * Add any/cvs-strerror_r.diff to make strerror_r actually thread safe. Closes: #456531. + [ Samuel Thibault ] + * patches/hurd-i386/cvs-termios.diff: new patch to revamp ioctls/termios + bits. + -- Aurelien Jarno <[EMAIL PROTECTED]> Mon, 05 May 2008 22:24:48 +0200 glibc (2.7-10) unstable; urgency=low Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-termios.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-termios.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-termios.diff 2008-05-06 08:37:36 UTC (rev 2919) @@ -0,0 +1,230 @@ +Index: bits/termios.h +=== +RCS file: /cvs/glibc/libc/bits/termios.h,v +retrieving revision 1.7 +retrieving revision 1.8 +diff -u -p -r1.7 -r1.8 +--- glibc/bits/termios.h 26 Jul 2001 21:23:31 - 1.7 glibc/bits/termios.h 5 May 2008 23:06:01 - 1.8 +@@ -24,6 +24,50 @@ + /* These macros are also defined in some files (with +numerically identical values), but this serves to shut up cpp's +complaining. */ ++#if defined __USE_MISC || defined __USE_XOPEN ++ ++# ifdef NL0 ++# undef NL0 ++# endif ++# ifdef NL1 ++# undef NL1 ++# endif ++# ifdef TAB0 ++# undef TAB0 ++# endif ++# ifdef TAB1 ++# undef TAB1 ++# endif ++# ifdef TAB2 ++# undef TAB2 ++# endif ++# ifdef CR0 ++# undef CR0 ++# endif ++# ifdef CR1 ++# undef CR1 ++# endif ++# ifdef CR2 ++# undef CR2 ++# endif ++# ifdef CR3 ++# undef CR3 ++# endif ++# ifdef FF0 ++# undef FF0 ++# endif ++# ifdef FF1 ++# undef FF1 ++# endif ++# ifdef BS0 ++# undef BS0 ++# endif ++# ifdef BS1 ++# undef BS1 ++# endif ++ ++#endif /* __USE_MISC || __USE_XOPEN */ ++ + #ifdef __USE_BSD + + # ifdef MDMBUF +@@ -93,11 +137,43 @@ struct termios + #define OPOST (1 << 0)/* Perform output processing. */ + #ifdef__USE_BSD + # define ONLCR(1 << 1)/* Map NL to CR-NL on output. */ +-# define OXTABS (1 << 2)/* Expand tabs to spaces. */ ++# define OXTABS TAB3/* Expand tabs to spaces. */ + # define ONOEOT (1 << 3)/* Discard EOT (^D) on output. */ + #endif ++#if defined __USE_BSD || defined __USE_XOPEN ++# define OCRNL(1 << 4)/* Map CR to NL. */ ++# define ONOCR(1 << 5)/* Discard CR's when on column 0. */ ++# define ONLRET (1 << 6)/* Move to column 0 on NL. */ ++#endif ++#if defined __USE_MISC || defined __USE_XOPEN ++# define NLDLY(3 << 8)/* NL delay. */ ++# define NL0 (0 << 8)/* NL type 0. */ ++# define NL1 (1 << 8)/* NL type 1. */ ++# define TABDLY (3 << 10) /* TAB delay. */ ++# define TAB0 (0 << 10) /* TAB delay type 0. */ ++# define TAB1 (1 << 10) /* TAB delay type 1. */ ++# define TAB2 (2 << 10) /* TAB delay type 2. */ ++# define TAB3 (1 << 2)/* Expand tabs to spaces. */ ++# define CRDLY(3 << 12) /* CR delay. */ ++# define CR0 (0 << 12) /* CR delay type 0. */ ++# define CR1 (1 << 12) /* CR delay type 1. */ ++# define CR2 (2 << 12) /* CR delay type 2. */ ++# define CR3 (3 << 12) /* CR delay type 3. */ ++# define FFDLY(1 << 14) /* FF delay. */ ++# define FF0 (0 << 14) /* FF delay type 0. */ ++# define FF1 (1 << 14) /* FF delay type 1. */ ++# define BSDLY(1 << 15) /* BS delay. */ ++# define BS0 (0 << 15) /* BS delay type 0. */ ++# define BS1 (1 << 15) /* BS delay type 1. */ ++# define VTDLY(1 << 16) /* VT delay. */ ++# define VT0 (0 << 16) /* VT delay type 0. */ ++# define VT1 (1 << 16) /* VT delay type 1. */ ++#endif /* __USE_MISC || __USE_XOPEN */ + #ifdef __USE_GNU +-# define OLCUC(1 << 9)/* Translate lower case output to upper case */ ++# define OLCUC(1 << 17) /* Translate lower case output to upper case */ ++#endif ++#ifdef __USE_XOPEN ++# define OFILL(1 <&l
r2918 - glibc-package/trunk/debian/patches
Author: sthibaul-guest Date: 2008-05-06 00:20:21 + (Tue, 06 May 2008) New Revision: 2918 Modified: glibc-package/trunk/debian/patches/series Log: -any/submitted-ethertype.diff got renamed into +any/cvs-ethertype.diff Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2008-05-05 20:28:29 UTC (rev 2917) +++ glibc-package/trunk/debian/patches/series 2008-05-06 00:20:21 UTC (rev 2918) @@ -194,7 +194,7 @@ any/submitted-getcwd-sys_param_h.diff -p0 any/submitted-clock-settime.diff -p0 any/submitted-date-and-unknown-tz.diff -p0 -any/submitted-ethertype.diff -p1 +any/cvs-ethertype.diff -p1 any/submitted-ieee754_h.diff -p0 any/submitted-libgcc_s.so.diff -p0 any/submitted-longdouble.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2899 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2008-04-01 03:01:52 + (Tue, 01 Apr 2008) New Revision: 2899 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-pthread_stubs.diff Log: explain future plans about pthread stubs Modified: glibc-package/trunk/debian/patches/hurd-i386/local-pthread_stubs.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-pthread_stubs.diff 2008-03-31 12:55:23 UTC (rev 2898) +++ glibc-package/trunk/debian/patches/hurd-i386/local-pthread_stubs.diff 2008-04-01 03:01:52 UTC (rev 2899) @@ -1,3 +1,15 @@ +This provides so-called "pthread stubs", which permit thread-safe libraries to +not have to explicitely link with libpthread, and just rely on libc providing +e.g. void pthread_mutex_lock/unlock. However, because of weak ELF symbols +rules, this will only work as long as we set _dl_dynamic_weak to 1 (see +local-dl-dynamic-weak.diff), so the plan is + +- once glibc has integrated Hurd's libpthread and thus is able to provide the +pthread stubs itself, this patch can be dropped. +- once we see that all packages got recompiled with that new glibc (i.e. +apt-cache rdepends libpthread-stubs0 is empty), the local-dl-dynamic-weak.diff +patch can be dropped. + Index: Makerules === RCS file: /cvs/glibc/libc/Makerules,v -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2885 - in glibc-package/trunk/debian: . control.in patches patches/hurd-i386 sysdeps
Author: sthibaul-guest Date: 2008-03-21 12:57:55 + (Fri, 21 Mar 2008) New Revision: 2885 Added: glibc-package/trunk/debian/patches/hurd-i386/local-pthread_stubs.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/control.in/main glibc-package/trunk/debian/patches/series.hurd-i386 glibc-package/trunk/debian/sysdeps/depflags.pl Log: * patches/hurd-i386/local-pthread_stubs.diff: new patch to use libpthread stubs from libpthread-stubs. Add libpthread-stubs0-dev dependency on hurd-i386. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-03-21 09:43:18 UTC (rev 2884) +++ glibc-package/trunk/debian/changelog2008-03-21 12:57:55 UTC (rev 2885) @@ -54,6 +54,9 @@ apply. * patches/hurd-i386/submitted-mig-init.diff: new patch to fix uninitialized local variables. + * patches/hurd-i386/local-pthread_stubs.diff: new patch to use libpthread +stubs from libpthread-stubs. Add libpthread-stubs0-dev dependency on +hurd-i386. -- Aurelien Jarno <[EMAIL PROTECTED]> Thu, 20 Mar 2008 23:04:28 +0100 Modified: glibc-package/trunk/debian/control.in/main === --- glibc-package/trunk/debian/control.in/main 2008-03-21 09:43:18 UTC (rev 2884) +++ glibc-package/trunk/debian/control.in/main 2008-03-21 12:57:55 UTC (rev 2885) @@ -4,7 +4,7 @@ Build-Depends: gettext, make (>= 3.80-1), dpkg-dev (>= 1.13.5), bzip2, lzma, file, quilt, autoconf, sed (>= 4.0.5-4), gawk, debhelper (>= 5.0), linux-libc-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], - mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], + mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], binutils (>= 2.17cvs20070426-1), g++-4.2 (>= 4.2.1) [alpha arm hppa s390 hurd-i386], g++-4.2-multilib [s390], Added: glibc-package/trunk/debian/patches/hurd-i386/local-pthread_stubs.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-pthread_stubs.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/local-pthread_stubs.diff 2008-03-21 12:57:55 UTC (rev 2885) @@ -0,0 +1,29 @@ +Index: Makerules +=== +RCS file: /cvs/glibc/libc/Makerules,v +retrieving revision 1.450 +diff -u -p -r1.450 Makerules +--- glibc/Makerules26 Aug 2007 02:18:03 - 1.450 glibc/Makerules21 Jan 2008 09:41:42 - +@@ -993,7 +993,8 @@ $(inst_libdir)/libc.so: $(common-objpfx) +cat $<; \ +echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \ + '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\ +-' AS_NEEDED (' $(slibdir)/$(rtld-installed-name) ') )' \ ++' AS_NEEDED (' $(slibdir)/$(rtld-installed-name) ') )' ;\ ++ echo 'INPUT ( AS_NEEDED ( -lpthread-stubs ) )' \ + ) > [EMAIL PROTECTED] + mv -f [EMAIL PROTECTED] $@ + +Index: sysdeps/mach/hurd/libc-ldscript +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/libc-ldscript,v +retrieving revision 1.2 +diff -u -p -r1.2 libc-ldscript +--- glibc/sysdeps/mach/hurd/libc-ldscript 4 Dec 1996 01:41:11 - 1.2 glibc/sysdeps/mach/hurd/libc-ldscript 20 Jan 2008 22:19:41 - +@@ -4,3 +4,4 @@ +*/ + + GROUP ( libcrt.a libmachuser.a libhurduser.a ) ++INPUT ( -lpthread-stubs ) Modified: glibc-package/trunk/debian/patches/series.hurd-i386 === --- glibc-package/trunk/debian/patches/series.hurd-i386 2008-03-21 09:43:18 UTC (rev 2884) +++ glibc-package/trunk/debian/patches/series.hurd-i386 2008-03-21 12:57:55 UTC (rev 2885) @@ -1,3 +1,4 @@ hurd-i386/local-gscope.diff hurd-i386/local-atomic-no-multiple_threads.diff hurd-i386/local-no-strerror_l.diff +hurd-i386/local-pthread_stubs.diff Modified: glibc-package/trunk/debian/sysdeps/depflags.pl === --- glibc-package/trunk/debian/sysdeps/depflags.pl 2008-03-21 09:43:18 UTC (rev 2884) +++ glibc-package/trunk/debian/sysdeps/depflags.pl 2008-03-21 12:57:55 UTC (rev 2885) @@ -19,7 +19,7 @@ # OS specific stuff if ($DEB_HOST_ARCH_OS eq "hurd") { -push @{$libc_dev_c{'Depends'}}, ('gnumach-dev', 'hurd-dev'); +push @{$libc_dev_c{'Depends'}}, ('gnumach-dev', 'hurd-dev', 'libpthread-stubs0
r2875 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-03-17 00:58:17 + (Mon, 17 Mar 2008) New Revision: 2875 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-mig-init.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * patches/hurd-i386/submitted-mig-init.diff: new patch to fix uninitialized local variables. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-03-16 18:27:38 UTC (rev 2874) +++ glibc-package/trunk/debian/changelog2008-03-17 00:58:17 UTC (rev 2875) @@ -37,8 +37,10 @@ core when a blocked exception arises. * patches/hurd-i386/cvs-df.diff: new patch to clear DF for signal handlers (Closes: #470021). - * patches/hurd-i386/local-gcc-4.1-init-first.diff: Update and actually + * patches/hurd-i386/local-gcc-4.1-init-first.diff: update and actually apply. + * patches/hurd-i386/submitted-mig-init.diff: new patch to fix uninitialized +local variables. -- Aurelien Jarno <[EMAIL PROTECTED]> Sun, 16 Mar 2008 16:52:46 +0100 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-mig-init.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-mig-init.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-mig-init.diff 2008-03-17 00:58:17 UTC (rev 2875) @@ -0,0 +1,100 @@ +2008-03-04 Samuel Thibault <[EMAIL PROTECTED]> + + Mig supposes these to be initialized. + * sysdeps/mach/hurd/recv.c (__recv): Initialize nports. + * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. + * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. + * hurd/fd-read.c (_hurd_fd_read): Initialize nread. + * hurd/get-host.c (_hurd_get_host_config): Likewise. + * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise. + +Index: glibc/sysdeps/mach/hurd/recv.c +=== +RCS file: /cvs/glibc/libc/glibc/sysdeps/mach/hurd/recv.c,v +retrieving revision 1.9 +diff -u -p -r1.9 recv.c +--- glibc/sysdeps/mach/hurd/recv.c 22 Feb 2005 22:51:00 - 1.9 glibc/sysdeps/mach/hurd/recv.c 4 Mar 2008 01:44:12 - +@@ -38,7 +38,7 @@ + char *bufp = buf; + mach_msg_type_number_t nread = n; + mach_port_t *ports; +- mach_msg_type_number_t nports; ++ mach_msg_type_number_t nports = 0; + char *cdata = NULL; + mach_msg_type_number_t clen = 0; + +Index: glibc/sysdeps/mach/hurd/recvfrom.c +=== +RCS file: /cvs/glibc/libc/glibc/sysdeps/mach/hurd/recvfrom.c,v +retrieving revision 1.12 +--- glibc/sysdeps/mach/hurd/recvfrom.c 15 May 2002 00:08:24 - 1.12 glibc/sysdeps/mach/hurd/recvfrom.c 4 Mar 2008 01:44:12 - +@@ -41,7 +41,7 @@ + char *bufp = buf; + mach_msg_type_number_t nread = n; + mach_port_t *ports; +- mach_msg_type_number_t nports; ++ mach_msg_type_number_t nports = 0; + char *cdata = NULL; + mach_msg_type_number_t clen = 0; + struct sockaddr *addr = addrarg.__sockaddr__; +Index: glibc/sysdeps/mach/hurd/recvmsg.c +=== +RCS file: /cvs/glibc/libc/glibc/sysdeps/mach/hurd/recvmsg.c,v +retrieving revision 1.3 +--- glibc/sysdeps/mach/hurd/recvmsg.c 26 Aug 2002 22:39:46 - 1.3 glibc/sysdeps/mach/hurd/recvmsg.c 4 Mar 2008 01:44:12 - +@@ -34,7 +34,7 @@ + char *data = NULL; + mach_msg_type_number_t len = 0; + mach_port_t *ports; +- mach_msg_type_number_t nports; ++ mach_msg_type_number_t nports = 0; + char *cdata = NULL; + mach_msg_type_number_t clen = 0; + size_t amount; +Index: glibc/hurd/fd-read.c +=== +RCS file: /cvs/glibc/libc/hurd/fd-read.c,v +retrieving revision 1.15 +diff -u -p -r1.15 fd-read.c +--- glibc/hurd/fd-read.c 11 Jun 2002 23:03:16 - 1.15 glibc/hurd/fd-read.c 4 Mar 2008 02:43:50 - +@@ -35,6 +35,7 @@ _hurd_fd_read (struct hurd_fd *fd, void + } + + data = buf; ++ nread = *nbytes; + if (err = HURD_FD_PORT_USE (fd, _hurd_ctty_input (port, ctty, readfd))) + return err; + +Index: glibc/hurd/get-host.c +=== +RCS file: /cvs/glibc/libc/hurd/get-host.c,v +retrieving revision 1.10 +diff -u -p -r1.10 get-host.c +--- glibc/hurd/get-host.c 6 Jul 2001 04:54:47 - 1.10 glibc/hurd/get-host.c 4 Mar 2008 02:44:46 - +@@ -51,6 +51,7 @@ _hurd_get_host_config (const char *item, + } + + data = buf; ++ nread = buflen; + err = __io_read (config, &data, &nread, -1, buflen); + if (! err) + /* Check if there is more in the file we didn't read. */ +Index: glibc/sysd
r2863 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-03-10 00:45:44 + (Mon, 10 Mar 2008) New Revision: 2863 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff glibc-package/trunk/debian/patches/series Log: * patches/hurd-i386/local-gcc-4.1-init-first.diff: Update and actually apply. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-03-09 14:37:00 UTC (rev 2862) +++ glibc-package/trunk/debian/changelog2008-03-10 00:45:44 UTC (rev 2863) @@ -30,6 +30,8 @@ core when a blocked exception arises. * patches/hurd-i386/cvs-df.diff: new patch to clear DF for signal handlers (Closes: #470021). + * patches/hurd-i386/local-gcc-4.1-init-first.diff: Update and actually +apply. -- Aurelien Jarno <[EMAIL PROTECTED]> Sun, 09 Mar 2008 13:48:43 +0100 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff 2008-03-09 14:37:00 UTC (rev 2862) +++ glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff 2008-03-10 00:45:44 UTC (rev 2863) @@ -6,9 +6,9 @@ CALLER and pass that one on. (init): Avoid an ugly typecast. sysdeps/mach/hurd/i386/init-first.c23 Oct 2005 01:00:09 - 1.43.4.1 -+++ sysdeps/mach/hurd/i386/init-first.c20 Nov 2006 11:05:47 - -@@ -320,11 +320,11 @@ first_init (void) +--- glibc-2.7/sysdeps/mach/hurd/i386/init-first.c.orig 2008-03-09 21:19:54.126246000 + glibc-2.7/sysdeps/mach/hurd/i386/init-first.c 2008-03-09 21:22:19.348744000 + +@@ -334,11 +334,11 @@ stack set up just as the user will see it, so it can switch stacks. */ void @@ -22,15 +22,16 @@ } #endif -@@ -351,23 +351,21 @@ strong_alias (posixland_init, __libc_ini +@@ -365,23 +365,23 @@ This poorly-named function is called by static-start.S, which should not exist at all. */ void -_hurd_stack_setup (void) -+_hurd_stack_setup (volatile int argc, ...) ++_hurd_stack_setup (void *arg, ...) { - intptr_t caller = (intptr_t) __builtin_return_address (0); -- ++ void *caller = (&arg)[-1]; + void doinit (intptr_t *data) { /* This function gets called with the argument data at TOS. */ @@ -46,47 +47,15 @@ caller had called `doinit1' with the argument data already on the stack. */ - *--data = caller; -+ *--data = (&argc)[-1]; - asm volatile ("movl %0, %%esp\n" /* Switch to new outermost stack. */ - "movl $0, %%ebp\n" /* Clear outermost frame pointer. */ - "jmp *%1" : : "r" (data), "r" (&doinit1) : "sp"); -@@ -376,7 +374,7 @@ _hurd_stack_setup (void) - - first_init (); - -- _hurd_startup ((void **) __builtin_frame_address (0) + 2, &doinit); -+ _hurd_startup ((void **) &argc, &doinit); - } - #endif - sysdeps/mach/hurd/i386/init-first.c2007-07-22 16:50:03.0 +0200 -+++ sysdeps/mach/hurd/i386/init-first.c2007-07-22 18:33:45.54000 +0200 -@@ -350,8 +351,10 @@ -This poorly-named function is called by static-start.S, -which should not exist at all. */ - void --_hurd_stack_setup (volatile int argc, ...) -+_hurd_stack_setup (void *arg, ...) - { -+ void *caller = (&arg)[-1]; -+ - void doinit (intptr_t *data) - { - /* This function gets called with the argument data at TOS. */ -@@ -364,7 +367,7 @@ - jump to `doinit1' (above), so it is as if __libc_init_first's - caller had called `doinit1' with the argument data already on the - stack. */ -- *--data = (&argc)[-1]; + *--data = (intptr_t) caller; asm volatile ("movl %0, %%esp\n" /* Switch to new outermost stack. */ "movl $0, %%ebp\n" /* Clear outermost frame pointer. */ "jmp *%1" : : "r" (data), "r" (&doinit1) : "sp"); -@@ -373,7 +376,7 @@ +@@ -391,7 +391,7 @@ first_init (); -- _hurd_startup ((void **) &argc, &doinit); +- _hurd_startup ((void **) __builtin_frame_address (0) + 2, &doinit); + _hurd_startup (&arg, &doinit); } #endif Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2008-03-09 14:37:00 UTC (rev 2862) +++ glibc-package/trunk/debian/patches/series 2008-03-10 00:45:44 UTC (rev 2863) @@ -77,6 +77,7 @@ hurd-i386/local-msg-nosignal.diff -p0 hurd-i386/local-tls.diff hurd-i386/local-tls-support.diff -p0 +hurd-i38
r2858 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-03-08 23:13:04 + (Sat, 08 Mar 2008) New Revision: 2858 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-blocked-exceptions.diff glibc-package/trunk/debian/patches/hurd-i386/cvs-df.diff Removed: glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: Roland committed the patch upstream Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-03-08 17:13:50 UTC (rev 2857) +++ glibc-package/trunk/debian/changelog2008-03-08 23:13:04 UTC (rev 2858) @@ -23,9 +23,9 @@ * sysdeps/mips.mk, sysdeps/mipsel.mk: define TIMEOUTFACTOR. [ Samuel Thibault ] - * patches/hurd-i386/submitted-blocked-exceptions.diff: new patch to dump + * patches/hurd-i386/cvs-blocked-exceptions.diff: new patch to dump core when a blocked exception arises. - * patches/hurd-i386/submitted-df.diff: new patch to clear DF for signal + * patches/hurd-i386/cvs-df.diff: new patch to clear DF for signal handlers (Closes: #470021). -- Aurelien Jarno <[EMAIL PROTECTED]> Thu, 06 Mar 2008 22:05:10 +0100 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-blocked-exceptions.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-blocked-exceptions.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-blocked-exceptions.diff 2008-03-08 23:13:04 UTC (rev 2858) @@ -0,0 +1,35 @@ +Index: glibc/hurd/hurdsig.c +=== +RCS file: /cvs/glibc/libc/hurd/hurdsig.c,v +retrieving revision 1.159 +retrieving revision 1.160 +diff -u -p -r1.159 -r1.160 +--- glibc/hurd/hurdsig.c 21 Dec 2005 22:16:20 - 1.159 glibc/hurd/hurdsig.c 8 Mar 2008 21:47:23 - 1.160 +@@ -1,4 +1,4 @@ +-/* Copyright (C) 1991,92,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2005 ++/* Copyright (C) 1991,92,93,94,95,96,97,98,99,2000,2001,2002,2005,2008 + Free Software Foundation, Inc. +This file is part of the GNU C Library. + +@@ -743,6 +743,11 @@ _hurd_internal_post_signal (struct hurd_ + break; + + case ignore: ++ if (detail->exc) ++ /* Blocking or ignoring a machine exception is fatal. ++ Otherwise we could just spin on the faulting instruction. */ ++ goto fatal; ++ + /* Nobody cares about this signal. If there was a call to resume +above in SIGCONT processing and we've left a thread suspended, +now's the time to set it going. */ +@@ -759,6 +764,8 @@ _hurd_internal_post_signal (struct hurd_ +Nothing to do but die; BSD gets SIGILL in this case. */ + detail->code = signo; /* XXX ? */ + signo = SIGILL; ++ ++fatal: + act = core; + /* FALLTHROUGH */ + Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-df.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-df.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-df.diff2008-03-08 23:13:04 UTC (rev 2858) @@ -0,0 +1,33 @@ +Index: glibc/sysdeps/mach/hurd/i386/trampoline.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/i386/trampoline.c,v +retrieving revision 1.30 +retrieving revision 1.31 +diff -u -p -r1.30 -r1.31 +--- glibc/sysdeps/mach/hurd/i386/trampoline.c 21 Dec 2005 22:16:20 - 1.30 glibc/sysdeps/mach/hurd/i386/trampoline.c 8 Mar 2008 21:39:00 - 1.31 +@@ -1,5 +1,5 @@ + /* Set thread_state for sighandler, and sigcontext to recover. i386 version. +- Copyright (C) 1994,1995,1996,1997,1998,1999,2005 ++ Copyright (C) 1994,1995,1996,1997,1998,1999,2005,2008 + Free Software Foundation, Inc. +This file is part of the GNU C Library. + +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + #include "hurdfault.h" +@@ -218,6 +219,9 @@ _hurd_setup_sighandler (struct hurd_sigs + /* We pass the handler function to the trampoline code in %edx. */ + state->basic.edx = (int) handler; + ++ /* The x86 ABI says the DF bit is clear on entry to any function. */ ++ state->basic.efl &= ~EFL_DF; ++ + return scp; + } + Deleted: glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff 2008-03-08 17:13:50 UTC (rev 2857) +++ glibc-package/trunk/debian/patches/hurd-i386/submi
r2857 - glibc-package/trunk/debian
Author: sthibaul-guest Date: 2008-03-08 17:13:50 + (Sat, 08 Mar 2008) New Revision: 2857 Modified: glibc-package/trunk/debian/changelog Log: patches/hurd-i386/submitted-df.diff closes #470021 Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-03-08 14:51:53 UTC (rev 2856) +++ glibc-package/trunk/debian/changelog2008-03-08 17:13:50 UTC (rev 2857) @@ -26,7 +26,7 @@ * patches/hurd-i386/submitted-blocked-exceptions.diff: new patch to dump core when a blocked exception arises. * patches/hurd-i386/submitted-df.diff: new patch to clear DF for signal -handlers (needed for gcc-4.3). +handlers (Closes: #470021). -- Aurelien Jarno <[EMAIL PROTECTED]> Thu, 06 Mar 2008 22:05:10 +0100 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2856 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-03-08 14:51:53 + (Sat, 08 Mar 2008) New Revision: 2856 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * patches/hurd-i386/submitted-blocked-exceptions.diff: new patch to dump core when a blocked exception arises. * patches/hurd-i386/submitted-df.diff: new patch to clear DF for signal handlers (needed for gcc-4.3). Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-03-06 21:05:55 UTC (rev 2855) +++ glibc-package/trunk/debian/changelog2008-03-08 14:51:53 UTC (rev 2856) @@ -22,6 +22,12 @@ Teredo tunnels and scopev4 defaults. * sysdeps/mips.mk, sysdeps/mipsel.mk: define TIMEOUTFACTOR. + [ Samuel Thibault ] + * patches/hurd-i386/submitted-blocked-exceptions.diff: new patch to dump +core when a blocked exception arises. + * patches/hurd-i386/submitted-df.diff: new patch to clear DF for signal +handlers (needed for gcc-4.3). + -- Aurelien Jarno <[EMAIL PROTECTED]> Thu, 06 Mar 2008 22:05:10 +0100 glibc (2.7-9) unstable; urgency=low Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff 2008-03-08 14:51:53 UTC (rev 2856) @@ -0,0 +1,14 @@ +--- glibc/hurd/hurdsig.c.orig 2008-03-01 17:45:09.0 + glibc/hurd/hurdsig.c 2008-03-01 17:44:07.0 + +@@ -715,6 +715,11 @@ + act = term; + } + ++ /* We should not let a kernel exception be blocked. */ ++ /* Not required by POSIX ("undefined behavior"), but useful. */ ++ if (detail->exc && __sigismember (&ss->blocked, signo)) ++act = core; ++ else + /* Handle receipt of a blocked signal, or any signal while stopped. */ + if (act != ignore &&/* Signals ignored now are forgotten now. */ + __sigismember (&ss->blocked, signo) || Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff 2008-03-08 14:51:53 UTC (rev 2856) @@ -0,0 +1,22 @@ +2008-03-08 Samuel Thibault <[EMAIL PROTECTED]> + + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Clear direction flag. + +Index: glibc/sysdeps/mach/hurd/i386/trampoline.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/i386/trampoline.c,v +retrieving revision 1.30 +diff -u -p -r1.30 trampoline.c +--- glibc/sysdeps/mach/hurd/i386/trampoline.c 21 Dec 2005 22:16:20 - 1.30 glibc/sysdeps/mach/hurd/i386/trampoline.c 8 Mar 2008 00:07:38 - +@@ -218,6 +218,9 @@ _hurd_setup_sighandler (struct hurd_sigs + /* We pass the handler function to the trampoline code in %edx. */ + state->basic.edx = (int) handler; + ++ /* x86 ABI requires direction flag to be cleared */ ++ state->basic.efl &= ~0x400; ++ + return scp; + } + Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2008-03-06 21:05:55 UTC (rev 2855) +++ glibc-package/trunk/debian/patches/series 2008-03-08 14:51:53 UTC (rev 2856) @@ -91,6 +91,8 @@ hurd-i386/cvs-O_CLOEXEC_fix.diff hurd-i386/submitted-extern_inline.diff -p0 hurd-i386/cvs-epfnosupport.diff -p0 +hurd-i386/submitted-df.diff +hurd-i386/submitted-blocked-exceptions.diff i386/local-biarch.diff i386/local-clone.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2789 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-01-21 01:52:58 + (Mon, 21 Jan 2008) New Revision: 2789 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-epfnosupport.diff Removed: glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: Wow, it got applied almost immediately for once... Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-01-20 22:53:27 UTC (rev 2788) +++ glibc-package/trunk/debian/changelog2008-01-21 01:52:58 UTC (rev 2789) @@ -5,7 +5,7 @@ FTBFS on sh4. [ Samuel Thibault ] - * patches/hurd-i386/submitted-epfnosupport.diff new patch to fix socket() + * patches/hurd-i386/cvs-epfnosupport.diff: new patch to fix socket() error for IPV6. -- Aurelien Jarno <[EMAIL PROTECTED]> Sat, 19 Jan 2008 12:01:23 +0100 @@ -46,7 +46,7 @@ sunrpc memory leak. closes: #460226. [ Samuel Thibault ] - * patches/hurd-i386/submitted-extern_inline.diff new patch to fix extern + * patches/hurd-i386/submitted-extern_inline.diff: new patch to fix extern inline declarations for c++. -- Aurelien Jarno <[EMAIL PROTECTED]> Sat, 12 Jan 2008 15:33:10 +0100 Copied: glibc-package/trunk/debian/patches/hurd-i386/cvs-epfnosupport.diff (from rev 2788, glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff) === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-epfnosupport.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-epfnosupport.diff 2008-01-21 01:52:58 UTC (rev 2789) @@ -0,0 +1,38 @@ +2008-01-20 Samuel Thibault <[EMAIL PROTECTED]> + + * hurd/hurdsock.c (_hurd_socket_server): Return the standard + error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. + * sunrpc/bindrsvprt.c (bindresvport): Likewise. + +Index: ./hurd/hurdsock.c +=== +RCS file: /cvs/glibc/libc/hurd/hurdsock.c,v +retrieving revision 1.28 +diff -u -p -r1.28 hurdsock.c +--- ./hurd/hurdsock.c 6 Jul 2001 04:54:47 - 1.28 ./hurd/hurdsock.c 20 Jan 2008 16:09:38 - +@@ -92,7 +92,7 @@ _hurd_socket_server (int domain, int dea + + if (server == MACH_PORT_NULL && errno == ENOENT) + /* If the server node is absent, we don't support that protocol. */ +-errno = EPFNOSUPPORT; ++errno = EAFNOSUPPORT; + + __mutex_unlock (&lock); + HURD_CRITICAL_END; +Index: ./sunrpc/bindrsvprt.c +=== +RCS file: /cvs/glibc/libc/sunrpc/bindrsvprt.c,v +retrieving revision 1.12 +diff -u -p -r1.12 bindrsvprt.c +--- ./sunrpc/bindrsvprt.c 22 Nov 2005 04:39:05 - 1.12 ./sunrpc/bindrsvprt.c 20 Jan 2008 16:09:38 - +@@ -61,7 +61,7 @@ bindresvport (int sd, struct sockaddr_in + } + else if (sin->sin_family != AF_INET) + { +- __set_errno (EPFNOSUPPORT); ++ __set_errno (EAFNOSUPPORT); + return -1; + } + Deleted: glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff 2008-01-20 22:53:27 UTC (rev 2788) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff 2008-01-21 01:52:58 UTC (rev 2789) @@ -1,38 +0,0 @@ -2008-01-20 Samuel Thibault <[EMAIL PROTECTED]> - - * hurd/hurdsock.c (_hurd_socket_server): Return the standard - error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. - * sunrpc/bindrsvprt.c (bindresvport): Likewise. - -Index: ./hurd/hurdsock.c -=== -RCS file: /cvs/glibc/libc/hurd/hurdsock.c,v -retrieving revision 1.28 -diff -u -p -r1.28 hurdsock.c ./hurd/hurdsock.c 6 Jul 2001 04:54:47 - 1.28 -+++ ./hurd/hurdsock.c 20 Jan 2008 16:09:38 - -@@ -92,7 +92,7 @@ _hurd_socket_server (int domain, int dea - - if (server == MACH_PORT_NULL && errno == ENOENT) - /* If the server node is absent, we don't support that protocol. */ --errno = EPFNOSUPPORT; -+errno = EAFNOSUPPORT; - - __mutex_unlock (&lock); - HURD_CRITICAL_END; -Index: ./sunrpc/bindrsvprt.c -=== -RCS file: /cvs/glibc/libc/sunrpc/bindrsvprt.c,v -retrieving revision 1.12 -diff -u -p -r1.12 bindrsvprt.c ./sunrpc/bindrsvprt.c 22 Nov 2005 04:39:05 - 1.12 -+++ ./sunrpc/bindrsvprt.c 20 Jan 2008 16:09:38 - -@@ -61,7 +61,7 @@ bindresvport (int sd, struct sockaddr_in - } - else if (sin->sin_family != AF_INET) - { --
r2787 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-01-20 21:19:36 + (Sun, 20 Jan 2008) New Revision: 2787 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: glibc (2.7-7) unstable; urgency=low [ Samuel Thibault ] * patches/hurd-i386/submitted-epfnosupport.diff new patch to fix socket() error for IPV6. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-01-19 12:24:08 UTC (rev 2786) +++ glibc-package/trunk/debian/changelog2008-01-20 21:19:36 UTC (rev 2787) @@ -4,6 +4,10 @@ * patches/sh4/cvs-nptl-private-futexes.diff: new patch from CVS to fix FTBFS on sh4. + [ Samuel Thibault ] + * patches/hurd-i386/submitted-epfnosupport.diff new patch to fix socket() +error for IPV6. + -- Aurelien Jarno <[EMAIL PROTECTED]> Sat, 19 Jan 2008 12:01:23 +0100 glibc (2.7-6) unstable; urgency=low Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-epfnosupport.diff 2008-01-20 21:19:36 UTC (rev 2787) @@ -0,0 +1,38 @@ +2008-01-20 Samuel Thibault <[EMAIL PROTECTED]> + + * hurd/hurdsock.c (_hurd_socket_server): Return the standard + error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. + * sunrpc/bindrsvprt.c (bindresvport): Likewise. + +Index: ./hurd/hurdsock.c +=== +RCS file: /cvs/glibc/libc/hurd/hurdsock.c,v +retrieving revision 1.28 +diff -u -p -r1.28 hurdsock.c +--- ./hurd/hurdsock.c 6 Jul 2001 04:54:47 - 1.28 ./hurd/hurdsock.c 20 Jan 2008 16:09:38 - +@@ -92,7 +92,7 @@ _hurd_socket_server (int domain, int dea + + if (server == MACH_PORT_NULL && errno == ENOENT) + /* If the server node is absent, we don't support that protocol. */ +-errno = EPFNOSUPPORT; ++errno = EAFNOSUPPORT; + + __mutex_unlock (&lock); + HURD_CRITICAL_END; +Index: ./sunrpc/bindrsvprt.c +=== +RCS file: /cvs/glibc/libc/sunrpc/bindrsvprt.c,v +retrieving revision 1.12 +diff -u -p -r1.12 bindrsvprt.c +--- ./sunrpc/bindrsvprt.c 22 Nov 2005 04:39:05 - 1.12 ./sunrpc/bindrsvprt.c 20 Jan 2008 16:09:38 - +@@ -61,7 +61,7 @@ bindresvport (int sd, struct sockaddr_in + } + else if (sin->sin_family != AF_INET) + { +- __set_errno (EPFNOSUPPORT); ++ __set_errno (EAFNOSUPPORT); + return -1; + } + Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2008-01-19 12:24:08 UTC (rev 2786) +++ glibc-package/trunk/debian/patches/series 2008-01-20 21:19:36 UTC (rev 2787) @@ -89,6 +89,7 @@ hurd-i386/submitted-IPV6_PKTINFO.diff hurd-i386/cvs-O_CLOEXEC_fix.diff hurd-i386/submitted-extern_inline.diff -p0 +hurd-i386/submitted-epfnosupport.diff -p0 i386/local-biarch.diff i386/local-clone.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2773 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2008-01-08 02:09:38 + (Tue, 08 Jan 2008) New Revision: 2773 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-extern_inline.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * patches/hurd-i386/submitted-extern_inline.diff new patch to fix extern inline declarations for c++. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2008-01-07 10:44:17 UTC (rev 2772) +++ glibc-package/trunk/debian/changelog2008-01-08 02:09:38 UTC (rev 2773) @@ -21,6 +21,10 @@ [ Clint Adams ] * debhelper.in/nscd.init: use lsb output functions. Closes: #457661. + [ Samuel Thibault ] + * patches/hurd-i386/submitted-extern_inline.diff new patch to fix extern +inline declarations for c++. + -- Aurelien Jarno <[EMAIL PROTECTED]> Mon, 07 Jan 2008 11:43:47 +0100 glibc (2.7-5) unstable; urgency=low Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-extern_inline.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-extern_inline.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-extern_inline.diff 2008-01-08 02:09:38 UTC (rev 2773) @@ -0,0 +1,750 @@ +Index: hurd/hurd.h +=== +RCS file: /cvs/glibc/libc/hurd/hurd.h,v +retrieving revision 1.81 +diff -u -p -r1.81 hurd.h +--- hurd/hurd.h17 Mar 2007 17:04:09 - 1.81 hurd/hurd.h7 Jan 2008 22:29:53 - +@@ -48,6 +48,9 @@ + #define _HURD_H_EXTERN_INLINE __extern_inline + #endif + ++int __hurd_fail (error_t err); ++ ++#ifdef __USE_EXTERN_INLINES + _HURD_H_EXTERN_INLINE int + __hurd_fail (error_t err) + { +@@ -77,6 +80,7 @@ + errno = err; + return -1; + } ++#endif + + /* Basic ports and info, initialized by startup. */ + +Index: hurd/hurd/fd.h +=== +RCS file: /cvs/glibc/libc/hurd/hurd/fd.h,v +retrieving revision 1.36 +--- hurd/hurd/fd.h 17 Mar 2007 17:04:09 - 1.36 hurd/hurd/fd.h 7 Jan 2008 22:29:56 - +@@ -59,6 +59,9 @@ +NULL. The cell is unlocked; when ready to use it, lock it and check for +it being unused. */ + ++struct hurd_fd *_hurd_fd_get (int fd); ++ ++#ifdef __USE_EXTERN_INLINES + _HURD_FD_H_EXTERN_INLINE struct hurd_fd * + _hurd_fd_get (int fd) + { +@@ -89,6 +92,7 @@ + + return descriptor; + } ++#endif + + + /* Evaluate EXPR with the variable `descriptor' bound to a pointer to the +@@ -136,6 +140,9 @@ + /* Check if ERR should generate a signal. +Returns the signal to take, or zero if none. */ + ++int _hurd_fd_error_signal (error_t err); ++ ++#ifdef __USE_EXTERN_INLINES + _HURD_FD_H_EXTERN_INLINE int + _hurd_fd_error_signal (error_t err) + { +@@ -152,11 +159,15 @@ + return 0; + } + } ++#endif + + /* Handle an error from an RPC on a file descriptor's port. You should +always use this function to handle errors from RPCs made on file +descriptor ports. Some errors are translated into signals. */ + ++error_t _hurd_fd_error (int fd, error_t err); ++ ++#ifdef __USE_EXTERN_INLINES + _HURD_FD_H_EXTERN_INLINE error_t + _hurd_fd_error (int fd, error_t err) + { +@@ -169,16 +180,21 @@ + } + return err; + } ++#endif + + /* Handle error code ERR from an RPC on file descriptor FD's port. +Set `errno' to the appropriate error code, and always return -1. */ + ++int __hurd_dfail (int fd, error_t err); ++ ++#ifdef __USE_EXTERN_INLINES + _HURD_FD_H_EXTERN_INLINE int + __hurd_dfail (int fd, error_t err) + { + errno = _hurd_fd_error (fd, err); + return -1; + } ++#endif + + /* Set up *FD to have PORT its server port, doing appropriate ctty magic. +Does no locking or unlocking. */ +Index: hurd/hurd/port.h +=== +RCS file: /cvs/glibc/libc/hurd/hurd/port.h,v +retrieving revision 1.13 +--- hurd/hurd/port.h 17 Mar 2007 17:04:09 - 1.13 hurd/hurd/port.h 7 Jan 2008 22:29:56 - +@@ -62,6 +62,9 @@ + + /* Initialize *PORT to INIT. */ + ++void _hurd_port_init (struct hurd_port *port, mach_port_t init); ++ ++#ifdef __USE_EXTERN_INLINES + _HURD_PORT_H_EXTERN_INLINE void + _hurd_port_init (struct hurd_port *port, mach_port_t init) + { +@@ -69,6 +72,7 @@ + port->users = NULL; + port->port = init; + } ++#endif + + + /* Cleanup function for non-local exits. */ +@@ -77,6 +81,11 @@ + /* Get a reference to *PORT, which is locked. +Pass return value and LINK to _hurd_port_free when done. */ + ++mach_port_t ++_hurd_port_locked_get (struct hurd_port *port, ++ struct hurd_userlink *link); ++ ++#ifdef __USE_EXTERN_INLINES + _HURD_
r2751 - in glibc-package/trunk/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2007-12-16 02:57:47 + (Sun, 16 Dec 2007) New Revision: 2751 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff Log: * patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff: update to also handle unsigned char/int/short/long and ssize_t. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-12-14 11:38:18 UTC (rev 2750) +++ glibc-package/trunk/debian/changelog2007-12-16 02:57:47 UTC (rev 2751) @@ -19,6 +19,10 @@ * kfreebsd/local-sysdeps.diff: update to revision 2082 (from glibc-bsd). * any/cvs-fchmodat.diff: properly declare as stub - needed by GNU/kFreeBSD. + [ Samuel Thibault] + * patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff: update to also +handle unsigned char/int/short/long and ssize_t. + -- Aurelien Jarno <[EMAIL PROTECTED]> Tue, 11 Dec 2007 23:16:30 +0100 glibc (2.7-4) unstable; urgency=low Modified: glibc-package/trunk/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff 2007-12-14 11:38:18 UTC (rev 2750) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff 2007-12-16 02:57:47 UTC (rev 2751) @@ -1,11 +1,37 @@ sysdeps/mach/hurd/bits/ioctls.h.orig -+++ sysdeps/mach/hurd/bits/ioctls.h -@@ -112,6 +112,8 @@ - #define _IOT__IOTBASE_int _IOT_SIMPLE (int) +Index: sysdeps/mach/hurd/bits/ioctls.h +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/bits/ioctls.h,v +retrieving revision 1.10 +diff -u -p -r1.10 ioctls.h +--- sysdeps/mach/hurd/bits/ioctls.h7 Sep 2007 20:38:57 - 1.10 sysdeps/mach/hurd/bits/ioctls.h16 Dec 2007 02:49:36 - +@@ -109,9 +109,17 @@ + #define _IOT_SIMPLE(type) _IOT (_IOTS (type), 1, 0, 0, 0, 0) + + /* Basic C types. */ +-#define _IOT__IOTBASE_int _IOT_SIMPLE (int) #define _IOT__IOTBASE_char _IOT_SIMPLE (char) ++#define _IOT__IOTBASE_int _IOT_SIMPLE (int) #define _IOT__IOTBASE_short _IOT_SIMPLE (short) -+#define _IOT__IOTBASE_unsigned _IOT_SIMPLE (unsigned) ++#define _IOT__IOTBASE_long _IOT_SIMPLE (long) ++#define _IOT_char _IOT_SIMPLE (char) ++#define _IOT_int_IOT_SIMPLE (int) ++#define _IOT_short _IOT_SIMPLE (short) ++#define _IOT_long _IOT_SIMPLE (long) ++ +#define _IOT__IOTBASE_size_t_IOT_SIMPLE (size_t) ++#define _IOT__IOTBASE_ssize_t _IOT_SIMPLE (ssize_t) /* Standard flavors of ioctls. +@@ -133,6 +141,10 @@ + #define _IOC_ENCODE_TYPE_1(typespec) _IOC_ENCODE_TYPE_2(typespec) + #define _IOC_ENCODE_TYPE_2(typespec) _IOT_##typespec + ++/* Also, ignore signedness. */ ++#define _IOTBASE_unsigned ++#define _IOTBASE_signed ++ + + /* ioctls verbatim from 4.4 . */ + -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2687 - in glibc-package/branches/glibc-2.7/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2007-11-18 23:06:57 + (Sun, 18 Nov 2007) New Revision: 2687 Added: glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/cvs-O_CLOEXEC_fix.diff Modified: glibc-package/branches/glibc-2.7/debian/changelog glibc-package/branches/glibc-2.7/debian/patches/series Log: hurd-i386/cvs-O_CLOEXEC_fix.diff: New patch to fix conflicting O_CLOEXEC value. Modified: glibc-package/branches/glibc-2.7/debian/changelog === --- glibc-package/branches/glibc-2.7/debian/changelog 2007-11-18 21:13:00 UTC (rev 2686) +++ glibc-package/branches/glibc-2.7/debian/changelog 2007-11-18 23:06:57 UTC (rev 2687) @@ -148,6 +148,8 @@ [ Samuel Thibault ] * hurd-i386/submitted-ptr-mangle.diff: Define PTR_MANGLE for assembly. + * hurd-i386/cvs-O_CLOEXEC_fix.diff: New patch to fix conflicting O_CLOEXEC + value. -- Aurelien Jarno <[EMAIL PROTECTED]> Sun, 18 Nov 2007 22:11:35 +0100 Added: glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/cvs-O_CLOEXEC_fix.diff === --- glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/cvs-O_CLOEXEC_fix.diff (rev 0) +++ glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/cvs-O_CLOEXEC_fix.diff 2007-11-18 23:06:57 UTC (rev 2687) @@ -0,0 +1,26 @@ +Index: sysdeps/mach/hurd/bits/fcntl.h +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/bits/fcntl.h,v +retrieving revision 1.13 +retrieving revision 1.14 +diff -u -p -r1.13 -r1.14 +--- a/sysdeps/mach/hurd/bits/fcntl.h 17 Oct 2007 22:32:35 - 1.13 b/sysdeps/mach/hurd/bits/fcntl.h 18 Nov 2007 22:51:16 - 1.14 +@@ -71,7 +71,6 @@ + #define O_SYNCO_FSYNC + #ifdef __USE_GNU + # define O_NOATIME0x0800 /* Don't set access time on read (owner). */ +-# define O_CLOEXEC0x0001 /* Set FD_CLOEXEC. */ + #endif + #ifdef__USE_MISC + # define O_SHLOCK 0x0002 /* Open with shared file lock. */ +@@ -118,6 +117,9 @@ +once the file has been opened. */ + + #define O_TRUNC 0x0001 /* Truncate file to zero length. */ ++#ifdef __USE_GNU ++# define O_CLOEXEC0x0040 /* Set FD_CLOEXEC. */ ++#endif + + + /* Controlling terminal flags. These are understood only by `open', Modified: glibc-package/branches/glibc-2.7/debian/patches/series === --- glibc-package/branches/glibc-2.7/debian/patches/series 2007-11-18 21:13:00 UTC (rev 2686) +++ glibc-package/branches/glibc-2.7/debian/patches/series 2007-11-18 23:06:57 UTC (rev 2687) @@ -93,6 +93,7 @@ hurd-i386/cvs-ECANCELED.diff hurd-i386/cvs-kernel-features.diff -p1 hurd-i386/submitted-IPV6_PKTINFO.diff +hurd-i386/cvs-O_CLOEXEC_fix.diff i386/local-biarch.diff i386/local-cmov.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2665 - in glibc-package/branches/glibc-2.7/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2007-11-15 23:12:00 + (Thu, 15 Nov 2007) New Revision: 2665 Modified: glibc-package/branches/glibc-2.7/debian/changelog glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/submitted-ptr-mangle.diff Log: Use the patch from Thomas Schwinge instead Modified: glibc-package/branches/glibc-2.7/debian/changelog === --- glibc-package/branches/glibc-2.7/debian/changelog 2007-11-15 23:01:19 UTC (rev 2664) +++ glibc-package/branches/glibc-2.7/debian/changelog 2007-11-15 23:12:00 UTC (rev 2665) @@ -115,8 +115,7 @@ * Add alpha/submitted-PTR_MANGLE.diff (Closes: #448508). [ Samuel Thibault ] - * hurd-i386/submitted-ptr-mangle.diff: Do not define PTR_MANGLE for -assembly. + * hurd-i386/submitted-ptr-mangle.diff: Define PTR_MANGLE for assembly. -- Aurelien Jarno <[EMAIL PROTECTED]> Thu, 15 Nov 2007 15:47:41 +0100 Modified: glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/submitted-ptr-mangle.diff === --- glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/submitted-ptr-mangle.diff 2007-11-15 23:01:19 UTC (rev 2664) +++ glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/submitted-ptr-mangle.diff 2007-11-15 23:12:00 UTC (rev 2665) @@ -1,15 +1,19 @@ -2007-11-02 Aurelien Jarno <[EMAIL PROTECTED]> +2007-11-12 Aurelien Jarno <[EMAIL PROTECTED]> + Thomas Schwinge <[EMAIL PROTECTED]> * sysdeps/mach/i386/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define. sysdeps/mach/i386/sysdep.h.orig2007-11-02 08:59:28.56000 +0100 -+++ sysdeps/mach/i386/sysdep.h 2007-11-02 09:22:12.24000 +0100 -@@ -58,6 +58,12 @@ +--- sysdeps/mach/i386/sysdep.h.orig sysdeps/mach/i386/sysdep.h +@@ -58,6 +58,15 @@ #define STACK_GROWTH_DOWN -+#ifndef __ASSEMBLER__ +/* Pointer mangling is not yet supported for Hurd. */ ++#ifdef __ASSEMBLER__ ++#define PTR_MANGLE(var) ++#define PTR_DEMANGLE(var) ++#else +#define PTR_MANGLE(var) (void) (var) +#define PTR_DEMANGLE(var) (void) (var) +#endif -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2664 - in glibc-package/branches/glibc-2.7/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2007-11-15 23:01:19 + (Thu, 15 Nov 2007) New Revision: 2664 Modified: glibc-package/branches/glibc-2.7/debian/changelog glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/submitted-ptr-mangle.diff Log: hurd-i386/submitted-ptr-mangle.diff: Do not define PTR_MANGLE for assembly. Modified: glibc-package/branches/glibc-2.7/debian/changelog === --- glibc-package/branches/glibc-2.7/debian/changelog 2007-11-15 14:48:49 UTC (rev 2663) +++ glibc-package/branches/glibc-2.7/debian/changelog 2007-11-15 23:01:19 UTC (rev 2664) @@ -114,6 +114,10 @@ * Update patches/locale/preprocessor-collate.diff. * Add alpha/submitted-PTR_MANGLE.diff (Closes: #448508). + [ Samuel Thibault ] + * hurd-i386/submitted-ptr-mangle.diff: Do not define PTR_MANGLE for +assembly. + -- Aurelien Jarno <[EMAIL PROTECTED]> Thu, 15 Nov 2007 15:47:41 +0100 glibc (2.6.1-6) unstable; urgency=low Modified: glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/submitted-ptr-mangle.diff === --- glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/submitted-ptr-mangle.diff 2007-11-15 14:48:49 UTC (rev 2663) +++ glibc-package/branches/glibc-2.7/debian/patches/hurd-i386/submitted-ptr-mangle.diff 2007-11-15 23:01:19 UTC (rev 2664) @@ -4,13 +4,15 @@ --- sysdeps/mach/i386/sysdep.h.orig2007-11-02 08:59:28.56000 +0100 +++ sysdeps/mach/i386/sysdep.h 2007-11-02 09:22:12.24000 +0100 -@@ -58,6 +58,10 @@ +@@ -58,6 +58,12 @@ #define STACK_GROWTH_DOWN ++#ifndef __ASSEMBLER__ +/* Pointer mangling is not yet supported for Hurd. */ +#define PTR_MANGLE(var) (void) (var) +#define PTR_DEMANGLE(var) (void) (var) ++#endif + /* Get the machine-independent Mach definitions. */ #include -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2520 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2007-08-20 16:06:59 + (Mon, 20 Aug 2007) New Revision: 2520 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-IPV6_PKTINFO.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * hurd-i386/submitted-IPV6_PKTINFO.diff: new patch to add standard IPV6_PKTINFO macro. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-08-17 08:54:04 UTC (rev 2519) +++ glibc-package/trunk/debian/changelog2007-08-20 16:06:59 UTC (rev 2520) @@ -10,6 +10,8 @@ * hurd-i386/local-tls-support.diff: update to fix TLS leak in /hurd/exec server. * hurd-i386/cvs-ioctl-delay.diff: new patch to add standard *DLY ioctl macros. + * hurd-i386/submitted-IPV6_PKTINFO.diff: new patch to add standard +IPV6_PKTINFO macro. [ Aurelien Jarno ] * debian/rules.d/build.mk: disable testsuite on ARM machines running a Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-IPV6_PKTINFO.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-IPV6_PKTINFO.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-IPV6_PKTINFO.diff 2007-08-20 16:06:59 UTC (rev 2520) @@ -0,0 +1,23 @@ +--- glibc-2.6.1/bits/in.h.orig 2007-08-20 18:01:32.0 +0200 glibc-2.6.1/bits/in.h 2007-08-20 18:02:20.0 +0200 +@@ -50,7 +50,7 @@ + + /* IPV6 socket options. */ + #define IPV6_ADDRFORM 1 +-#define IPV6_RXINFO 2 ++#define IPV6_PKTINFO 2 + #define IPV6_HOPOPTS 3 + #define IPV6_DSTOPTS 4 + #define IPV6_RTHDR5 +@@ -58,8 +58,9 @@ + #define IPV6_CHECKSUM 7 + #define IPV6_HOPLIMIT 8 + +-#define IPV6_TXINFO IPV6_RXINFO +-#define SCM_SRCINFO IPV6_TXINFO ++#define IPV6_RXINFO IPV6_PKTINFO ++#define IPV6_TXINFO IPV6_PKTINFO ++#define SCM_SRCINFO IPV6_PKTINFO + #define SCM_SRCRT IPV6_RXSRCRT + + #define IPV6_UNICAST_HOPS 16 Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2007-08-17 08:54:04 UTC (rev 2519) +++ glibc-package/trunk/debian/patches/series 2007-08-20 16:06:59 UTC (rev 2520) @@ -74,6 +74,7 @@ hurd-i386/cvs-lock-intern.diff hurd-i386/cvs-ECANCELED.diff hurd-i386/cvs-ioctl-delay.diff -p0 +hurd-i386/submitted-IPV6_PKTINFO.diff i386/local-biarch.diff i386/local-cmov.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2505 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2007-08-12 12:12:42 + (Sun, 12 Aug 2007) New Revision: 2505 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-ioctl-delay.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * hurd-i386/cvs-ioctl-delay.diff: new patch to add standard *DLY ioctl macros. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-08-11 17:41:38 UTC (rev 2504) +++ glibc-package/trunk/debian/changelog2007-08-12 12:12:42 UTC (rev 2505) @@ -9,6 +9,7 @@ upstream. * hurd-i386/local-tls-support.diff: update to fix TLS leak in /hurd/exec server. + * hurd-i386/cvs-ioctl-delay.diff: new patch to add standard *DLY ioctl macros. [ Aurelien Jarno ] * debian/rules.d/build.mk: disable testsuite on ARM machines running a Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-ioctl-delay.diff === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-ioctl-delay.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-ioctl-delay.diff 2007-08-12 12:12:42 UTC (rev 2505) @@ -0,0 +1,50 @@ +Index: sysdeps/mach/hurd/bits/ioctls.h +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/bits/ioctls.h,v +retrieving revision 1.8 +retrieving revision 1.9 +diff -u -p -r1.8 -r1.9 +--- sysdeps/mach/hurd/bits/ioctls.h7 Jan 2006 23:29:39 - 1.8 sysdeps/mach/hurd/bits/ioctls.h10 Aug 2007 22:50:53 - 1.9 +@@ -1,4 +1,4 @@ +-/* Copyright (C) 1992,93,96,97,98,99,2001 Free Software Foundation, Inc. ++/* Copyright (C) 1992,93,96,97,98,99,2001,2007 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +@@ -284,25 +284,30 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_ + #define ODDP0x0040 /* get/send odd parity */ + #define EVENP 0x0080 /* get/send even parity */ + #define ANYP0x00c0 /* get any parity/send none */ +-#define NLDELAY 0x0300 /* \n delay */ ++#define NLDLY 0x0300 /* \n delay */ ++#define NLDELAY NLDLY /* traditional BSD name */ + #define NL0 0x + #define NL1 0x0100 /* tty 37 */ + #define NL2 0x0200 /* vt05 */ + #define NL3 0x0300 +-#define TBDELAY 0x0c00 /* horizontal tab delay */ ++#define TABDLY 0x0c00 /* horizontal tab delay */ ++#define TBDELAY TABDLY /* traditional BSD name */ + #define TAB00x + #define TAB10x0400 /* tty 37 */ + #define TAB20x0800 + #define XTABS 0x0c00 /* expand tabs on output */ +-#define CRDELAY 0x3000 /* \r delay */ ++#define CRDLY 0x3000 /* \r delay */ ++#define CRDELAY CRDLY /* traditional BSD name */ + #define CR0 0x + #define CR1 0x1000 /* tn 300 */ + #define CR2 0x2000 /* tty 37 */ + #define CR3 0x3000 /* concept 100 */ +-#define VTDELAY 0x4000 /* vertical tab delay */ ++#define VTDLY 0x4000 /* vertical tab delay */ ++#define VTDELAY VTDLY /* traditional BSD name */ + #define FF0 0x + #define FF1 0x4000 /* tty 37 */ +-#define BSDELAY 0x8000 /* \b delay */ ++#define BSDLY 0x8000 /* \b delay */ ++#define BSDELAY BSDLY /* traditional BSD name */ + #define BS0 0x + #define BS1 0x8000 + #define ALLDELAY (NLDELAY|TBDELAY|CRDELAY|VTDELAY|BSDELAY) Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2007-08-11 17:41:38 UTC (rev 2504) +++ glibc-package/trunk/debian/patches/series 2007-08-12 12:12:42 UTC (rev 2505) @@ -73,6 +73,7 @@ hurd-i386/submitted-ioctl-unsigned-size_t.diff -p0 hurd-i386/cvs-lock-intern.diff hurd-i386/cvs-ECANCELED.diff +hurd-i386/cvs-ioctl
r2503 - in glibc-package/trunk/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2007-08-10 07:39:56 + (Fri, 10 Aug 2007) New Revision: 2503 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff Log: * hurd-i386/local-tls-support.diff: update to fix TLS leak in /hurd/exec server. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-08-09 22:14:08 UTC (rev 2502) +++ glibc-package/trunk/debian/changelog2007-08-10 07:39:56 UTC (rev 2503) @@ -7,6 +7,8 @@ hurd-i386/submitted-sigsuspend-nocancel.diff into hurd-i386/cvs-sigsuspend-nocancel.diff as the patches have been accepted upstream. + * hurd-i386/local-tls-support.diff: update to fix TLS leak in /hurd/exec +server. -- Aurelien Jarno <[EMAIL PROTECTED]> Wed, 01 Aug 2007 16:40:01 +0200 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-08-09 22:14:08 UTC (rev 2502) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-08-10 07:39:56 UTC (rev 2503) @@ -25,6 +25,39 @@ MACHINE_THREAD_STATE_SET_PC (&state, faulted); MACHINE_THREAD_STATE_SET_SP (&state, faultstack, sizeof faultstack); +diff -u -p -r1.159 hurdsig.c +--- hurd/hurdsig.c 21 Dec 2005 22:16:20 - 1.159 hurd/hurdsig.c 9 Aug 2007 19:17:33 - +@@ -1260,6 +1260,8 @@ _hurdsig_init (const int *intarray, size +(vm_address_t *) &__hurd_sigthread_stack_base, +&stacksize); + assert_perror (err); ++ err = __mach_setup_tls (_hurd_msgport_thread); ++ assert_perror (err); + + __hurd_sigthread_stack_end = __hurd_sigthread_stack_base + stacksize; + __hurd_sigthread_variables = +@@ -1268,8 +1270,6 @@ _hurdsig_init (const int *intarray, size + __libc_fatal ("hurd: Can't allocate threadvars for signal thread\n"); + memset (__hurd_sigthread_variables, 0, + __hurd_threadvar_max * sizeof (unsigned long int)); +- __hurd_sigthread_variables[_HURD_THREADVAR_LOCALE] +- = (unsigned long int) &_nl_global_locale; + + /* Reinitialize the MiG support routines so they will use a per-thread +variable for the cached reply port. */ +diff -u -p -r1.13 mach.h +--- mach/mach.h30 Aug 2002 01:30:53 - 1.13 mach/mach.h9 Aug 2007 19:17:33 - +@@ -101,5 +101,8 @@ kern_return_t mach_setup_thread (task_t +vm_address_t *stack_base, +vm_size_t *stack_size); + ++/* Give THREAD a TLS area. */ ++kern_return_t __mach_setup_tls (thread_t thread); ++kern_return_t mach_setup_tls (thread_t thread); + + #endif /* mach.h */ --- mach/setup-thread.c.orig +++ mach/setup-thread.c @@ -20,6 +20,7 @@ @@ -35,31 +68,43 @@ #include "sysdep.h" /* Defines stack direction. */ #define STACK_SIZE (16 * 1024 * 1024) /* 16MB, arbitrary. */ -@@ -73,8 +74,23 @@ +@@ -73,8 +74,35 @@ __mach_setup_thread (task_t task, thread if (error = __vm_protect (task, stack, __vm_page_size, 0, VM_PROT_NONE)) return error; - return __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, -+ if (error = __thread_set_state (thread, MACHINE_NEW_THREAD_STATE_FLAVOR, -+ (natural_t *) &ts, tssize)) -+return error; ++ return __thread_set_state (thread, MACHINE_NEW_THREAD_STATE_FLAVOR, +(natural_t *) &ts, tssize); + } + + weak_alias (__mach_setup_thread, mach_setup_thread) + -+ /* now we have a clean state, setup TLS */ ++/* Give THREAD a TLS area. */ ++kern_return_t ++__mach_setup_tls (thread_t thread) ++{ ++ kern_return_t error; ++ struct machine_thread_state ts; ++ mach_msg_type_number_t tssize = MACHINE_THREAD_STATE_COUNT; ++ tcbhead_t *tcb; ++ + if (error = __thread_get_state (thread, MACHINE_THREAD_STATE_FLAVOR, + (natural_t *) &ts, &tssize)) +return error; + assert (tssize == MACHINE_THREAD_STATE_COUNT); -+ tcbhead_t *tcb; ++ + tcb = _dl_allocate_tls(NULL); + if (!tcb) +return KERN_RESOURCE_SHORTAGE; ++ + _hurd_tls_new(thread, &ts, tcb); ++ + error = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, -(natural_t *) &ts, tssize); ++ (natural_t *) &ts, tssize); + return error; - } - - weak_alias (__mach_setup_thread, mach_setup_thread) ++} ++ ++weak_alias (__mach_setup_tls, mach_setup_tls) --- sysdeps/generic/thread_state.h.orig +++ sysdeps/generic/thread_state.h @@ -23,6 +23,7 @@ @@ -115,6 +160,70 @@ LOSE; if (err = __thread_set
r2502 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2007-08-09 22:14:08 + (Thu, 09 Aug 2007) New Revision: 2502 Added: glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff glibc-package/trunk/debian/patches/hurd-i386/cvs-lock-intern.diff glibc-package/trunk/debian/patches/hurd-i386/cvs-sigsuspend-nocancel.diff Removed: glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff glibc-package/trunk/debian/patches/hurd-i386/submitted-lock-intern.diff glibc-package/trunk/debian/patches/hurd-i386/submitted-sigsuspend-nocancel.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * Rename hurd-i386/submitted-lock-intern.diff into hurd-i386/cvs-lock-intern.diff, hurd-i386/submitted-ECANCELED.diff into hurd-i386/cvs-ECANCELED.diff and hurd-i386/submitted-sigsuspend-nocancel.diff into hurd-i386/cvs-sigsuspend-nocancel.diff as the patches have been accepted upstream. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-08-07 14:06:26 UTC (rev 2501) +++ glibc-package/trunk/debian/changelog2007-08-09 22:14:08 UTC (rev 2502) @@ -1,3 +1,15 @@ +glibc (2.6.1-2) unstable; urgency=low + + [ Samuel Thibault ] + * Rename hurd-i386/submitted-lock-intern.diff into +hurd-i386/cvs-lock-intern.diff, hurd-i386/submitted-ECANCELED.diff +into hurd-i386/cvs-ECANCELED.diff and +hurd-i386/submitted-sigsuspend-nocancel.diff into +hurd-i386/cvs-sigsuspend-nocancel.diff as the patches have been accepted +upstream. + + -- Aurelien Jarno <[EMAIL PROTECTED]> Wed, 01 Aug 2007 16:40:01 +0200 + glibc (2.6.1-1) unstable; urgency=low * New upstream version: Copied: glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff (from rev 2496, glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff) === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-ECANCELED.diff 2007-08-09 22:14:08 UTC (rev 2502) @@ -0,0 +1,22 @@ +--- glibc-2.6.orig/sysdeps/mach/hurd/bits/errno.h glibc-2.6/sysdeps/mach/hurd/bits/errno.h +@@ -212,8 +212,8 @@ + #define EPROTO _HURD_ERRNO (116)/* Protocol error */ + ETIME = _HURD_ERRNO (117), + #define ETIME _HURD_ERRNO (117)/* Timer expired */ +- ECANCELED = _HURD_ERRNO (118), +-#define ECANCELED _HURD_ERRNO (118)/* Operation canceled */ ++ ECANCELED = _HURD_ERRNO (119), ++#define ECANCELED _HURD_ERRNO (119)/* Operation canceled */ + + /* Errors from . */ + EMACH_SEND_IN_PROGRESS = 0x1001, +@@ -297,7 +297,7 @@ + + }; + +-#define _HURD_ERRNOS119 ++#define _HURD_ERRNOS120 + + /* User-visible type of error codes. It is ok to use `int' or +`kern_return_t' for these, but with `error_t' the debugger prints Copied: glibc-package/trunk/debian/patches/hurd-i386/cvs-lock-intern.diff (from rev 2496, glibc-package/trunk/debian/patches/hurd-i386/submitted-lock-intern.diff) === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-lock-intern.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-lock-intern.diff 2007-08-09 22:14:08 UTC (rev 2502) @@ -0,0 +1,10 @@ +--- glibc-2.6.orig/mach/lock-intern.h glibc-2.6/mach/lock-intern.h +@@ -19,6 +19,7 @@ + #ifndef _LOCK_INTERN_H + #define _LOCK_INTERN_H + ++#include + #include + + #ifndef _EXTERN_INLINE Copied: glibc-package/trunk/debian/patches/hurd-i386/cvs-sigsuspend-nocancel.diff (from rev 2496, glibc-package/trunk/debian/patches/hurd-i386/submitted-sigsuspend-nocancel.diff) === --- glibc-package/trunk/debian/patches/hurd-i386/cvs-sigsuspend-nocancel.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/cvs-sigsuspend-nocancel.diff 2007-08-09 22:14:08 UTC (rev 2502) @@ -0,0 +1,10 @@ +See http://sourceware.org/bugzilla/show_bug.cgi?id=4126 + +--- sysdeps/mach/hurd/sigsuspend.c.orig sysdeps/mach/hurd/sigsuspend.c +@@ -80,4 +80,5 @@ + return -1; + } + libc_hidden_def (__sigsuspend) ++strong_alias (__sigsuspend, sigsuspend_not_cancel) + weak_alias (__sigsuspend, sigsuspend) Deleted: glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff 2007-08-07 14:06:26 UTC (rev 2501) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff 2007-08-09 22:14:08 UTC (rev 2502) @@ -1,22 +
r2496 - in glibc-package/trunk/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2007-08-02 12:30:10 + (Thu, 02 Aug 2007) New Revision: 2496 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff Log: * hurd-i386/local-gscope.diff: resync, mostly merged upstream. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-08-01 14:41:16 UTC (rev 2495) +++ glibc-package/trunk/debian/changelog2007-08-02 12:30:10 UTC (rev 2496) @@ -14,6 +14,9 @@ file. * debian/debhelper.in/libc.install: install it! + [ Samuel Thibault ] + * hurd-i386/local-gscope.diff: resync, mostly merged upstream. + -- Aurelien Jarno <[EMAIL PROTECTED]> Wed, 01 Aug 2007 16:40:01 +0200 glibc (2.6-5) unstable; urgency=low Modified: glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff 2007-08-01 14:41:16 UTC (rev 2495) +++ glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff 2007-08-02 12:30:10 UTC (rev 2496) @@ -1,447 +1,32 @@ -mrlocks have gone from CVS head, so implementing them would be a loss of time, -when backporting the GSCOPE_SET/RESET/WAIT can be actually done easily. - -diff -ur glibc-2.6-orig/elf/dl-close.c glibc-2.6/build-tree/glibc-2.6/elf/dl-close.c glibc-2.6-orig/elf/dl-close.c 2007-05-11 20:46:34.0 +0200 -+++ glibc-2.6/elf/dl-close.c 2007-07-20 03:58:27.0 +0200 -@@ -32,6 +32,8 @@ - #include - #include - -+#include "gscope.h" -+ - - /* Type of the constructor functions. */ - typedef void (*fini_t) (void); -@@ -228,6 +230,7 @@ - bool do_audit = GLRO(dl_naudit) > 0 && !ns->_ns_loaded->l_auditing; - #endif - bool unload_any = false; -+ bool scope_mem_left = false; - unsigned int first_loaded = ~0; - for (unsigned int i = 0; i < nloaded; ++i) - { -@@ -400,18 +403,18 @@ - - struct r_scope_elem **old = imap->l_scope; - --if (RTLD_SINGLE_THREAD_P) -- imap->l_scope = newp; --else -- { --__rtld_mrlock_change (imap->l_scope_lock); --imap->l_scope = newp; --__rtld_mrlock_done (imap->l_scope_lock); -- } -+imap->l_scope = newp; - - /* No user anymore, we can free it now. */ - if (old != imap->l_scope_mem) -- free (old); -+ { -+if (_dl_scope_free (old)) -+ /* If _dl_scope_free used THREAD_GSCOPE_WAIT (), -+ no need to repeat it. */ -+ scope_mem_left = false; -+ } -+else -+ scope_mem_left = true; - - imap->l_scope_max = new_size; - } -@@ -457,6 +460,20 @@ - r->r_state = RT_DELETE; - _dl_debug_state (); - -+ if (!RTLD_SINGLE_THREAD_P -+ && (scope_mem_left -+ || (GL(dl_scope_free_list) != NULL -+ && GL(dl_scope_free_list)->count))) -+{ -+ THREAD_GSCOPE_WAIT (); -+ -+ /* Now we can free any queued old scopes. */ -+ struct dl_scope_free_list *fsl = GL(dl_scope_free_list); -+ if (fsl != NULL) -+while (fsl->count > 0) -+free (fsl->list[--fsl->count]); -+} -+ - size_t tls_free_start; - size_t tls_free_end; - tls_free_start = tls_free_end = NO_TLS_OFFSET; -@@ -769,4 +786,8 @@ - malloc), and in the static library it's in .bss space. */ - free_slotinfo (&GL(dl_tls_dtv_slotinfo_list)->next); - } -+ -+ void *scope_free_list = GL(dl_scope_free_list); -+ GL(dl_scope_free_list) = NULL; -+ free(scope_free_list); - } -diff -ur glibc-2.6-orig/elf/dl-lookup.c glibc-2.6/build-tree/glibc-2.6/elf/dl-lookup.c glibc-2.6-orig/elf/dl-lookup.c 2007-01-15 21:45:53.0 +0100 -+++ glibc-2.6/elf/dl-lookup.c 2007-07-20 03:07:43.0 +0200 -@@ -86,7 +86,7 @@ - /* Add extra dependency on MAP to UNDEF_MAP. */ - static int - internal_function --add_dependency (struct link_map *undef_map, struct link_map *map, int flags) -+add_dependency (struct link_map *undef_map, struct link_map *map) - { - struct link_map **list; - struct link_map *runp; -@@ -99,18 +99,8 @@ - if (undef_map == map) - return 0; - -- /* Make sure nobody can unload the object while we are at it. -- If we hold a scope lock drop it now to avoid ABBA locking problems. */ -- if ((flags & DL_LOOKUP_SCOPE_LOCK) != 0 && !RTLD_SINGLE_THREAD_P) --{ -- __rtld_mrlock_unlock (undef_map->l_scope_lock); -- -- __rtld_lock_lock_recursive (GL(dl_load_lock)); -- -- __rtld_mrlock_lock (undef_map->l_scope_lock); --} -- else --__rtld_lock_lock_recursive (GL(dl_load_
r2447 - in glibc-package/trunk/debian: . sysdeps
Author: sthibaul-guest Date: 2007-07-23 08:32:54 + (Mon, 23 Jul 2007) New Revision: 2447 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/control glibc-package/trunk/debian/sysdeps/hurd.mk Log: seems to work with gcc 4.2 on hurd-i386 too Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-07-23 05:57:04 UTC (rev 2446) +++ glibc-package/trunk/debian/changelog2007-07-23 08:32:54 UTC (rev 2447) @@ -48,9 +48,9 @@ * hurd-i386/submitted-ECANCELED.diff: new patch to fix ECANCELED value. Closes: #396135. * hurd-i386/local-gcc-4.1-init-first.diff: New patch by Thomas -Schwinge to fix building with gcc-4.1. - * sysdeps/hurd.mk (CC, BUILD_CC): Change to gcc-4.1. - * control: Depend on gcc-4.1 on hurd-i386. +Schwinge to fix building with gcc-4.1 and later. + * sysdeps/hurd.mk (CC, BUILD_CC): Remove. + * control: Depend on gcc-4.2 on hurd-i386. -- Aurelien Jarno <[EMAIL PROTECTED]> Mon, 23 Jul 2007 00:36:13 +0200 Modified: glibc-package/trunk/debian/control === --- glibc-package/trunk/debian/control 2007-07-23 05:57:04 UTC (rev 2446) +++ glibc-package/trunk/debian/control 2007-07-23 08:32:54 UTC (rev 2447) @@ -7,8 +7,8 @@ mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], binutils (>= 2.17cvs20070426-1), - gcc-4.1 (>= 4.1.2-6) [alpha hurd-i386], - gcc-4.2 (>= 4.2.1) [!alpha !hurd-i386], gcc-4.2-multilib [amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc], + gcc-4.1 (>= 4.1.2-6) [alpha], + gcc-4.2 (>= 4.2.1) [!alpha], gcc-4.2-multilib [amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc], libc6-dev-amd64 [i386], libc6-dev-ppc64 [powerpc], libc6-dev-i386 [amd64], libc6-dev-powerpc [ppc64], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], libc0.1-dev-i386 [kfreebsd-amd64], Build-Depends-Indep: perl, po-debconf (>= 1.0) Maintainer: GNU Libc Maintainers Modified: glibc-package/trunk/debian/sysdeps/hurd.mk === --- glibc-package/trunk/debian/sysdeps/hurd.mk 2007-07-23 05:57:04 UTC (rev 2446) +++ glibc-package/trunk/debian/sysdeps/hurd.mk 2007-07-23 08:32:54 UTC (rev 2447) @@ -19,11 +19,6 @@ libc_extra_config_options := $(extra_config_options) -# Build with gcc-4.2 is not yet tested -CC = gcc-4.1 -CXX = g++-4.1 -BUILD_CC = gcc-4.1 - # Only use libidn as add-on. standard-add-ons = libidn -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2445 - glibc-package/trunk/debian
Author: sthibaul-guest Date: 2007-07-23 00:15:39 + (Mon, 23 Jul 2007) New Revision: 2445 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/control Log: * control: Depend on gcc-4.1 on hurd-i386. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-07-22 23:14:09 UTC (rev 2444) +++ glibc-package/trunk/debian/changelog2007-07-23 00:15:39 UTC (rev 2445) @@ -50,6 +50,7 @@ * hurd-i386/local-gcc-4.1-init-first.diff: New patch by Thomas Schwinge to fix building with gcc-4.1. * sysdeps/hurd.mk (CC, BUILD_CC): Change to gcc-4.1. + * control: Depend on gcc-4.1 on hurd-i386. -- Aurelien Jarno <[EMAIL PROTECTED]> Mon, 23 Jul 2007 00:36:13 +0200 Modified: glibc-package/trunk/debian/control === --- glibc-package/trunk/debian/control 2007-07-22 23:14:09 UTC (rev 2444) +++ glibc-package/trunk/debian/control 2007-07-23 00:15:39 UTC (rev 2445) @@ -7,8 +7,7 @@ mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], binutils (>= 2.17cvs20070426-1), - gcc-4.0 [hurd-i386], - gcc-4.1 (>= 4.1.2-6) [alpha], + gcc-4.1 (>= 4.1.2-6) [alpha hurd-i386], gcc-4.2 (>= 4.2.1) [!alpha !hurd-i386], gcc-4.2-multilib [amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc], libc6-dev-amd64 [i386], libc6-dev-ppc64 [powerpc], libc6-dev-i386 [amd64], libc6-dev-powerpc [ppc64], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], libc0.1-dev-i386 [kfreebsd-amd64], Build-Depends-Indep: perl, po-debconf (>= 1.0) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2443 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-22 22:50:15 + (Sun, 22 Jul 2007) New Revision: 2443 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff Log: use the latest patch Modified: glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff 2007-07-22 22:49:03 UTC (rev 2442) +++ glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff 2007-07-22 22:50:15 UTC (rev 2443) @@ -1,8 +1,11 @@ -Index: sysdeps/mach/hurd/i386/init-first.c -=== -RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/i386/init-first.c,v -retrieving revision 1.43.4.1 -diff -u -p -r1.43.4.1 init-first.c +2007-07-22 Thomas Schwinge <[EMAIL PROTECTED]> + +* sysdeps/mach/hurd/i386/init-first.c: Undo parts of Roland's `r 1.43' +to `r 1.44' changes. +(_hurd_stack_setup): Take a ``void *'' argument. Save the caller into +CALLER and pass that one on. +(init): Avoid an ugly typecast. + --- sysdeps/mach/hurd/i386/init-first.c23 Oct 2005 01:00:09 - 1.43.4.1 +++ sysdeps/mach/hurd/i386/init-first.c20 Nov 2006 11:05:47 - @@ -320,11 +320,11 @@ first_init (void) @@ -56,29 +59,35 @@ } #endif -Index: sysdeps/mach/hurd/i386/init-first.c -=== -RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/i386/init-first.c,v -retrieving revision 1.43.4.1 -diff -u -p -r1.43.4.1 init-first.c sysdeps/mach/hurd/i386/init-first.c23 Oct 2005 01:00:09 - 1.43.4.1 -+++ sysdeps/mach/hurd/i386/init-first.c20 Nov 2006 11:05:47 - -@@ -353,6 +355,8 @@ +--- sysdeps/mach/hurd/i386/init-first.c2007-07-22 16:50:03.0 +0200 sysdeps/mach/hurd/i386/init-first.c2007-07-22 18:33:45.54000 +0200 +@@ -350,8 +351,10 @@ +This poorly-named function is called by static-start.S, +which should not exist at all. */ void - _hurd_stack_setup (volatile int argc, ...) +-_hurd_stack_setup (volatile int argc, ...) ++_hurd_stack_setup (void *arg, ...) { -+ intptr_t caller = (&argc)[-1]; ++ void *caller = (&arg)[-1]; + void doinit (intptr_t *data) { /* This function gets called with the argument data at TOS. */ -@@ -365,7 +369,7 @@ +@@ -364,7 +367,7 @@ jump to `doinit1' (above), so it is as if __libc_init_first's caller had called `doinit1' with the argument data already on the stack. */ - *--data = (&argc)[-1]; -+ *--data = caller; ++ *--data = (intptr_t) caller; asm volatile ("movl %0, %%esp\n" /* Switch to new outermost stack. */ "movl $0, %%ebp\n" /* Clear outermost frame pointer. */ "jmp *%1" : : "r" (data), "r" (&doinit1) : "sp"); - +@@ -373,7 +376,7 @@ + + first_init (); + +- _hurd_startup ((void **) &argc, &doinit); ++ _hurd_startup (&arg, &doinit); + } + #endif + -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2444 - in glibc-package/trunk/debian: . sysdeps
Author: sthibaul-guest Date: 2007-07-22 23:14:09 + (Sun, 22 Jul 2007) New Revision: 2444 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/sysdeps/hurd.mk Log: I hadn't noticed that glibc already went 4.2. For safety, keeping hurd-i386 with gcc-4.1 Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-07-22 22:50:15 UTC (rev 2443) +++ glibc-package/trunk/debian/changelog2007-07-22 23:14:09 UTC (rev 2444) @@ -49,7 +49,7 @@ Closes: #396135. * hurd-i386/local-gcc-4.1-init-first.diff: New patch by Thomas Schwinge to fix building with gcc-4.1. - * sysdeps/hurd.mk (CC, BUILD_CC): Removed. + * sysdeps/hurd.mk (CC, BUILD_CC): Change to gcc-4.1. -- Aurelien Jarno <[EMAIL PROTECTED]> Mon, 23 Jul 2007 00:36:13 +0200 Modified: glibc-package/trunk/debian/sysdeps/hurd.mk === --- glibc-package/trunk/debian/sysdeps/hurd.mk 2007-07-22 22:50:15 UTC (rev 2443) +++ glibc-package/trunk/debian/sysdeps/hurd.mk 2007-07-22 23:14:09 UTC (rev 2444) @@ -19,6 +19,11 @@ libc_extra_config_options := $(extra_config_options) +# Build with gcc-4.2 is not yet tested +CC = gcc-4.1 +CXX = g++-4.1 +BUILD_CC = gcc-4.1 + # Only use libidn as add-on. standard-add-ons = libidn -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2442 - in glibc-package/trunk/debian: . patches/hurd-i386 sysdeps
Author: sthibaul-guest Date: 2007-07-22 22:49:03 + (Sun, 22 Jul 2007) New Revision: 2442 Added: glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff glibc-package/trunk/debian/sysdeps/hurd.mk Log: * hurd-i386/local-gcc-4.1-init-first.diff: New patch by Thomas Schwinge to fix building with gcc-4.1. * sysdeps/hurd.mk (CC, BUILD_CC): Removed. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-07-22 22:40:20 UTC (rev 2441) +++ glibc-package/trunk/debian/changelog2007-07-22 22:49:03 UTC (rev 2442) @@ -47,6 +47,9 @@ submitted-sigsuspend-nocancel.diff. * hurd-i386/submitted-ECANCELED.diff: new patch to fix ECANCELED value. Closes: #396135. + * hurd-i386/local-gcc-4.1-init-first.diff: New patch by Thomas +Schwinge to fix building with gcc-4.1. + * sysdeps/hurd.mk (CC, BUILD_CC): Removed. -- Aurelien Jarno <[EMAIL PROTECTED]> Mon, 23 Jul 2007 00:36:13 +0200 Added: glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/local-gcc-4.1-init-first.diff 2007-07-22 22:49:03 UTC (rev 2442) @@ -0,0 +1,84 @@ +Index: sysdeps/mach/hurd/i386/init-first.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/i386/init-first.c,v +retrieving revision 1.43.4.1 +diff -u -p -r1.43.4.1 init-first.c +--- sysdeps/mach/hurd/i386/init-first.c23 Oct 2005 01:00:09 - 1.43.4.1 sysdeps/mach/hurd/i386/init-first.c20 Nov 2006 11:05:47 - +@@ -320,11 +320,11 @@ first_init (void) +stack set up just as the user will see it, so it can switch stacks. */ + + void +-_dl_init_first (void) ++_dl_init_first (int argc, ...) + { + first_init (); + +- init ((int *) __builtin_frame_address (0) + 2); ++ init (&argc); + } + #endif + +@@ -351,23 +351,21 @@ strong_alias (posixland_init, __libc_ini +This poorly-named function is called by static-start.S, +which should not exist at all. */ + void +-_hurd_stack_setup (void) ++_hurd_stack_setup (volatile int argc, ...) + { +- intptr_t caller = (intptr_t) __builtin_return_address (0); +- + void doinit (intptr_t *data) + { + /* This function gets called with the argument data at TOS. */ +- void doinit1 (void) ++ void doinit1 (volatile int argc, ...) + { +-init ((int *) __builtin_frame_address (0) + 2); ++init ((int *) &argc); + } + + /* Push the user return address after the argument data, and then + jump to `doinit1' (above), so it is as if __libc_init_first's + caller had called `doinit1' with the argument data already on the + stack. */ +- *--data = caller; ++ *--data = (&argc)[-1]; + asm volatile ("movl %0, %%esp\n" /* Switch to new outermost stack. */ + "movl $0, %%ebp\n" /* Clear outermost frame pointer. */ + "jmp *%1" : : "r" (data), "r" (&doinit1) : "sp"); +@@ -376,7 +374,7 @@ _hurd_stack_setup (void) + + first_init (); + +- _hurd_startup ((void **) __builtin_frame_address (0) + 2, &doinit); ++ _hurd_startup ((void **) &argc, &doinit); + } + #endif + +Index: sysdeps/mach/hurd/i386/init-first.c +=== +RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/i386/init-first.c,v +retrieving revision 1.43.4.1 +diff -u -p -r1.43.4.1 init-first.c +--- sysdeps/mach/hurd/i386/init-first.c23 Oct 2005 01:00:09 - 1.43.4.1 sysdeps/mach/hurd/i386/init-first.c20 Nov 2006 11:05:47 - +@@ -353,6 +355,8 @@ + void + _hurd_stack_setup (volatile int argc, ...) + { ++ intptr_t caller = (&argc)[-1]; ++ + void doinit (intptr_t *data) + { + /* This function gets called with the argument data at TOS. */ +@@ -365,7 +369,7 @@ + jump to `doinit1' (above), so it is as if __libc_init_first's + caller had called `doinit1' with the argument data already on the + stack. */ +- *--data = (&argc)[-1]; ++ *--data = caller; + asm volatile ("movl %0, %%esp\n" /* Switch to new outermost stack. */ + "movl $0, %%ebp\n" /* Clear outermost frame pointer. */ + "jmp *%1" : : "r" (data), "r" (&doinit1) : "sp"); + Modified: glibc-package/trunk/debian/patches/hurd-i386/l
r2435 - in glibc-package/branches/glibc-2.5/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-22 15:13:04 + (Sun, 22 Jul 2007) New Revision: 2435 Added: glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/submitted-ECANCELED.diff Modified: glibc-package/branches/glibc-2.5/debian/changelog glibc-package/branches/glibc-2.5/debian/patches/series Log: * hurd-i386/submitted-ECANCELED.diff: new patch to fix ECANCELED value. Closes: #396135. Modified: glibc-package/branches/glibc-2.5/debian/changelog === --- glibc-package/branches/glibc-2.5/debian/changelog 2007-07-22 11:52:28 UTC (rev 2434) +++ glibc-package/branches/glibc-2.5/debian/changelog 2007-07-22 15:13:04 UTC (rev 2435) @@ -5,6 +5,8 @@ * patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff: new patch to fix some packages that use unsigned or size_t in ioctls. Closes: 431365. + * hurd-i386/submitted-ECANCELED.diff: new patch to fix ECANCELED value. +Closes: #396135. [ Michael Banck ] * patches/hurd-i386/local-gcc-4.1-init-first.diff: New patch by Thomas Added: glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/submitted-ECANCELED.diff === --- glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/submitted-ECANCELED.diff (rev 0) +++ glibc-package/branches/glibc-2.5/debian/patches/hurd-i386/submitted-ECANCELED.diff 2007-07-22 15:13:04 UTC (rev 2435) @@ -0,0 +1,22 @@ +--- glibc-2.6/sysdeps/mach/hurd/bits/errno.h.orig 2007-07-22 11:38:55.976096000 + glibc-2.6/sysdeps/mach/hurd/bits/errno.h 2007-07-22 11:48:57.812109000 + +@@ -212,8 +212,8 @@ + #define EPROTO _HURD_ERRNO (116)/* Protocol error */ + ETIME = _HURD_ERRNO (117), + #define ETIME _HURD_ERRNO (117)/* Timer expired */ +- ECANCELED = _HURD_ERRNO (118), +-#define ECANCELED _HURD_ERRNO (118)/* Operation canceled */ ++ ECANCELED = _HURD_ERRNO (119), ++#define ECANCELED _HURD_ERRNO (119)/* Operation canceled */ + + /* Errors from . */ + EMACH_SEND_IN_PROGRESS = 0x1001, +@@ -297,7 +297,7 @@ + + }; + +-#define _HURD_ERRNOS119 ++#define _HURD_ERRNOS120 + + /* User-visible type of error codes. It is ok to use `int' or +`kern_return_t' for these, but with `error_t' the debugger prints Modified: glibc-package/branches/glibc-2.5/debian/patches/series === --- glibc-package/branches/glibc-2.5/debian/patches/series 2007-07-22 11:52:28 UTC (rev 2434) +++ glibc-package/branches/glibc-2.5/debian/patches/series 2007-07-22 15:13:04 UTC (rev 2435) @@ -76,6 +76,7 @@ hurd-i386/submitted-stat.diff -p0 hurd-i386/submitted-sysvshm.diff -p1 hurd-i386/submitted-trivial.diff -p0 +hurd-i386/submitted-ECANCELED.diff i386/local-biarch.diff -p1 i386/local-cmov.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2434 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-22 11:52:28 + (Sun, 22 Jul 2007) New Revision: 2434 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * hurd-i386/submitted-ECANCELED.diff: new patch to fix ECANCELED value. Closes: #396135. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-07-21 23:22:36 UTC (rev 2433) +++ glibc-package/trunk/debian/changelog2007-07-22 11:52:28 UTC (rev 2434) @@ -48,6 +48,8 @@ * sysdeps/depflags.pl: make libc0.3 depend on TLS-enabled hurd packages. * hurd-i386/local-sigsuspend-nocancel.diff: renamed into submitted-sigsuspend-nocancel.diff. + * hurd-i386/submitted-ECANCELED.diff: new patch to fix ECANCELED value. +Closes: #396135. -- Aurelien Jarno <[EMAIL PROTECTED]> Sun, 22 Jul 2007 01:21:40 +0200 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-ECANCELED.diff 2007-07-22 11:52:28 UTC (rev 2434) @@ -0,0 +1,22 @@ +--- glibc-2.6/sysdeps/mach/hurd/bits/errno.h.orig 2007-07-22 11:38:55.976096000 + glibc-2.6/sysdeps/mach/hurd/bits/errno.h 2007-07-22 11:48:57.812109000 + +@@ -212,8 +212,8 @@ + #define EPROTO _HURD_ERRNO (116)/* Protocol error */ + ETIME = _HURD_ERRNO (117), + #define ETIME _HURD_ERRNO (117)/* Timer expired */ +- ECANCELED = _HURD_ERRNO (118), +-#define ECANCELED _HURD_ERRNO (118)/* Operation canceled */ ++ ECANCELED = _HURD_ERRNO (119), ++#define ECANCELED _HURD_ERRNO (119)/* Operation canceled */ + + /* Errors from . */ + EMACH_SEND_IN_PROGRESS = 0x1001, +@@ -297,7 +297,7 @@ + + }; + +-#define _HURD_ERRNOS119 ++#define _HURD_ERRNOS120 + + /* User-visible type of error codes. It is ok to use `int' or +`kern_return_t' for these, but with `error_t' the debugger prints Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2007-07-21 23:22:36 UTC (rev 2433) +++ glibc-package/trunk/debian/patches/series 2007-07-22 11:52:28 UTC (rev 2434) @@ -69,6 +69,7 @@ hurd-i386/submitted-trivial.diff -p0 hurd-i386/submitted-ioctl-unsigned-size_t.diff -p0 hurd-i386/submitted-lock-intern.diff +hurd-i386/submitted-ECANCELED.diff i386/local-biarch.diff i386/local-cmov.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2428 - in glibc-package/trunk/debian: . patches patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-21 21:26:55 + (Sat, 21 Jul 2007) New Revision: 2428 Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-sigsuspend-nocancel.diff Removed: glibc-package/trunk/debian/patches/hurd-i386/local-sigsuspend-nocancel.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * hurd-i386/local-sigsuspend-nocancel.diff: renamed into submitted-sigsuspend-nocancel.diff. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-07-21 00:56:01 UTC (rev 2427) +++ glibc-package/trunk/debian/changelog2007-07-21 21:26:55 UTC (rev 2428) @@ -38,6 +38,8 @@ strerror_l(). * hurd-i386/submitted-lock-intern.diff: new patch to fix a header inclusion. * sysdeps/depflags.pl: make libc0.3 depend on TLS-enabled hurd packages. + * hurd-i386/local-sigsuspend-nocancel.diff: renamed into +submitted-sigsuspend-nocancel.diff. -- Pierre Habouzit <[EMAIL PROTECTED]> Fri, 20 Jul 2007 19:19:54 +0200 Deleted: glibc-package/trunk/debian/patches/hurd-i386/local-sigsuspend-nocancel.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-sigsuspend-nocancel.diff 2007-07-21 00:56:01 UTC (rev 2427) +++ glibc-package/trunk/debian/patches/hurd-i386/local-sigsuspend-nocancel.diff 2007-07-21 21:26:55 UTC (rev 2428) @@ -1,10 +0,0 @@ -Index: sysdeps/mach/hurd/sigsuspend.c -=== sysdeps/mach/hurd/sigsuspend.c.orig -+++ sysdeps/mach/hurd/sigsuspend.c -@@ -80,4 +80,5 @@ - return -1; - } - libc_hidden_def (__sigsuspend) -+strong_alias (__sigsuspend, sigsuspend_not_cancel) - weak_alias (__sigsuspend, sigsuspend) Copied: glibc-package/trunk/debian/patches/hurd-i386/submitted-sigsuspend-nocancel.diff (from rev 2427, glibc-package/trunk/debian/patches/hurd-i386/local-sigsuspend-nocancel.diff) === --- glibc-package/trunk/debian/patches/hurd-i386/submitted-sigsuspend-nocancel.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/submitted-sigsuspend-nocancel.diff 2007-07-21 21:26:55 UTC (rev 2428) @@ -0,0 +1,12 @@ +See http://sourceware.org/bugzilla/show_bug.cgi?id=4126 + +Index: sysdeps/mach/hurd/sigsuspend.c +=== +--- sysdeps/mach/hurd/sigsuspend.c.orig sysdeps/mach/hurd/sigsuspend.c +@@ -80,4 +80,5 @@ + return -1; + } + libc_hidden_def (__sigsuspend) ++strong_alias (__sigsuspend, sigsuspend_not_cancel) + weak_alias (__sigsuspend, sigsuspend) Modified: glibc-package/trunk/debian/patches/series === --- glibc-package/trunk/debian/patches/series 2007-07-21 00:56:01 UTC (rev 2427) +++ glibc-package/trunk/debian/patches/series 2007-07-21 21:26:55 UTC (rev 2428) @@ -59,9 +59,9 @@ hurd-i386/local-enable-ldconfig.diff -p0 hurd-i386/local-mlock.diff hurd-i386/local-msg-nosignal.diff -p0 -hurd-i386/local-sigsuspend-nocancel.diff -p0 hurd-i386/local-tls.diff hurd-i386/local-tls-support.diff -p0 +hurd-i386/submitted-sigsuspend-nocancel.diff -p0 hurd-i386/submitted-ioctl-decode-argument.diff -p0 hurd-i386/submitted-libc_once.diff -p0 hurd-i386/submitted-stat.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2427 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-21 00:56:01 + (Sat, 21 Jul 2007) New Revision: 2427 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff Log: rediff Modified: glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff 2007-07-21 00:36:28 UTC (rev 2426) +++ glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff 2007-07-21 00:56:01 UTC (rev 2427) @@ -438,7 +438,7 @@ used occasionally. */ --- /dev/null 2005-07-17 23:39:37.0 + +++ glibc-2.6/elf/gscope.h 2007-07-19 23:00:57.0 + -@@ -0,0 +1,14 @@ +@@ -0,0 +1,13 @@ +#ifndef _GSCOPE_H +#define _GSCOPE_H 1 +#include -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2426 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-21 00:36:28 + (Sat, 21 Jul 2007) New Revision: 2426 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff Log: rediff Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-07-21 00:27:17 UTC (rev 2425) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-07-21 00:36:28 UTC (rev 2426) @@ -50,7 +50,7 @@ #include "sysdep.h" /* Defines stack direction. */ #define STACK_SIZE (16 * 1024 * 1024) /* 16MB, arbitrary. */ -@@ -73,8 +74,25 @@ __mach_setup_thread (task_t task, thread +@@ -73,8 +74,23 @@ __mach_setup_thread (task_t task, thread if (error = __vm_protect (task, stack, __vm_page_size, 0, VM_PROT_NONE)) return error; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2425 - in glibc-package/trunk/debian: . patches patches/hurd-i386 sysdeps
Author: sthibaul-guest Date: 2007-07-21 00:27:17 + (Sat, 21 Jul 2007) New Revision: 2425 Added: glibc-package/trunk/debian/patches/hurd-i386/local-atomic-no-multiple_threads.diff glibc-package/trunk/debian/patches/hurd-i386/local-gscope.diff glibc-package/trunk/debian/patches/hurd-i386/local-no-strerror_l.diff glibc-package/trunk/debian/patches/hurd-i386/submitted-lock-intern.diff glibc-package/trunk/debian/patches/series.hurd-i386 Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series glibc-package/trunk/debian/sysdeps/depflags.pl Log: * hurd-i386/local-atomic-no-multiple_threads.diff: new patch, hurd-i386 doesn't need the multiple_threads field. * hurd-i386/local-gscope.diff: new patch, backport of the CVS global scope. * hurd-i386/local-no-strerror_l.diff: new patch to disable non-implemented strerror_l(). * hurd-i386/submitted-lock-intern.diff: new patch to fix a header inclusion. * sysdeps/depflags.pl: make libc0.3 depend on TLS-enabled hurd packages. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-07-20 23:40:55 UTC (rev 2424) +++ glibc-package/trunk/debian/changelog2007-07-21 00:27:17 UTC (rev 2425) @@ -31,6 +31,13 @@ * hurd-i386/local-tls-support.diff: new patch to support TLS. * debian/sysdeps/hurd.mk (libc_extra_config_options): Removed --without-__thread, --without-tls and libc_cv_z_relro=no. + * hurd-i386/local-atomic-no-multiple_threads.diff: new patch, hurd-i386 +doesn't need the multiple_threads field. + * hurd-i386/local-gscope.diff: new patch, backport of the CVS global scope. + * hurd-i386/local-no-strerror_l.diff: new patch to disable non-implemented +strerror_l(). + * hurd-i386/submitted-lock-intern.diff: new patch to fix a header inclusion. + * sysdeps/depflags.pl: make libc0.3 depend on TLS-enabled hurd packages. -- Pierre Habouzit <[EMAIL PROTECTED]> Fri, 20 Jul 2007 19:19:54 +0200 Added: glibc-package/trunk/debian/patches/hurd-i386/local-atomic-no-multiple_threads.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-atomic-no-multiple_threads.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/local-atomic-no-multiple_threads.diff 2007-07-21 00:27:17 UTC (rev 2425) @@ -0,0 +1,249 @@ +On the Hurd we always at least start the sigthread anyway. Let's avoid forking +the file (which would mean having to maintain it) + +diff -ur glibc-2.6-orig/sysdeps/i386/i486/bits/atomic.h glibc-2.6/build-tree/glibc-2.6/sysdeps/i386/i486/bits/atomic.h +--- glibc-2.6-orig/sysdeps/i386/i486/bits/atomic.h 2007-02-17 07:38:25.0 +0100 glibc-2.6/sysdeps/i386/i486/bits/atomic.h 2007-07-20 03:45:18.0 +0200 +@@ -87,35 +87,26 @@ + + #define __arch_c_compare_and_exchange_val_8_acq(mem, newval, oldval) \ + ({ __typeof (*mem) ret; \ +- __asm __volatile ("cmpl $0, %%gs:%P5\n\t" \ +- "je 0f\n\t" \ +- "lock\n" \ +- "0:\tcmpxchgb %b2, %1" \ ++ __asm __volatile ("lock\n" \ ++ "\tcmpxchgb %b2, %1" \ + : "=a" (ret), "=m" (*mem) \ +- : "q" (newval), "m" (*mem), "0" (oldval), \ +- "i" (offsetof (tcbhead_t, multiple_threads))); \ ++ : "q" (newval), "m" (*mem), "0" (oldval)); \ + ret; }) + + #define __arch_c_compare_and_exchange_val_16_acq(mem, newval, oldval) \ + ({ __typeof (*mem) ret; \ +- __asm __volatile ("cmpl $0, %%gs:%P5\n\t" \ +- "je 0f\n\t" \ +- "lock\n" \ +- "0:\tcmpxchgw %w2, %1" \ ++ __asm __volatile ("lock\n" \ ++ "\tcmpxchgw %w2, %1" \ + : "=a" (ret), "=m" (*mem) \ +- : "r" (newval), "m" (*mem)
r2424 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-20 23:40:55 + (Fri, 20 Jul 2007) New Revision: 2424 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff Log: oldie from 2.5 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-07-20 17:23:52 UTC (rev 2423) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-07-20 23:40:55 UTC (rev 2424) @@ -59,7 +59,6 @@ + (natural_t *) &ts, tssize)) +return error; + -+#if USE_TLS + /* now we have a clean state, setup TLS */ + if (error = __thread_get_state (thread, MACHINE_THREAD_STATE_FLAVOR, + (natural_t *) &ts, &tssize)) @@ -72,7 +71,6 @@ + _hurd_tls_new(thread, &ts, tcb); + error = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, (natural_t *) &ts, tssize); -+#endif + return error; } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2422 - glibc-package/trunk/debian/patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-19 23:09:30 + (Thu, 19 Jul 2007) New Revision: 2422 Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff Log: oops, that was an old patch Modified: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-07-19 21:34:55 UTC (rev 2421) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-07-19 23:09:30 UTC (rev 2422) @@ -4,7 +4,7 @@ retrieving revision 1.3 diff -u -p -r1.3 libc-start.c --- csu/libc-start.c 17 Jan 2007 08:36:51 - 1.3 -+++ csu/libc-start.c 19 Jul 2007 21:27:42 - csu/libc-start.c 19 Jul 2007 22:37:08 - @@ -134,11 +134,13 @@ LIBC_START_MAIN (int (*main) (int, char } # endif @@ -25,13 +25,13 @@ retrieving revision 1.21 diff -u -p -r1.21 hurdfault.c --- hurd/hurdfault.c 21 Dec 2005 22:16:20 - 1.21 -+++ hurd/hurdfault.c 19 Jul 2007 21:27:42 - hurd/hurdfault.c 19 Jul 2007 22:37:08 - @@ -206,6 +206,8 @@ _hurdsig_fault_init (void) /* This state will be restored when we fault. It runs the function above. */ memset (&state, 0, sizeof state); + -+ MACHINE_THREAD_STATE_SET_SEGMENTS (&state); ++ MACHINE_THREAD_STATE_FIX_NEW (&state); MACHINE_THREAD_STATE_SET_PC (&state, faulted); MACHINE_THREAD_STATE_SET_SP (&state, faultstack, sizeof faultstack); @@ -41,7 +41,7 @@ retrieving revision 1.19 diff -u -p -r1.19 setup-thread.c --- mach/setup-thread.c22 Dec 2005 11:31:24 - 1.19 -+++ mach/setup-thread.c19 Jul 2007 21:27:43 - mach/setup-thread.c19 Jul 2007 22:37:08 - @@ -20,6 +20,7 @@ #include #include @@ -83,7 +83,7 @@ retrieving revision 1.2 diff -u -p -r1.2 thread_state.h --- sysdeps/generic/thread_state.h 6 Jul 2001 04:55:50 - 1.2 -+++ sysdeps/generic/thread_state.h 19 Jul 2007 21:27:43 - sysdeps/generic/thread_state.h 19 Jul 2007 22:37:09 - @@ -23,6 +23,7 @@ /* Replace with "i386" or "mips" or whatever. */ @@ -98,13 +98,13 @@ retrieving revision 1.13 diff -u -p -r1.13 thread_state.h --- sysdeps/mach/thread_state.h6 Jul 2001 04:55:56 - 1.13 -+++ sysdeps/mach/thread_state.h19 Jul 2007 21:27:43 - sysdeps/mach/thread_state.h19 Jul 2007 22:37:09 - @@ -38,6 +38,9 @@ ((ts)->SP = (unsigned long int) (stack) + (size)) #endif #endif -+#ifndef MACHINE_THREAD_STATE_SET_SEGMENTS(ts) -+#define MACHINE_THREAD_STATE_SET_SEGMENTS(ts) ++#ifndef MACHINE_THREAD_STATE_FIX_NEW ++#define MACHINE_THREAD_STATE_FIX_NEW(ts) +#endif /* These functions are of use in machine-dependent signal trampoline @@ -115,7 +115,7 @@ retrieving revision 1.5 diff -u -p -r1.5 thread_state.h --- sysdeps/mach/alpha/thread_state.h 6 Jul 2001 04:55:56 - 1.5 -+++ sysdeps/mach/alpha/thread_state.h 19 Jul 2007 21:27:43 - sysdeps/mach/alpha/thread_state.h 19 Jul 2007 22:37:09 - @@ -19,6 +19,7 @@ #include @@ -130,41 +130,35 @@ retrieving revision 1.58 diff -u -p -r1.58 fork.c --- sysdeps/mach/hurd/fork.c 27 Oct 2006 23:11:46 - 1.58 -+++ sysdeps/mach/hurd/fork.c 19 Jul 2007 21:27:44 - -@@ -523,6 +523,13 @@ __fork (void) sysdeps/mach/hurd/fork.c 19 Jul 2007 22:37:09 - +@@ -523,6 +523,11 @@ __fork (void) #endif MACHINE_THREAD_STATE_SET_PC (&state, (unsigned long int) _hurd_msgport_receive); + -+#if USE_TLS + /* Do special thread setup for TLS if needed. */ + if (err = _hurd_tls_fork (sigthread, _hurd_msgport_thread, &state)) + LOSE; -+#endif + if (err = __thread_set_state (sigthread, MACHINE_THREAD_STATE_FLAVOR, (natural_t *) &state, statecount)) LOSE; -@@ -532,9 +539,11 @@ __fork (void) - /* Set the child user thread up to return 1 from the setjmp above. */ +@@ -533,7 +538,7 @@ __fork (void) _hurd_longjmp_thread_state (&state, env, 1); -+#if USE_TLS /* Do special thread setup for TLS if needed. */ - if (err = _hurd_tls_fork (thread, &state)) + if (err = _hurd_tls_fork (thread, __mach_thread_self (), &state)) LOSE; -+#endif if (err = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, - (natural_t *) &state, statecount)) Index: sysdeps/mach/hurd/i386/init-first.c === RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/i386/init-first.c,v retrieving revision 1.44 diff -u -p -r1.44 init-first.c --- sysdeps/mach/hurd/i386/init-first.c16 Oct 2005 09:52:58 - 1.44 -+++ sysdeps/mach/hurd/i386/init-first.c19 Jul 2007 21:27:
r2421 - in glibc-package/trunk/debian: . patches patches/hurd-i386 sysdeps
Author: sthibaul-guest Date: 2007-07-19 21:34:55 + (Thu, 19 Jul 2007) New Revision: 2421 Added: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series glibc-package/trunk/debian/sysdeps/hurd.mk Log: * hurd-i386/local-tls-support.diff: new patch to support TLS. * debian/sysdeps/hurd.mk (libc_extra_config_options): Removed --without-__thread, --without-tls and libc_cv_z_relro=no. Modified: glibc-package/trunk/debian/changelog === --- glibc-package/trunk/debian/changelog2007-07-19 21:19:09 UTC (rev 2420) +++ glibc-package/trunk/debian/changelog2007-07-19 21:34:55 UTC (rev 2421) @@ -24,6 +24,11 @@ * add locales/presubj about locales depends that are correct, and tell bug reporters how to look for their package being built or not. + [ Samuel Thibault ] + * hurd-i386/local-tls-support.diff: new patch to support TLS. + * debian/sysdeps/hurd.mk (libc_extra_config_options): Removed +--without-__thread, --without-tls and libc_cv_z_relro=no. + -- Aurelien Jarno <[EMAIL PROTECTED]> Thu, 19 Jul 2007 07:15:40 +0200 glibc (2.6-2) unstable; urgency=low Added: glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff === --- glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff (rev 0) +++ glibc-package/trunk/debian/patches/hurd-i386/local-tls-support.diff 2007-07-19 21:34:55 UTC (rev 2421) @@ -0,0 +1,402 @@ +Index: csu/libc-start.c +=== +RCS file: /cvs/glibc/libc/csu/libc-start.c,v +retrieving revision 1.3 +diff -u -p -r1.3 libc-start.c +--- csu/libc-start.c 17 Jan 2007 08:36:51 - 1.3 csu/libc-start.c 19 Jul 2007 21:27:42 - +@@ -134,11 +134,13 @@ LIBC_START_MAIN (int (*main) (int, char + } + # endif + ++#ifndef __GNU__ + /* Initialize the thread library at least a bit since the libgcc + functions are using thread functions if these are available and + we need to setup errno. */ + __pthread_initialize_minimal (); + #endif ++#endif + + # ifndef SHARED + /* Set up the stack checker's canary. */ +Index: hurd/hurdfault.c +=== +RCS file: /cvs/glibc/libc/hurd/hurdfault.c,v +retrieving revision 1.21 +diff -u -p -r1.21 hurdfault.c +--- hurd/hurdfault.c 21 Dec 2005 22:16:20 - 1.21 hurd/hurdfault.c 19 Jul 2007 21:27:42 - +@@ -206,6 +206,8 @@ _hurdsig_fault_init (void) + /* This state will be restored when we fault. + It runs the function above. */ + memset (&state, 0, sizeof state); ++ ++ MACHINE_THREAD_STATE_SET_SEGMENTS (&state); + MACHINE_THREAD_STATE_SET_PC (&state, faulted); + MACHINE_THREAD_STATE_SET_SP (&state, faultstack, sizeof faultstack); + +Index: mach/setup-thread.c +=== +RCS file: /cvs/glibc/libc/mach/setup-thread.c,v +retrieving revision 1.19 +diff -u -p -r1.19 setup-thread.c +--- mach/setup-thread.c22 Dec 2005 11:31:24 - 1.19 mach/setup-thread.c19 Jul 2007 21:27:43 - +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include "sysdep.h" /* Defines stack direction. */ + + #define STACK_SIZE (16 * 1024 * 1024) /* 16MB, arbitrary. */ +@@ -73,8 +74,25 @@ __mach_setup_thread (task_t task, thread + if (error = __vm_protect (task, stack, __vm_page_size, 0, VM_PROT_NONE)) + return error; + +- return __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, ++ if (error = __thread_set_state (thread, MACHINE_NEW_THREAD_STATE_FLAVOR, ++ (natural_t *) &ts, tssize)) ++return error; ++ ++#if USE_TLS ++ /* now we have a clean state, setup TLS */ ++ if (error = __thread_get_state (thread, MACHINE_THREAD_STATE_FLAVOR, ++ (natural_t *) &ts, &tssize)) ++return error; ++ assert (tssize == MACHINE_THREAD_STATE_COUNT); ++ tcbhead_t *tcb; ++ tcb = _dl_allocate_tls(NULL); ++ if (!tcb) ++return KERN_RESOURCE_SHORTAGE; ++ _hurd_tls_new(thread, &ts, tcb); ++ error = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, +(natural_t *) &ts, tssize); ++#endif ++ return error; + } + + weak_alias (__mach_setup_thread, mach_setup_thread) +Index: sysdeps/generic/thread_state.h +=== +RCS file: /cvs/glibc/libc/sysdeps/generic/thread_state.h,v +retrieving revision 1.2 +diff -u -p -r1.2 thread_state.h +--- sysdeps/generic/thread_state.h 6 Jul 2001 04:55:50 - 1.2 sysdeps/generic/thread_state.h 19 Jul 2007 21:27:43
r2420 - glibc-package/trunk/debian/sysdeps
Author: sthibaul-guest Date: 2007-07-19 21:19:09 + (Thu, 19 Jul 2007) New Revision: 2420 Modified: glibc-package/trunk/debian/sysdeps/depflags.pl Log: fix brace typo Modified: glibc-package/trunk/debian/sysdeps/depflags.pl === --- glibc-package/trunk/debian/sysdeps/depflags.pl 2007-07-19 05:17:06 UTC (rev 2419) +++ glibc-package/trunk/debian/sysdeps/depflags.pl 2007-07-19 21:19:09 UTC (rev 2420) @@ -89,6 +89,7 @@ # Provides libc6-sparcv9 on sparc if ($DEB_HOST_ARCH =~ m/^sparc$/) { push @{$libc_c{'Provides'}}, 'libc6-sparcv9'; +} if ($type eq "libc") { %pkg = %libc_c; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2392 - glibc-package/branches/glibc-2.6/debian/patches
Author: sthibaul-guest Date: 2007-07-04 16:48:06 + (Wed, 04 Jul 2007) New Revision: 2392 Modified: glibc-package/branches/glibc-2.6/debian/patches/series Log: forgot to update series Modified: glibc-package/branches/glibc-2.6/debian/patches/series === --- glibc-package/branches/glibc-2.6/debian/patches/series 2007-07-04 16:48:01 UTC (rev 2391) +++ glibc-package/branches/glibc-2.6/debian/patches/series 2007-07-04 16:48:06 UTC (rev 2392) @@ -53,7 +53,6 @@ hppa/local-inlining.diff -p0 hppa/local-linuxthreads.diff -p0 -hurd-i386/cvs-getsid.diff -p0 hurd-i386/local-dl-dynamic-weak.diff hurd-i386/local-enable-ldconfig.diff -p0 hurd-i386/local-mlock.diff @@ -65,6 +64,7 @@ hurd-i386/submitted-stat.diff -p0 hurd-i386/submitted-sysvshm.diff hurd-i386/submitted-trivial.diff -p0 +hurd-i386/submitted-ioctl-unsigned-size_t.diff -p0 i386/local-biarch.diff i386/local-cmov.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2388 - in glibc-package/branches/glibc-2.6/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-01 23:10:25 + (Sun, 01 Jul 2007) New Revision: 2388 Added: glibc-package/branches/glibc-2.6/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff Modified: glibc-package/branches/glibc-2.6/debian/changelog Log: patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff: new patch to fix some packages that use unsigned or size_t in ioctls. Closes: 431365. Modified: glibc-package/branches/glibc-2.6/debian/changelog === --- glibc-package/branches/glibc-2.6/debian/changelog 2007-07-01 23:04:35 UTC (rev 2387) +++ glibc-package/branches/glibc-2.6/debian/changelog 2007-07-01 23:10:25 UTC (rev 2388) @@ -105,6 +105,9 @@ [ Samuel Thibault ] * Remove patches/hurd-i386/cvs-getsid.diff (merged upstream). + * patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff: new patch to fix +some packages that use unsigned or size_t in ioctls. +Closes: 431365. -- Aurelien Jarno <[EMAIL PROTECTED]> Fri, 22 Jun 2007 21:20:23 +0200 Added: glibc-package/branches/glibc-2.6/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff === --- glibc-package/branches/glibc-2.6/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff (rev 0) +++ glibc-package/branches/glibc-2.6/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff 2007-07-01 23:10:25 UTC (rev 2388) @@ -0,0 +1,13 @@ +Index: sysdeps/mach/hurd/bits/ioctls.h +=== +--- sysdeps/mach/hurd/bits/ioctls.h7 Jan 2006 23:29:39 - 1.8 sysdeps/mach/hurd/bits/ioctls.h1 Jul 2007 22:26:21 - +@@ -112,6 +112,8 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_ + #define _IOT__IOTBASE_int _IOT_SIMPLE (int) + #define _IOT__IOTBASE_char _IOT_SIMPLE (char) + #define _IOT__IOTBASE_short _IOT_SIMPLE (short) ++#define _IOT__IOTBASE_unsigned _IOT_SIMPLE (unsigned) ++#define _IOT__IOTBASE_size_t_IOT_SIMPLE (size_t) + + + /* Standard flavors of ioctls. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
r2387 - in glibc-package/branches/glibc-2.6/debian: . patches/hurd-i386
Author: sthibaul-guest Date: 2007-07-01 23:04:35 + (Sun, 01 Jul 2007) New Revision: 2387 Removed: glibc-package/branches/glibc-2.6/debian/patches/hurd-i386/cvs-getsid.diff Modified: glibc-package/branches/glibc-2.6/debian/changelog Log: Remove patches/hurd-i386/cvs-getsid.diff (merged upstream). Modified: glibc-package/branches/glibc-2.6/debian/changelog === --- glibc-package/branches/glibc-2.6/debian/changelog 2007-07-01 23:00:56 UTC (rev 2386) +++ glibc-package/branches/glibc-2.6/debian/changelog 2007-07-01 23:04:35 UTC (rev 2387) @@ -103,6 +103,9 @@ * patches/localedata/fix-am_ET.diff: fix am_ET using our preprocessor extensions. + [ Samuel Thibault ] + * Remove patches/hurd-i386/cvs-getsid.diff (merged upstream). + -- Aurelien Jarno <[EMAIL PROTECTED]> Fri, 22 Jun 2007 21:20:23 +0200 glibc (2.5-11) UNRELEASED; urgency=low Deleted: glibc-package/branches/glibc-2.6/debian/patches/hurd-i386/cvs-getsid.diff === --- glibc-package/branches/glibc-2.6/debian/patches/hurd-i386/cvs-getsid.diff 2007-07-01 23:00:56 UTC (rev 2386) +++ glibc-package/branches/glibc-2.6/debian/patches/hurd-i386/cvs-getsid.diff 2007-07-01 23:04:35 UTC (rev 2387) @@ -1,24 +0,0 @@ -2006-01-18 Samuel Thibault <[EMAIL PROTECTED]> - - [BZ #2178] - * sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero, - use _hurd_pid instead. - -=== -RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/getsid.c,v -retrieving revision 1.4 -retrieving revision 1.5 -Index: sysdeps/mach/hurd/getsid.c -=== sysdeps/mach/hurd/getsid.c.orig -+++ sysdeps/mach/hurd/getsid.c -@@ -31,6 +31,9 @@ - if (pid == 0) - pid = _hurd_pid; - -+ if (pid == 0) -+pid = _hurd_pid; -+ - err = __USEPORT (PROC, __proc_getsid (port, pid, &sid)); - if (err) - return (pid_t) __hurd_fail (err); -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]