[glibc] branch sid updated (fcfd32e -> 0a03cd8)
This is an automated email from the git hooks/post-receive script. sthibault pushed a change to branch sid in repository glibc. from fcfd32e New changelog entry new 0a03cd8 libc0.3.symbols.hurd-i386: Update with proc_set/get_exe RPCs 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/libc0.3.symbols.hurd-i386 | 4 2 files changed, 6 insertions(+), 1 deletion(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: libc0.3.symbols.hurd-i386: Update with proc_set/get_exe RPCs
This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch sid in repository glibc. commit 0a03cd8fdd5668b6d23176713536fef484af8cd0 Author: Samuel Thibault Date: Mon Sep 11 00:57:31 2017 +0200 libc0.3.symbols.hurd-i386: Update with proc_set/get_exe RPCs --- debian/changelog | 3 ++- debian/libc0.3.symbols.hurd-i386 | 4 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 9d06ca8..ac591fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ glibc (2.24-18) UNRELEASED; urgency=medium - * + [ Samuel Thibault ] + * libc0.3.symbols.hurd-i386: Update with proc_set/get_exe RPCs. -- Aurelien Jarno Sat, 26 Aug 2017 11:11:58 +0200 diff --git a/debian/libc0.3.symbols.hurd-i386 b/debian/libc0.3.symbols.hurd-i386 index f117dd1..7e1e0da 100644 --- a/debian/libc0.3.symbols.hurd-i386 +++ b/debian/libc0.3.symbols.hurd-i386 @@ -265,6 +265,7 @@ libhurduser.so.0.3 #PACKAGE# #MINVER# __proc_get_arg_locations_request@Base 2.11 __proc_get_code@Base 2.17-93~ __proc_get_code_request@Base 2.17-93~ + __proc_get_exe@Base 2.24-17 __proc_get_tty@Base 2.11 __proc_get_tty_request@Base 2.11 __proc_getallpids@Base 2.11 @@ -341,6 +342,7 @@ libhurduser.so.0.3 #PACKAGE# #MINVER# __proc_set_arg_locations_request@Base 2.11 __proc_set_code@Base 2.17-93~ __proc_set_code_request@Base 2.17-93~ + __proc_set_exe@Base 2.24-17 __proc_set_init_task@Base 2.17-94~ __proc_set_init_task_request@Base 2.17-94~ __proc_setexecdata@Base 2.11 @@ -630,6 +632,7 @@ libhurduser.so.0.3 #PACKAGE# #MINVER# proc_get_arg_locations_request@Base 2.11 proc_get_code@Base 2.17-93~ proc_get_code_request@Base 2.17-93~ + proc_get_exe@Base 2.24-17 proc_get_tty@Base 2.11 proc_get_tty_request@Base 2.11 proc_getallpids@Base 2.11 @@ -706,6 +709,7 @@ libhurduser.so.0.3 #PACKAGE# #MINVER# proc_set_arg_locations_request@Base 2.11 proc_set_code@Base 2.17-93~ proc_set_code_request@Base 2.17-93~ + proc_set_exe@Base 2.24-17 proc_set_init_task@Base 2.17-94~ proc_set_init_task_request@Base 2.17-94~ proc_setexecdata@Base 2.11 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch glibc-2.26 updated (d9c0b36 -> 8fdc0c6)
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 d9c0b36 hurd: nanosleep tests have been fixed since a long time new 8fdc0c6 Re-disable hurd-i386/submitted-anon-mmap-shared.diff 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/submitted-anon-mmap-shared.diff | 3 +++ debian/patches/series| 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: Re-disable hurd-i386/submitted-anon-mmap-shared.diff
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 8fdc0c6ea752bffc2d100cef9fed15e7033077bd Author: Samuel Thibault Date: Sun Sep 10 21:04:18 2017 + Re-disable hurd-i386/submitted-anon-mmap-shared.diff It was reenabled by error, we are not ready for it yet. --- debian/patches/hurd-i386/submitted-anon-mmap-shared.diff | 3 +++ debian/patches/series| 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/patches/hurd-i386/submitted-anon-mmap-shared.diff b/debian/patches/hurd-i386/submitted-anon-mmap-shared.diff index ec36d60..3737bc0 100644 --- a/debian/patches/hurd-i386/submitted-anon-mmap-shared.diff +++ b/debian/patches/hurd-i386/submitted-anon-mmap-shared.diff @@ -2,6 +2,9 @@ Optimizing anonymous maps brings bugs, and does not optimize much anyway. https://sourceware.org/bugzilla/show_bug.cgi?id=19903 +Do not enable yet, exec's servercopy function calls mmap(size = 0) and expects +it not to fail (while POSIX expects it to fail). + --- a/sysdeps/mach/hurd/mmap.c +++ b/sysdeps/mach/hurd/mmap.c @@ -44,29 +44,6 @@ __mmap (__ptr_t addr, size_t len, int pr diff --git a/debian/patches/series b/debian/patches/series index 03e70b3..afa2ccb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -113,7 +113,7 @@ hurd-i386/local-bootstrap.diff hurd-i386/local-mach_print.diff hurd-i386/submitted-hurd-abilist.diff hurd-i386/local-versions.diff -hurd-i386/submitted-anon-mmap-shared.diff +#hurd-i386/submitted-anon-mmap-shared.diff hurd-i386/tg-faccessat.diff hurd-i386/tg-extern_inline.diff hurd-i386/tg-eintr.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch glibc-2.26 updated (633e4de -> d9c0b36)
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 633e4de hurd: math tests got fixed by hurd-i386/unsubmitted-exp-hidden-jump.diff new d9c0b36 hurd: nanosleep tests have been fixed since a long time 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/testsuite-xfail-debian.mk | 4 1 file changed, 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 (9d95fbb -> 633e4de)
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 9d95fbb patches/hurd-i386/git-tst-udp-nonblocking.diff: New patch new 633e4de hurd: math tests got fixed by hurd-i386/unsubmitted-exp-hidden-jump.diff 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/testsuite-xfail-debian.mk | 13 - 1 file changed, 13 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: hurd: nanosleep tests have been fixed since a long time
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 d9c0b365444aacf077ce4802183addd954f7ddaf Author: Samuel Thibault Date: Sun Sep 10 19:43:46 2017 + hurd: nanosleep tests have been fixed since a long time --- debian/testsuite-xfail-debian.mk | 4 1 file changed, 4 deletions(-) diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk index 4f3b184..53afe94 100644 --- a/debian/testsuite-xfail-debian.mk +++ b/debian/testsuite-xfail-debian.mk @@ -210,10 +210,6 @@ tests-unsupported += test-lfs #test-xfail-test-lfs = yes test-xfail-tst-tzset = yes -# happens seldomly -test-xfail-tst-clock_nanosleep = yes -test-xfail-tst-nanosleep = yes - # new in 2.21 test-xfail-test-misc = yes test-xfail-tst-ptsname = yes -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch glibc-2.26 updated (ba4b012 -> 9d95fbb)
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 ba4b012 patches/hurd-i386/submitted-resolv.diff: New patch new d7574d3 patches/hurd-i386/unsubmitted-exp-hidden-jump.diff: New patch new 9d95fbb patches/hurd-i386/git-tst-udp-nonblocking.diff: New patch The 2 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 | 2 + .../patches/hurd-i386/git-tst-udp-nonblocking.diff | 38 +++ .../hurd-i386/unsubmitted-exp-hidden-jump.diff | 76 ++ debian/patches/series | 2 + debian/testsuite-xfail-debian.mk | 10 ++- 5 files changed, 125 insertions(+), 3 deletions(-) create mode 100644 debian/patches/hurd-i386/git-tst-udp-nonblocking.diff create mode 100644 debian/patches/hurd-i386/unsubmitted-exp-hidden-jump.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/01: hurd: math tests got fixed by hurd-i386/unsubmitted-exp-hidden-jump.diff
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 633e4dea50f79cf94102d106729a93a547e65063 Author: Samuel Thibault Date: Sun Sep 10 19:30:23 2017 + hurd: math tests got fixed by hurd-i386/unsubmitted-exp-hidden-jump.diff --- debian/testsuite-xfail-debian.mk | 13 - 1 file changed, 13 deletions(-) diff --git a/debian/testsuite-xfail-debian.mk b/debian/testsuite-xfail-debian.mk index 1d93915..4f3b184 100644 --- a/debian/testsuite-xfail-debian.mk +++ b/debian/testsuite-xfail-debian.mk @@ -171,19 +171,6 @@ test-xfail-check-abi-librt = yes # Overzealous test test-xfail-tst-pathconf = yes -# This jumps to bogus place from sysdeps/i386/fpu/e_expl.S' -# jae HIDDEN_JUMPTARGET (__expl) -# This jumps to __expl@plt, but %ebx is not set as PIC register! -test-xfail-test-ifloat-expm1 = yes -test-xfail-test-ifloat-sinh = yes -test-xfail-test-idouble-expm1 = yes -test-xfail-test-idouble-sinh = yes -test-xfail-test-idouble-expm1 = yes -test-xfail-test-ildouble-expm1 = yes -test-xfail-test-ildouble-sinh = yes -test-xfail-test-ldouble-expm1 = yes -test-xfail-test-ldouble-finite-expm1 = yes - # Need investigation test-xfail-check-execstack = yes test-xfail-check-localplt = yes -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/02: patches/hurd-i386/unsubmitted-exp-hidden-jump.diff: New patch
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 d7574d3921eb1381e72b1f7f97dcfb869bcbea8f Author: Samuel Thibault Date: Sun Sep 10 19:13:38 2017 + patches/hurd-i386/unsubmitted-exp-hidden-jump.diff: New patch --- debian/changelog | 1 + .../hurd-i386/unsubmitted-exp-hidden-jump.diff | 76 ++ debian/patches/series | 1 + debian/testsuite-xfail-debian.mk | 10 ++- 4 files changed, 85 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3aa45f7..5a78ab7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -76,6 +76,7 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/cvs-truncate64.diff: Remove unused merged patch. - patches/hurd-i386/git-tst-udp-timeout.diff: New patch. - patches/hurd-i386/submitted-resolv.diff: New patch. +- patches/hurd-i386/unsubmitted-exp-hidden-jump.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/unsubmitted-exp-hidden-jump.diff b/debian/patches/hurd-i386/unsubmitted-exp-hidden-jump.diff new file mode 100644 index 000..a2964b4 --- /dev/null +++ b/debian/patches/hurd-i386/unsubmitted-exp-hidden-jump.diff @@ -0,0 +1,76 @@ +hidden jump can not work in these snippets in the NO_HIDDEN case, because %ebx +is not set as PIC register, and thus one can't use the @plt version. + +Until we avoid using NO_HIDDEN (see +https://sourceware.org/bugzilla/show_bug.cgi?id=15605#c5), we need this. + +diff --git a/sysdeps/i386/fpu/e_expl.S b/sysdeps/i386/fpu/e_expl.S +index 7d75fe22a1..8c06f5c3ee 100644 +--- a/sysdeps/i386/fpu/e_expl.S b/sysdeps/i386/fpu/e_expl.S +@@ -81,7 +81,13 @@ ENTRY(IEEE754_EXPL) + movzwl 4+8(%esp), %eax + xorb$0x80, %ah // invert sign bit (now 1 is "positive") + cmpl$0xc006, %eax // is num positive and exp >= 6 (number is >= 128.0)? ++ #if !defined(PIC) || !defined(NO_HIDDEN) + jae HIDDEN_JUMPTARGET (__expl) // (if num is denormal, it is at least >= 64.0) ++ #else ++ jb 0f ++ jmp __expl // (if num is denormal, it is at least >= 64.0) ++0: ++ #endif + #endif + fldt4(%esp) + /* I added the following ugly construct because expl(+-Inf) resulted +diff --git a/sysdeps/i386/fpu/e_powl.S b/sysdeps/i386/fpu/e_powl.S +index 9e162848e4..04f07dcc5e 100644 +--- a/sysdeps/i386/fpu/e_powl.S b/sysdeps/i386/fpu/e_powl.S +@@ -242,7 +242,11 @@ ENTRY(__ieee754_powl) + cfi_adjust_cfa_offset (28) + fstpt 12(%esp)// x + fstpt (%esp) // ++ #if !defined(PIC) || !defined(NO_HIDDEN) + callHIDDEN_JUMPTARGET (__powl_helper) // ++ #else ++ call__powl_helper // ++ #endif + addl$36, %esp + cfi_adjust_cfa_offset (-36) + ret +diff --git a/sysdeps/i386/fpu/s_expm1.S b/sysdeps/i386/fpu/s_expm1.S +index 59fded2d5a..60096d23ae 100644 +--- a/sysdeps/i386/fpu/s_expm1.S b/sysdeps/i386/fpu/s_expm1.S +@@ -51,7 +51,13 @@ ENTRY(__expm1) + movzwl 4+6(%esp), %eax + xorb$0x80, %ah // invert sign bit (now 1 is "positive") + cmpl$0xc086, %eax // is num >= 704? ++ #if !defined(PIC) || !defined(NO_HIDDEN) + jae HIDDEN_JUMPTARGET (__exp) ++ #else ++ jb 0f ++ jmp __exp ++0: ++ #endif + + fldl4(%esp) // x + fxam// Is NaN, +-Inf or +-0? +diff --git a/sysdeps/i386/fpu/s_expm1f.S b/sysdeps/i386/fpu/s_expm1f.S +index 4f0b2e7832..51d5aa8c4f 100644 +--- a/sysdeps/i386/fpu/s_expm1f.S b/sysdeps/i386/fpu/s_expm1f.S +@@ -51,7 +51,13 @@ ENTRY(__expm1f) + movzwl 4+2(%esp), %eax + xorb$0x80, %ah // invert sign bit (now 1 is "positive") + cmpl$0xc2b1, %eax // is num >= 88.5? ++ #if !defined(PIC) || !defined(NO_HIDDEN) + jae HIDDEN_JUMPTARGET (__expf) ++ #else ++ jb 0f ++ jmp __expf ++0: ++ #endif + + flds4(%esp) // x + fxam// Is NaN, +-Inf or +-0? diff --git a/debian/patches/series b/debian/patches/series index 67bb03b..0520a20 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -155,6 +155,7 @@ hurd-i386/git-clone.diff hurd-i386/git-gethostname.diff hurd-i386/git-tst-udp-timeout.diff hurd-i386/submitted-resolv.diff +hurd-i386/unsubmitted-exp-hidden-jump.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 4047754..1d93915 100644 --- a/debian/testsuite-xfail-debian.mk +++ b/debian/testsuite-xfail-debian.mk @@ -171,9 +171,9 @@ test-xfail-check-abi-li
[glibc] 02/02: patches/hurd-i386/git-tst-udp-nonblocking.diff: New patch
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 9d95fbba25ae0008602a998a05f571fc09dec073 Author: Samuel Thibault Date: Sun Sep 10 19:14:03 2017 + patches/hurd-i386/git-tst-udp-nonblocking.diff: New patch --- debian/changelog | 1 + .../patches/hurd-i386/git-tst-udp-nonblocking.diff | 38 ++ debian/patches/series | 1 + 3 files changed, 40 insertions(+) diff --git a/debian/changelog b/debian/changelog index 5a78ab7..03b9fed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -75,6 +75,7 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/cvs-send-recv-posix.diff: Remove unused merged patch. - patches/hurd-i386/cvs-truncate64.diff: Remove unused merged patch. - patches/hurd-i386/git-tst-udp-timeout.diff: New patch. +- 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. - testsuite-xfail-debian.mk: Update with new tests failing on hurd-i386. diff --git a/debian/patches/hurd-i386/git-tst-udp-nonblocking.diff b/debian/patches/hurd-i386/git-tst-udp-nonblocking.diff new file mode 100644 index 000..dbf9983 --- /dev/null +++ b/debian/patches/hurd-i386/git-tst-udp-nonblocking.diff @@ -0,0 +1,38 @@ +commit 3bdfd9fbed7165e75624845a3dab13f42b899096 +Author: Samuel Thibault +Date: Sun Sep 10 21:09:28 2017 +0200 + +sunrpc/tst-udp-nonblocking: Fix timeout value + +This a follow-up to 00c3da4 ('sunrpc/tst-udp-timeout: Fix timeout value') + +* sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75 +seconds. + +diff --git a/sunrpc/tst-udp-nonblocking.c b/sunrpc/tst-udp-nonblocking.c +index c6a68498f7..46237a2f68 100644 +--- a/sunrpc/tst-udp-nonblocking.c b/sunrpc/tst-udp-nonblocking.c +@@ -257,9 +257,9 @@ do_test (void) + /* Shorter timeout to prefer this server. These timeouts must +be much shorter than the 5-second per-response timeout +configured with clntudp_create. */ +-query.timeout_ms = 700; ++query.timeout_ms = 750; + else +-query.timeout_ms = 1400; ++query.timeout_ms = 1500; + struct test_response response = { 0 }; + /* NB: Do not check the return value. The server reply will + prove that the call worked. */ +@@ -289,8 +289,8 @@ do_test (void) + if (test_verbose) + printf ("info: send/receive took %f seconds\n", + after_pings - before_pings); +- /* Expected timeout is 0.7 seconds. */ +- TEST_VERIFY (0.7 <= after_pings - before_pings); ++ /* Expected timeout is 0.75 seconds. */ ++ TEST_VERIFY (0.75 <= after_pings - before_pings); + TEST_VERIFY (after_pings - before_pings < 1.2); + + uint32_t xid; diff --git a/debian/patches/series b/debian/patches/series index 0520a20..03e70b3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -154,6 +154,7 @@ hurd-i386/git-rtld-strtoul_internal.diff hurd-i386/git-clone.diff hurd-i386/git-gethostname.diff hurd-i386/git-tst-udp-timeout.diff +hurd-i386/git-tst-udp-nonblocking.diff hurd-i386/submitted-resolv.diff hurd-i386/unsubmitted-exp-hidden-jump.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] branch glibc-2.26 updated (cf4ce83 -> ba4b012)
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 cf4ce83 Reorganize hurd patches, no code change new 3c117af patches/hurd-i386/git-tst-udp-timeout.diff: New patch new ba4b012 patches/hurd-i386/submitted-resolv.diff: New patch The 2 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 | 5 ++- debian/patches/hurd-i386/git-tst-udp-timeout.diff | 33 debian/patches/hurd-i386/submitted-resolv.diff| 37 +++ debian/patches/series | 2 ++ 4 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 debian/patches/hurd-i386/git-tst-udp-timeout.diff create mode 100644 debian/patches/hurd-i386/submitted-resolv.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 02/02: patches/hurd-i386/submitted-resolv.diff: New patch
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 ba4b01289b42708e21a71a9da43693e3186c5710 Author: Samuel Thibault Date: Sun Sep 10 14:47:35 2017 + patches/hurd-i386/submitted-resolv.diff: New patch --- debian/changelog | 1 + debian/patches/hurd-i386/submitted-resolv.diff | 37 ++ debian/patches/series | 1 + 3 files changed, 39 insertions(+) diff --git a/debian/changelog b/debian/changelog index 057d218..3aa45f7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -75,6 +75,7 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/cvs-send-recv-posix.diff: Remove unused merged patch. - patches/hurd-i386/cvs-truncate64.diff: Remove unused merged patch. - patches/hurd-i386/git-tst-udp-timeout.diff: New patch. +- patches/hurd-i386/submitted-resolv.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/submitted-resolv.diff b/debian/patches/hurd-i386/submitted-resolv.diff new file mode 100644 index 000..901e386 --- /dev/null +++ b/debian/patches/hurd-i386/submitted-resolv.diff @@ -0,0 +1,37 @@ +server_thread_udp_process_one already takes care of calling sendto() +instead of xsendto to be able to ignore the case where the client has +closed the socket. Depending on the TCP/IP stack behavior, this error +could be notified later through recvfrom(), so we need to ignore it +there too. + +* support/resolv_test.c (server_thread_udp_process_one): Call recvfrom +instead of xrecvfrom, and ignore ECONNREFUSED errors. + +https://sourceware.org/ml/libc-alpha/2017-09/msg00420.html + +diff --git a/support/resolv_test.c b/support/resolv_test.c +index 1625dcf43a..c3325b89b1 100644 +--- a/support/resolv_test.c b/support/resolv_test.c +@@ -600,7 +600,7 @@ server_thread_udp_process_one (struct resolv_test *obj, int server_index) + unsigned char query[512]; + struct sockaddr_storage peer; + socklen_t peerlen = sizeof (peer); +- size_t length = xrecvfrom (obj->servers[server_index].socket_udp, ++ ssize_t length = recvfrom (obj->servers[server_index].socket_udp, + query, sizeof (query), 0, + (struct sockaddr *) &peer, &peerlen); + /* Check for termination. */ +@@ -613,6 +613,12 @@ server_thread_udp_process_one (struct resolv_test *obj, int server_index) + return false; + } + ++ if (length < 0) ++{ ++ /* The other end had closed the socket, and we are notified only now. */ ++ TEST_VERIFY_EXIT (errno == ECONNREFUSED); ++ return true; ++} + + struct query_info qinfo; + parse_query (&qinfo, query, length); diff --git a/debian/patches/series b/debian/patches/series index 7b3e5e5..67bb03b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -154,6 +154,7 @@ hurd-i386/git-rtld-strtoul_internal.diff hurd-i386/git-clone.diff hurd-i386/git-gethostname.diff hurd-i386/git-tst-udp-timeout.diff +hurd-i386/submitted-resolv.diff i386/local-biarch.diff i386/unsubmitted-quiet-ldconfig.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
[glibc] 01/02: patches/hurd-i386/git-tst-udp-timeout.diff: New patch
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 3c117af30046021d90cabcceb0d23710db8ee4dc Author: Samuel Thibault Date: Sun Sep 10 12:43:09 2017 + patches/hurd-i386/git-tst-udp-timeout.diff: New patch --- debian/changelog | 4 ++- debian/patches/hurd-i386/git-tst-udp-timeout.diff | 33 +++ debian/patches/series | 1 + 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1ee96f2..057d218 100644 --- a/debian/changelog +++ b/debian/changelog @@ -70,9 +70,11 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/git-rtld-strtoul_internal.diff: New patch. - patches/hurd-i386/git-clone.diff: New patch. - patches/hurd-i386/git-gethostname.diff: New patch. -- patches/hurd-i386/cvs-libpthread-sigstate.diff: Remove unused merged patch. +- patches/hurd-i386/cvs-libpthread-sigstate.diff: Remove unused merged +patch. - patches/hurd-i386/cvs-send-recv-posix.diff: Remove unused merged patch. - patches/hurd-i386/cvs-truncate64.diff: Remove unused merged patch. +- patches/hurd-i386/git-tst-udp-timeout.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-tst-udp-timeout.diff b/debian/patches/hurd-i386/git-tst-udp-timeout.diff new file mode 100644 index 000..28463d7 --- /dev/null +++ b/debian/patches/hurd-i386/git-tst-udp-timeout.diff @@ -0,0 +1,33 @@ +commit 00c3da43ace363315fb9e70a6d4696de0630f6cf +Author: Samuel Thibault +Date: Sun Sep 10 14:37:28 2017 +0200 + +sunrpc/tst-udp-timeout: Fix timeout value + +2.3 is not representable with double, and thus leads to rounding issues if +the clock is not very precise and the measured delay is then exactly 2.3. + +* sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5 +seconds. + +diff --git a/sunrpc/tst-udp-timeout.c b/sunrpc/tst-udp-timeout.c +index db9943a03e..7ceba98432 100644 +--- a/sunrpc/tst-udp-timeout.c b/sunrpc/tst-udp-timeout.c +@@ -352,13 +352,13 @@ test_udp_server (int port) +.a = 170, .b = 40, .timeout_ms = 3000, +.garbage_packets = with_garbage * 30 + }, +- (struct timeval) { 2, 300 * 1000 }); ++ (struct timeval) { 2, 500 * 1000 }); + after = get_ticks (); + if (test_verbose) +-printf ("info: test_udp_server: 2.3 second timeout took %f seconds" ++printf ("info: test_udp_server: 2.5 second timeout took %f seconds" + " (garbage %d)\n", + after - before, with_garbage); +- TEST_VERIFY (2.3 <= after - before); ++ TEST_VERIFY (2.5 <= after - before); + TEST_VERIFY (after - before < 3.0); + test_call_flush (clnt); + } diff --git a/debian/patches/series b/debian/patches/series index 31280e1..7b3e5e5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -153,6 +153,7 @@ hurd-i386/git-i386-implies-x86.diff hurd-i386/git-rtld-strtoul_internal.diff hurd-i386/git-clone.diff hurd-i386/git-gethostname.diff +hurd-i386/git-tst-udp-timeout.diff i386/local-biarch.diff i386/unsubmitted-quiet-ldconfig.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git