public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug time/28469] New: linux: struct timex is not correctly set for 32-bit systems with TIMESIZE=64
@ 2021-10-18 20:00 adhemerval.zanella at linaro dot org
  2021-10-18 20:45 ` [Bug time/28469] " adhemerval.zanella at linaro dot org
  0 siblings, 1 reply; 2+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-10-18 20:00 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 28469
           Summary: linux: struct timex is not correctly set for 32-bit
                    systems with TIMESIZE=64
           Product: glibc
           Version: 2.34
            Status: NEW
          Severity: normal
          Priority: P2
         Component: time
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
  Target Milestone: ---

On riscv32 there are two regressions:

  FAIL: misc/tst-ntp_gettime
  FAIL: misc/tst-ntp_gettimex

On Linux side, the clock_adjtime syscall (kernel/time/posix-timers.c:1112)
which maps to __NR_clock_gettime64 on 32-bit with legacy 32-bit and
__NR_clock_gettime otherwise always use __kernel_timex.

Since 32-bit systems with TIMESIZE=64 __USE_TIME_BITS64 is not defined, on suc
systems the wrong kernel interface is used.

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

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

end of thread, other threads:[~2021-10-18 20:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 20:00 [Bug time/28469] New: linux: struct timex is not correctly set for 32-bit systems with TIMESIZE=64 adhemerval.zanella at linaro dot org
2021-10-18 20:45 ` [Bug time/28469] " adhemerval.zanella at linaro dot 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).