[glibc] branch glibc-2.26 updated (7507ceb -> bdfd1a3)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch glibc-2.26 in repository glibc. from 7507ceb testsuite-xfail-debian.mk: Remove now-removed XPG3 entries new bdfd1a3 Fix symbol exposition The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 3 +- .../hurd-i386/git-clock_gettime_gettimeofday.diff | 52 ++ debian/patches/series | 1 + debian/testsuite-xfail-debian.mk | 10 - 4 files changed, 55 insertions(+), 11 deletions(-) create mode 100644 debian/patches/hurd-i386/git-clock_gettime_gettimeofday.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: Fix symbol exposition
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.26 in repository glibc. commit bdfd1a3c438cfb406b32f9b15e42d7d18398d2f4 Author: Samuel Thibault Date: Mon Sep 25 00:02:49 2017 + Fix symbol exposition - patches/hurd-i386/git-clock_gettime_gettimeofday.diff: New patch. - testsuite-xfail-debian.mk: Update. Also remove tests inexistent in XPG4. --- debian/changelog | 3 +- .../hurd-i386/git-clock_gettime_gettimeofday.diff | 52 ++ debian/patches/series | 1 + debian/testsuite-xfail-debian.mk | 10 - 4 files changed, 55 insertions(+), 11 deletions(-) diff --git a/debian/changelog b/debian/changelog index cfc5c08..4995eb4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -83,7 +83,8 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/git-dl-sysdep-check.diff: New patch. - patches/hurd-i386/git-socket-limit.diff: New patch. - patches/hurd-i386/tg-thread-linkspace.diff: New patch. -- testsuite-xfail-debian.mk: Update for hurd-i386. +- patches/hurd-i386/git-clock_gettime_gettimeofday.diff: New patch. +- testsuite-xfail-debian.mk: Update. - testsuite-xfail-debian.mk: Remove now-removed XPG3 entries. -- Adam Conrad Sat, 02 Sep 2017 12:15:10 -0600 diff --git a/debian/patches/hurd-i386/git-clock_gettime_gettimeofday.diff b/debian/patches/hurd-i386/git-clock_gettime_gettimeofday.diff new file mode 100644 index 000..480c4e1 --- /dev/null +++ b/debian/patches/hurd-i386/git-clock_gettime_gettimeofday.diff @@ -0,0 +1,52 @@ +commit fcafcd162c843364dc2bb8d57bd239c41cfd122c +Author: Samuel Thibault +Date: Mon Sep 25 01:55:02 2017 +0200 + +hurd: Fix exposition of s/gettimeofday through timespec_s/get + +conform/ISO11/time.h/linknamespace complains that using timespec_get exposes +gettimeofday. + +conform/POSIX/time.h/linknamespace complains that using clock_settime +exposes settimeofday. + +* sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use +__gettimeofday instead of gettimeofday. +* sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday +instead of settimeofday. + +diff --git a/sysdeps/unix/clock_gettime.c b/sysdeps/unix/clock_gettime.c +index 5262066f51..c4cf49367e 100644 +--- a/sysdeps/unix/clock_gettime.c b/sysdeps/unix/clock_gettime.c +@@ -79,7 +79,7 @@ static inline int + realtime_gettime (struct timespec *tp) + { + struct timeval tv; +- int retval = gettimeofday (&tv, NULL); ++ int retval = __gettimeofday (&tv, NULL); + if (retval == 0) + /* Convert into `timespec'. */ + TIMEVAL_TO_TIMESPEC (&tv, tp); +@@ -103,7 +103,7 @@ __clock_gettime (clockid_t clock_id, struct timespec *tp) + case CLOCK_REALTIME: + { + struct timeval tv; +- retval = gettimeofday (&tv, NULL); ++ retval = __gettimeofday (&tv, NULL); + if (retval == 0) + TIMEVAL_TO_TIMESPEC (&tv, tp); + } +diff --git a/sysdeps/unix/clock_settime.c b/sysdeps/unix/clock_settime.c +index e744cae6a9..067e279e2a 100644 +--- a/sysdeps/unix/clock_settime.c b/sysdeps/unix/clock_settime.c +@@ -89,7 +89,7 @@ __clock_settime (clockid_t clock_id, const struct timespec *tp) + struct timeval tv;\ + TIMESPEC_TO_TIMEVAL (&tv, tp);\ + \ +- retval = settimeofday (&tv, NULL);\ ++ retval = __settimeofday (&tv, NULL); \ + } while (0) + + #ifdef SYSDEP_SETTIME diff --git a/debian/patches/series b/debian/patches/series index 6a45ce6..725815c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -162,6 +162,7 @@ hurd-i386/git-hidden-def-2.diff hurd-i386/git-dl-sysdep-check.diff hurd-i386/git-socket-limit.diff hurd-i386/tg-thread-linkspace.diff +hurd-i386/git-clock_gettime_gettimeofday.diff i386/local-biarch.diff i386/unsubmitted-quiet-ldconfig.diff diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk index cb3840c..b2172b7 100644 --- a/debian/testsuite-xfail-debian.mk +++ b/debian/testsuite-xfail-debian.mk @@ -234,11 +234,6 @@ test-xfail-XOPEN2K8/mqueue.h/conform = yes test-xfail-XOPEN2K8/pthread.h/conform = yes test-xfail-XOPEN2K8/sys/stat.h/conform = yes test-xfail-XOPEN2K/sys/stat.h/conform = yes -test-xfail-XPG4/sys/resource.h/conform = yes -test-xfail-XPG4/sys/statvfs.h/conform = yes -test-xfail-XPG4/sys/un.h/conform = yes - -test-xfail-ISO11/time.h/linknamespace = yes test-xfail-POSIX2008/aio.h/linknamespace = yes test-xfail-POSIX2008/arpa/inet.h/linknamespace = yes @@ -451,10 +446,8 @@ test-xfail-XPG
[glibc] branch glibc-2.26 updated (b5a3017 -> 7507ceb)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch glibc-2.26 in repository glibc. from b5a3017 hurd: fix a series of thread linkspace issues new 7507ceb testsuite-xfail-debian.mk: Remove now-removed XPG3 entries The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 1 + debian/testsuite-xfail-debian.mk | 24 2 files changed, 1 insertion(+), 24 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch glibc-2.26 updated (cc317f7 -> b5a3017)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch glibc-2.26 in repository glibc. from cc317f7 hurd: Fix patch application new b5a3017 hurd: fix a series of thread linkspace issues The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 1 + debian/patches/hurd-i386/cvs-libpthread.diff | 120 +++--- debian/patches/hurd-i386/tg-thread-linkspace.diff | 147 ++ debian/patches/series | 1 + debian/testsuite-xfail-debian.mk | 146 + 5 files changed, 224 insertions(+), 191 deletions(-) create mode 100644 debian/patches/hurd-i386/tg-thread-linkspace.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: testsuite-xfail-debian.mk: Remove now-removed XPG3 entries
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.26 in repository glibc. commit 7507ceb5805612804f75d80a70b15e3f6b94fc0f Author: Samuel Thibault Date: Mon Sep 25 00:21:18 2017 +0200 testsuite-xfail-debian.mk: Remove now-removed XPG3 entries --- debian/changelog | 1 + debian/testsuite-xfail-debian.mk | 24 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9165786..cfc5c08 100644 --- a/debian/changelog +++ b/debian/changelog @@ -84,6 +84,7 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/git-socket-limit.diff: New patch. - patches/hurd-i386/tg-thread-linkspace.diff: New patch. - testsuite-xfail-debian.mk: Update for hurd-i386. +- testsuite-xfail-debian.mk: Remove now-removed XPG3 entries. -- Adam Conrad Sat, 02 Sep 2017 12:15:10 -0600 diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk index f26521e..cb3840c 100644 --- a/debian/testsuite-xfail-debian.mk +++ b/debian/testsuite-xfail-debian.mk @@ -894,28 +894,6 @@ test-xfail-XOPEN2K8/utime.h/conform = yes test-xfail-XOPEN2K8/utmpx.h/conform = yes test-xfail-XOPEN2K8/wchar.h/conform = yes test-xfail-XOPEN2K8/wctype.h/conform = yes -test-xfail-XPG3/ctype.h/conform = yes -test-xfail-XPG3/dirent.h/conform = yes -test-xfail-XPG3/errno.h/conform = yes -test-xfail-XPG3/fcntl.h/conform = yes -test-xfail-XPG3/ftw.h/conform = yes -test-xfail-XPG3/grp.h/conform = yes -test-xfail-XPG3/math.h/conform = yes -test-xfail-XPG3/monetary.h/conform = yes -test-xfail-XPG3/pwd.h/conform = yes -test-xfail-XPG3/regex.h/conform = yes -test-xfail-XPG3/stdio.h/conform = yes -test-xfail-XPG3/sys/ipc.h/conform = yes -test-xfail-XPG3/sys/msg.h/conform = yes -test-xfail-XPG3/sys/sem.h/conform = yes -test-xfail-XPG3/sys/shm.h/conform = yes -test-xfail-XPG3/sys/stat.h/conform = yes -test-xfail-XPG3/sys/times.h/conform = yes -test-xfail-XPG3/sys/types.h/conform = yes -test-xfail-XPG3/termios.h/conform = yes -test-xfail-XPG3/time.h/conform = yes -test-xfail-XPG3/unistd.h/conform = yes -test-xfail-XPG3/utime.h/conform = yes test-xfail-XPG4/ctype.h/conform = yes test-xfail-XPG4/dirent.h/conform = yes test-xfail-XPG4/errno.h/conform = yes @@ -1118,7 +1096,6 @@ test-xfail-POSIX/sys/stat.h/conform = yes test-xfail-UNIX98/sys/stat.h/conform = yes test-xfail-XOPEN2K8/sys/stat.h/conform = yes test-xfail-XOPEN2K/sys/stat.h/conform = yes -test-xfail-XPG3/sys/stat.h/conform = yes test-xfail-XPG4/sys/stat.h/conform = yes # Theses failures are due to a bug in the cvt.s.d instruction on some FPU @@ -1374,7 +1351,6 @@ test-xfail-XOPEN2K/pthread.h/conform = yes test-xfail-XOPEN2K/setjmp.h/conform = yes test-xfail-XOPEN2K8/pthread.h/conform = yes test-xfail-XOPEN2K8/setjmp.h/conform = yes -test-xfail-XPG3/setjmp.h/conform = yes test-xfail-XPG4/setjmp.h/conform = yes test-xfail-tst-protected1a = yes test-xfail-tst-protected1b = yes -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: hurd: fix a series of thread linkspace issues
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.26 in repository glibc. commit b5a3017a4647d098f9936cee9e700e9f0b7562cf Author: Samuel Thibault Date: Sun Sep 24 21:31:41 2017 + hurd: fix a series of thread linkspace issues - patches/hurd-i386/cvs-libpthread.diff: Update. - patches/hurd-i386/tg-thread-linkspace.diff: New patch. - testsuite-xfail-debian.mk: Update. --- debian/changelog | 1 + debian/patches/hurd-i386/cvs-libpthread.diff | 120 +++--- debian/patches/hurd-i386/tg-thread-linkspace.diff | 147 ++ debian/patches/series | 1 + debian/testsuite-xfail-debian.mk | 146 + 5 files changed, 224 insertions(+), 191 deletions(-) diff --git a/debian/changelog b/debian/changelog index db2d59a..9165786 100644 --- a/debian/changelog +++ b/debian/changelog @@ -82,6 +82,7 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/git-hidden-def.diff-2: New patch. - patches/hurd-i386/git-dl-sysdep-check.diff: New patch. - patches/hurd-i386/git-socket-limit.diff: New patch. +- patches/hurd-i386/tg-thread-linkspace.diff: New patch. - testsuite-xfail-debian.mk: Update for hurd-i386. -- Adam Conrad Sat, 02 Sep 2017 12:15:10 -0600 diff --git a/debian/patches/hurd-i386/cvs-libpthread.diff b/debian/patches/hurd-i386/cvs-libpthread.diff index ec90ed2..dd677f5 100644 --- a/debian/patches/hurd-i386/cvs-libpthread.diff +++ b/debian/patches/hurd-i386/cvs-libpthread.diff @@ -1,17 +1,16 @@ -git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ --dst-prefix=glibc/libpthread/ 4c9332bfdc9ccd793b6ded3168602195913cedb3 +git diff empty --patch-with-stat --src-prefix=glibc/libpthread/ --dst-prefix=glibc/libpthread/ f881f17267506f3ced17259a066a4d95bffb57f0 from git.savannah.gnu.org:/srv/git/hurd/libpthread.git/ thus by construction only libpthread/ files, thus hurd-only -Date: Sun Sep 17 21:44:09 2017 +0200 +Date: Sun Sep 24 23:09:59 2017 +0200 ChangeLog | 6 + - Makeconfig| 13 + + Makeconfig| 20 + Makefile | 371 TODO | 131 - Versions | 147 + + Versions | 155 + configure | 2 + configure.in | 4 + - forward.c | 280 + - include/pthread.h | 7 + + forward.c | 281 + include/pthread/pthread.h | 835 ++ include/pthread/pthreadtypes.h| 125 libc_pthread_init.c | 35 ++ @@ -21,7 +20,7 @@ Date: Sun Sep 17 21:44:09 2017 +0200 not-in-libc.h | 12 + pthread/Versions | 15 + pthread/alloca_cutoff.c | 27 + - pthread/cthreads-compat.c | 101 + pthread/cthreads-compat.c | 102 pthread/pt-alloc.c| 219 +++ pthread/pt-cancel.c | 63 ++ pthread/pt-cleanup.c | 28 + @@ -29,7 +28,7 @@ Date: Sun Sep 17 21:44:09 2017 +0200 pthread/pt-dealloc.c | 69 +++ pthread/pt-detach.c | 80 +++ pthread/pt-exit.c | 112 - pthread/pt-getattr.c | 51 ++ + pthread/pt-getattr.c | 52 ++ pthread/pt-initialize.c | 88 +++ pthread/pt-internal.h | 330 ++ pthread/pt-join.c | 76 +++ @@ -52,7 +51,7 @@ Date: Sun Sep 17 21:44:09 2017 +0200 sysdeps/generic/pt-attr-getschedparam.c | 34 ++ sysdeps/generic/pt-attr-getschedpolicy.c | 31 + sysdeps/generic/pt-attr-getscope.c| 31 + - sysdeps/generic/pt-attr-getstack.c| 31 + + sysdeps/generic/pt-attr-getstack.c| 32 + sysdeps/generic/pt-attr-getstackaddr.c| 29 + sysdeps/generic/pt-attr-getstacksize.c| 29 + sysdeps/generic/pt-attr-init.c| 29 + @@ -91,7 +90,7 @@ Date: Sun Sep 17 21:44:09 2017 +0200 sysdeps/generic/pt-equal.c| 31 + sysdeps/generic/pt-getconcurrency.c | 27 + sysdeps/generic/pt-getcpuclockid.c| 35 ++ - sysdeps/generic/pt-getschedparam.c| 31 + + sysdeps/generic/pt-getschedparam.c| 32 + sysdeps/generic/pt-getspecific.c |
[glibc] branch glibc-2.26 updated (c1d9ab7 -> cc317f7)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch glibc-2.26 in repository glibc. from c1d9ab7 hurd: Fix sys/socket.h conformity new cc317f7 hurd: Fix patch application The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/patches/hurd-i386/git-socket-limit.diff | 2 +- debian/patches/hurd-i386/submitted-AF_LINK.diff | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch glibc-2.26 updated (99b143f -> c1d9ab7)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch glibc-2.26 in repository glibc. from 99b143f hurd: fixes for hidden support new c1d9ab7 hurd: Fix sys/socket.h conformity The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 3 +- debian/patches/hurd-i386/git-socket-limit.diff | 108 + debian/patches/series | 1 + debian/testsuite-xfail-debian.mk | 7 -- 4 files changed, 111 insertions(+), 8 deletions(-) create mode 100644 debian/patches/hurd-i386/git-socket-limit.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: hurd: Fix patch application
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.26 in repository glibc. commit cc317f7b4bb561bb08d544c19497c1cd8f15db01 Author: Samuel Thibault Date: Sun Sep 24 22:48:42 2017 +0200 hurd: Fix patch application --- debian/patches/hurd-i386/git-socket-limit.diff | 2 +- debian/patches/hurd-i386/submitted-AF_LINK.diff | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/patches/hurd-i386/git-socket-limit.diff b/debian/patches/hurd-i386/git-socket-limit.diff index 7e11e8e..59d0234 100644 --- a/debian/patches/hurd-i386/git-socket-limit.diff +++ b/debian/patches/hurd-i386/git-socket-limit.diff @@ -34,7 +34,7 @@ index 9a412f0833..831d7eaccf 100644 @@ -131,13 +130,19 @@ enum __socket_type #define AF_APPLETALKPF_APPLETALK #define AF_ROUTEPF_ROUTE - /* #defineAF_LINK PF_LINK */ + #define AF_LINK PF_LINK -#define pseudo_AF_XTP PF_XTP +#ifdef __USE_MISC +# define pseudo_AF_XTP PF_XTP diff --git a/debian/patches/hurd-i386/submitted-AF_LINK.diff b/debian/patches/hurd-i386/submitted-AF_LINK.diff index 124da78..e95a987 100644 --- a/debian/patches/hurd-i386/submitted-AF_LINK.diff +++ b/debian/patches/hurd-i386/submitted-AF_LINK.diff @@ -24,6 +24,6 @@ with struct sockaddr_dl, which is not available on Hurd. #define AF_ROUTEPF_ROUTE -#define AF_LINK PF_LINK +/* #defineAF_LINK PF_LINK */ - #define pseudo_AF_XTP PF_XTP - #define AF_COIP PF_COIP - #define AF_CNT PF_CNT + #ifdef __USE_MISC + # define pseudo_AF_XTP PF_XTP + #endif -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: hurd: Fix sys/socket.h conformity
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.26 in repository glibc. commit c1d9ab76f710ca739a92fb9368516021e09e33da Author: Samuel Thibault Date: Sun Sep 24 20:45:21 2017 + hurd: Fix sys/socket.h conformity - patches/hurd-i386/git-socket-limit.diff: New patch. - testsuite-xfail-debian.mk: Update. --- debian/changelog | 3 +- debian/patches/hurd-i386/git-socket-limit.diff | 108 + debian/patches/series | 1 + debian/testsuite-xfail-debian.mk | 7 -- 4 files changed, 111 insertions(+), 8 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7084145..db2d59a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -81,7 +81,8 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/git-hidden-def.diff: New patch. - patches/hurd-i386/git-hidden-def.diff-2: New patch. - patches/hurd-i386/git-dl-sysdep-check.diff: New patch. -- testsuite-xfail-debian.mk: Update with new tests failing on hurd-i386. +- patches/hurd-i386/git-socket-limit.diff: New patch. +- testsuite-xfail-debian.mk: Update for hurd-i386. -- Adam Conrad Sat, 02 Sep 2017 12:15:10 -0600 diff --git a/debian/patches/hurd-i386/git-socket-limit.diff b/debian/patches/hurd-i386/git-socket-limit.diff new file mode 100644 index 000..7e11e8e --- /dev/null +++ b/debian/patches/hurd-i386/git-socket-limit.diff @@ -0,0 +1,108 @@ +commit 3bab02907b2c8d2893480208890ec062063994f9 +Author: Samuel Thibault +Date: Sun Sep 24 22:20:10 2017 +0200 + +hurd: Fix bits/socket.h conformity + +* sysdeps/mach/hurd/bits/socket.h: Include instead +of +(__need_NULL): Do not define. +(__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine +alignment. +[!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP, +CMGROUP_MAX, cmsgcred): Do not define. +(CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of +NULL. +* bits/socket.h: Likewise. + +diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h +index 9a412f0833..831d7eaccf 100644 +--- a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h +@@ -25,10 +25,9 @@ + #endif + + #define __need_size_t +-#define __need_NULL + #include + +-#include/* XXX Is this allowed? */ ++#include + #include + + /* Type for length arguments in socket calls. */ +@@ -131,13 +130,19 @@ enum __socket_type + #define AF_APPLETALKPF_APPLETALK + #define AF_ROUTEPF_ROUTE + /* #defineAF_LINK PF_LINK */ +-#define pseudo_AF_XTP PF_XTP ++#ifdef __USE_MISC ++# define pseudo_AF_XTP PF_XTP ++#endif + #define AF_COIP PF_COIP + #define AF_CNT PF_CNT +-#define pseudo_AF_RTIPPF_RTIP ++#ifdef __USE_MISC ++# define pseudo_AF_RTIP PF_RTIP ++#endif + #define AF_IPX PF_IPX + #define AF_SIP PF_SIP +-#define pseudo_AF_PIP PF_PIP ++#ifdef __USE_MISC ++# define pseudo_AF_PIPPF_PIP ++#endif + #define AF_INET6 PF_INET6 + #define AF_MAX PF_MAX + +@@ -157,7 +162,7 @@ struct sockaddr + + /* Structure large enough to hold any socket address (with the historical +exception of AF_UNIX). */ +-#if ULONG_MAX > 0x ++#if __WORDSIZE == 64 + # define __ss_aligntype __uint64_t + #else + # define __ss_aligntype __uint32_t +@@ -236,7 +241,7 @@ struct cmsghdr + + #define CMSG_FIRSTHDR(mhdr) \ + ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \ +- ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) NULL) ++ ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0) + + #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ + & (size_t) ~(sizeof (size_t) - 1)) +@@ -255,7 +260,7 @@ __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) + { + if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) + /* The kernel header does this so there may be a reason. */ +-return NULL; ++return (struct cmsghdr *) 0; + + __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + + CMSG_ALIGN (__cmsg->cmsg_len)); +@@ -264,7 +269,7 @@ __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) + || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) + > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) + /* No more entries. */ +-return NULL; ++return (struct cmsghdr *) 0; + return __cmsg; + } + #endif/* Use `extern inline'. */ +@@ -280,6 +285,7 @@ enum + #define SCM_CREDS SCM_CREDS + }; + ++#ifdef __USE_MISC + /* Unfortunately, BSD practice d
[glibc] branch glibc-2.26 updated (ec84b0f -> 99b143f)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch glibc-2.26 in repository glibc. from ec84b0f hurd-i386: Update testsuite result new 99b143f hurd: fixes for hidden support The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 3 + debian/patches/hurd-i386/git-dl-sysdep-check.diff | 173 ++ debian/patches/hurd-i386/git-hidden-def-2.diff| 83 +++ debian/patches/hurd-i386/git-hidden-def.diff | 136 + debian/patches/series | 3 + 5 files changed, 398 insertions(+) create mode 100644 debian/patches/hurd-i386/git-dl-sysdep-check.diff create mode 100644 debian/patches/hurd-i386/git-hidden-def-2.diff create mode 100644 debian/patches/hurd-i386/git-hidden-def.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: hurd: fixes for hidden support
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.26 in repository glibc. commit 99b143f9cd67668abac0a5362511bfd82c4e91f2 Author: Samuel Thibault Date: Sun Sep 24 16:18:40 2017 + hurd: fixes for hidden support - patches/hurd-i386/git-hidden-def.diff: New patch. - patches/hurd-i386/git-hidden-def.diff-2: New patch. - patches/hurd-i386/git-dl-sysdep-check.diff: New patch. --- debian/changelog | 3 + debian/patches/hurd-i386/git-dl-sysdep-check.diff | 173 ++ debian/patches/hurd-i386/git-hidden-def-2.diff| 83 +++ debian/patches/hurd-i386/git-hidden-def.diff | 136 + debian/patches/series | 3 + 5 files changed, 398 insertions(+) diff --git a/debian/changelog b/debian/changelog index 03b9fed..7084145 100644 --- a/debian/changelog +++ b/debian/changelog @@ -78,6 +78,9 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/git-tst-udp-nonblocking.diff: New patch. - patches/hurd-i386/submitted-resolv.diff: New patch. - patches/hurd-i386/unsubmitted-exp-hidden-jump.diff: New patch. +- patches/hurd-i386/git-hidden-def.diff: New patch. +- patches/hurd-i386/git-hidden-def.diff-2: New patch. +- patches/hurd-i386/git-dl-sysdep-check.diff: New patch. - testsuite-xfail-debian.mk: Update with new tests failing on hurd-i386. -- Adam Conrad Sat, 02 Sep 2017 12:15:10 -0600 diff --git a/debian/patches/hurd-i386/git-dl-sysdep-check.diff b/debian/patches/hurd-i386/git-dl-sysdep-check.diff new file mode 100644 index 000..cdce840 --- /dev/null +++ b/debian/patches/hurd-i386/git-dl-sysdep-check.diff @@ -0,0 +1,173 @@ +commit 5e6f32531eab502afb094ad62aad333c63a58cfd +Author: Samuel Thibault +Date: Sun Sep 24 17:54:02 2017 +0200 + +hurd: Make sure dl-sysdep.c defines proper symbol names + +* sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro. +(__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64, +__mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid, +__getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden +to make sure that these symbols are defined. + +diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c +index 8a8ac76efa..ae29489923 100644 +--- a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c +@@ -292,6 +292,11 @@ _dl_sysdep_start_cleanup (void) +dynamic linker re-relocates itself to be user-visible (for -ldl), +it will get the user's definition (i.e. usually libc's). */ + ++/* This macro checks that the function does not get renamed to be hidden: we do ++ need these to be overridable by libc's. */ ++#define check_no_hidden(name) \ ++static void __check_##name##_no_hidden(void) __attribute__((alias(#name))); ++ + /* Open FILE_NAME and return a Hurd I/O for it in *PORT, or return an +error. If STAT is non-zero, stat the file into that stat buffer. */ + static error_t +@@ -347,6 +352,7 @@ open_file (const char *file_name, int flags, + return err; + } + ++check_no_hidden(__open); + int weak_function + __open (const char *file_name, int mode, ...) + { +@@ -358,6 +364,7 @@ __open (const char *file_name, int mode, ...) + return (int)port; + } + ++check_no_hidden(__close); + int weak_function + __close (int fd) + { +@@ -366,6 +373,7 @@ __close (int fd) + return 0; + } + ++check_no_hidden(__libc_read); + __ssize_t weak_function + __libc_read (int fd, void *buf, size_t nbytes) + { +@@ -389,6 +397,7 @@ __libc_read (int fd, void *buf, size_t nbytes) + } + libc_hidden_weak (__libc_read) + ++check_no_hidden(__libc_write); + __ssize_t weak_function + __libc_write (int fd, const void *buf, size_t nbytes) + { +@@ -406,6 +415,7 @@ __libc_write (int fd, const void *buf, size_t nbytes) + libc_hidden_weak (__libc_write) + + /* This is only used for printing messages (see dl-misc.c). */ ++check_no_hidden(__writev); + __ssize_t weak_function + __writev (int fd, const struct iovec *iov, int niov) + { +@@ -439,7 +449,7 @@ __writev (int fd, const struct iovec *iov, int niov) + return 0; + } + +- ++check_no_hidden(__libc_lseek64); + off64_t weak_function + __libc_lseek64 (int fd, off64_t offset, int whence) + { +@@ -452,6 +462,7 @@ __libc_lseek64 (int fd, off64_t offset, int whence) + return offset; + } + ++check_no_hidden(__mmap); + __ptr_t weak_function + __mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset) + { +@@ -514,6 +525,7 @@ __mmap (void *addr, size_t len, int prot, int flags, int fd, off_t offset) + return (__ptr_t) mapaddr; + } + ++check_no_hidden(__fxstat64); + int weak_function + __fxstat64 (int vers, int fd, struct stat64 *buf) + { +@@ -529,6 +541,7 @@ __fxstat64 (int vers, int fd, struct stat64 *buf) + } + libc_hidden