public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Carlos O'Donell <carlos@redhat.com>,
	Lukasz Majewski <lukma@denx.de>,
	libc-alpha <libc-alpha@sourceware.org>,
	Florian Weimer <fweimer@redhat.com>
Subject: Re: Patch review status for 64-bit time_t patches.
Date: Fri, 4 Jun 2021 13:49:52 -0300	[thread overview]
Message-ID: <bd45dd75-e744-0061-a838-4e8521d1de4d@linaro.org> (raw)
In-Reply-To: <25af64e5-bb8d-96cd-558f-59d463877dcc@redhat.com>



On 03/06/2021 00:56, Carlos O'Donell wrote:
> On 5/31/21 5:09 PM, Carlos O'Donell wrote:
>> On 5/27/21 5:46 PM, Carlos O'Donell wrote:
>>> Adhemerval, Lukasz,
>>>
>>> I'm at ~6/25 patches reviewed. I started not by reviewing but by building additional
>>> glibc packages for Fedora Rawhide and then testing in Rawhide.
>>>
>>> Testing looks good in Fedora Rawhide on top of Florian's recent merge in of the
>>> most recent development changes.
>>>
>>> I'll continue reviewing these as discussed in order to ensure we can merge them
>>> in a timely fashion.
>>
>> Just a quick status update.
>>
>> I'm at ~18/25 patches reviewed.
>>
>> I had a somewhat long discussion with Adhemerval on IRC about the new dual-time
>> ABI and the dropping of the __glibc_reserved* entries form the public ABI. This
>> is OK for the new ABI, but we must be careful we don't ever define __USE_TIME_BITS64
>> for any existing 64-bit time_t ABIs since it would be an ABI regression.
>>
>> I'm out of time today, but I'll come back tomorrow to try finish the reviews.
>  
> I'm at ~21/25 patches reviewed.
> 
> I went back over the sysvipc ABI again looking to see if I could make it match
> up by putting back the reserved structure members to match the kernel ABI and
> I could. 
> 
> I'm going to recommend we change to match the kernel ABI from a legacy perspective.

Hi Carlos,

I tried to follow your suggestion here and although feasible, it would required
to provide a special struct_msqid64_ds_helper.h (and other similar sysvipc 
headers) for some specific architectures: arm, mips (all abis), and s390.

This is due the special alignment requirement of changing the fields with
__time_t to __time64. For instance, with even the extra two reserved fields
for 'msqid_ds', the size increases from 88 to 96 on arm.

And these extra arch-specific definitions is one thing I would like to
avoid. As I commented with you on IRC, the sysvipc is really an legacy API
and I don't expect the kernel to provide new control mechanism (that
would require us to extend the control structures.

      reply	other threads:[~2021-06-04 16:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 21:46 Carlos O'Donell
2021-05-28  8:45 ` Lukasz Majewski
2021-05-31 21:09 ` Carlos O'Donell
2021-06-01  8:40   ` Lukasz Majewski
2021-06-03  3:56   ` Carlos O'Donell
2021-06-04 16:49     ` Adhemerval Zanella [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bd45dd75-e744-0061-a838-4e8521d1de4d@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=carlos@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=lukma@denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).