public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug time/30156] New: Potential ntp_gettime abi break
@ 2023-02-22 17:27 vfjpl1 at gmail dot com
2023-02-22 17:55 ` [Bug time/30156] " sam at gentoo dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vfjpl1 at gmail dot com @ 2023-02-22 17:27 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30156
Bug ID: 30156
Summary: Potential ntp_gettime abi break
Product: glibc
Version: 2.32
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: time
Assignee: unassigned at sourceware dot org
Reporter: vfjpl1 at gmail dot com
Target Milestone: ---
Between versions v2.11 and v2.12 struct ntptimeval got new fields.
That wasn't a problem because new function ntp_gettimex was created
(and made default) to support new struct. Old ntp_gettime was not
using new fields so it was safe to call with old struct
definition. Then between versions v2.31 and v2.32 when working on
y2038 support, ntp_gettime start setting new fields. Is my reasoning correct
that this constitutes abi break for old binaries using ntp_gettime function?
And second question.
what about ntptimeval struct getting new members. Wasn't that abi break if for
example some library used that struct in their public interface?
--
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 time/30156] Potential ntp_gettime abi break
2023-02-22 17:27 [Bug time/30156] New: Potential ntp_gettime abi break vfjpl1 at gmail dot com
@ 2023-02-22 17:55 ` sam at gentoo dot org
2023-02-22 18:01 ` vfjpl1 at gmail dot com
2023-03-10 18:12 ` adhemerval.zanella at linaro dot org
2 siblings, 0 replies; 4+ messages in thread
From: sam at gentoo dot org @ 2023-02-22 17:55 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30156
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gentoo dot org
--
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 time/30156] Potential ntp_gettime abi break
2023-02-22 17:27 [Bug time/30156] New: Potential ntp_gettime abi break vfjpl1 at gmail dot com
2023-02-22 17:55 ` [Bug time/30156] " sam at gentoo dot org
@ 2023-02-22 18:01 ` vfjpl1 at gmail dot com
2023-03-10 18:12 ` adhemerval.zanella at linaro dot org
2 siblings, 0 replies; 4+ messages in thread
From: vfjpl1 at gmail dot com @ 2023-02-22 18:01 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30156
--- Comment #1 from Kacper Piwiński <vfjpl1 at gmail dot com> ---
Created attachment 14706
--> https://sourceware.org/bugzilla/attachment.cgi?id=14706&action=edit
patch
--
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 time/30156] Potential ntp_gettime abi break
2023-02-22 17:27 [Bug time/30156] New: Potential ntp_gettime abi break vfjpl1 at gmail dot com
2023-02-22 17:55 ` [Bug time/30156] " sam at gentoo dot org
2023-02-22 18:01 ` vfjpl1 at gmail dot com
@ 2023-03-10 18:12 ` adhemerval.zanella at linaro dot org
2 siblings, 0 replies; 4+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2023-03-10 18:12 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30156
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |adhemerval.zanella at linaro dot o
| |rg
Target Milestone|--- |2.38
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed on 2.38.
--
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:[~2023-03-10 18:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22 17:27 [Bug time/30156] New: Potential ntp_gettime abi break vfjpl1 at gmail dot com
2023-02-22 17:55 ` [Bug time/30156] " sam at gentoo dot org
2023-02-22 18:01 ` vfjpl1 at gmail dot com
2023-03-10 18:12 ` 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).