public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/28837] New: FAIL: socket/tst-socket-timestamp-compat
@ 2022-01-29  4:59 hjl.tools at gmail dot com
  2022-01-29 14:57 ` [Bug libc/28837] " cvs-commit at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-29  4:59 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28837

            Bug ID: 28837
           Summary: FAIL: socket/tst-socket-timestamp-compat
           Product: glibc
           Version: 2.35
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: adhemerval.zanella at linaro dot org, drepper.fsp at gmail dot com
  Target Milestone: ---

sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c has

static int
do_test (void)
{
  /* This test only make sense for ABIs that support 32 bit time_t socket
     timestampss.  */
  if (sizeof (time_t) > 4 && __WORDSIZE == 64)
    return 0;

This is wrong for x32 which has 64-bit time_t from day one, but __WORDSIZE
is 32.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/28837] FAIL: socket/tst-socket-timestamp-compat
  2022-01-29  4:59 [Bug libc/28837] New: FAIL: socket/tst-socket-timestamp-compat hjl.tools at gmail dot com
@ 2022-01-29 14:57 ` cvs-commit at gcc dot gnu.org
  2022-01-29 15:21 ` hjl.tools at gmail dot com
  2022-02-01 18:54 ` cvs-commit at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-29 14:57 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28837

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=77a602ebb0769e7ccc5f9f8e06f7fffe66f69dfc

commit 77a602ebb0769e7ccc5f9f8e06f7fffe66f69dfc
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Jan 29 05:22:31 2022 -0800

    tst-socket-timestamp-compat.c: Check __TIMESIZE [BZ #28837]

    time_t size is defined by __TIMESIZE, not __WORDSIZE.  Check __TIMESIZE,
    instead of __WORDSIZE, for time_t size.  This fixes BZ #28837.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/28837] FAIL: socket/tst-socket-timestamp-compat
  2022-01-29  4:59 [Bug libc/28837] New: FAIL: socket/tst-socket-timestamp-compat hjl.tools at gmail dot com
  2022-01-29 14:57 ` [Bug libc/28837] " cvs-commit at gcc dot gnu.org
@ 2022-01-29 15:21 ` hjl.tools at gmail dot com
  2022-02-01 18:54 ` cvs-commit at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-29 15:21 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28837

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.35

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 2.35.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/28837] FAIL: socket/tst-socket-timestamp-compat
  2022-01-29  4:59 [Bug libc/28837] New: FAIL: socket/tst-socket-timestamp-compat hjl.tools at gmail dot com
  2022-01-29 14:57 ` [Bug libc/28837] " cvs-commit at gcc dot gnu.org
  2022-01-29 15:21 ` hjl.tools at gmail dot com
@ 2022-02-01 18:54 ` cvs-commit at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-01 18:54 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28837

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.34/master branch has been updated by Adhemerval Zanella
<azanella@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=008003dc6e83439c5e04a744b7fd8197df19096e

commit 008003dc6e83439c5e04a744b7fd8197df19096e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Jan 29 05:22:31 2022 -0800

    tst-socket-timestamp-compat.c: Check __TIMESIZE [BZ #28837]

    time_t size is defined by __TIMESIZE, not __WORDSIZE.  Check __TIMESIZE,
    instead of __WORDSIZE, for time_t size.  This fixes BZ #28837.

    (cherry pick from commit 77a602ebb0769e7ccc5f9f8e06f7fffe66f69dfc)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-01 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-29  4:59 [Bug libc/28837] New: FAIL: socket/tst-socket-timestamp-compat hjl.tools at gmail dot com
2022-01-29 14:57 ` [Bug libc/28837] " cvs-commit at gcc dot gnu.org
2022-01-29 15:21 ` hjl.tools at gmail dot com
2022-02-01 18:54 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).