unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Stafford Horne via Libc-alpha <libc-alpha@sourceware.org>
To: Joseph Myers <joseph@codesourcery.com>
Cc: Openrisc <openrisc@lists.librecores.org>,
	GLIBC patches <libc-alpha@sourceware.org>
Subject: Re: [PATCH v2] time: Fix overflow itimer tests on 32-bit systems
Date: Wed, 18 Aug 2021 08:33:33 +0900	[thread overview]
Message-ID: <CAAfxs75zCUbA1Y3tMssvErhADNPYLevw1azdK4RBt+BU7gFP7Q@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2108162231010.136350@digraph.polyomino.org.uk>

On Tue, Aug 17, 2021, 7:33 AM Joseph Myers <joseph@codesourcery.com> wrote:

> On Tue, 17 Aug 2021, Stafford Horne via Libc-alpha wrote:
>
> > Should we provide __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 for not linux
> builds,
> > or remove __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 from the itimer test
> again?
> > The reason for using __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 is to pick
> up the
> > timeval size which is different on each architecture.
>
> I'd suggest having a macro that doesn't refer to either "kernel" or "old
> timeval" (and that is defined for both Linux and Hurd).  As far as I
> understand, the logical concept that's relevant for this test isn't either
> one of those, it's more like "setitimer supports times that cannot be
> represented in 32 bits".
>

Hello,

That makes sense, currently with the hurd build being broken how urgent is
this?  I worked on reproducing the build issue with build-many but didn't
get it working yet, probably about 80% there before I ran out of time.

I'll try to get it fixed in a few days as my top priority, but I only have
an hour or two a day to look at it. If we need to revert or add a temporary
patch please feel free.

-stafford

>

  reply	other threads:[~2021-08-17 23:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06  9:42 [PATCH v2] time: Fix overflow itimer tests on 32-bit systems Stafford Horne via Libc-alpha
2021-08-11 20:30 ` Adhemerval Zanella via Libc-alpha
2021-08-14 22:24   ` Stafford Horne via Libc-alpha
2021-08-16 17:12     ` Joseph Myers
2021-08-16 21:54       ` Stafford Horne via Libc-alpha
2021-08-16 22:32         ` Joseph Myers
2021-08-17 23:33           ` Stafford Horne via Libc-alpha [this message]
2021-08-19 12:46             ` Adhemerval Zanella via Libc-alpha

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

  List information: https://www.gnu.org/software/libc/involved.html

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

  git send-email \
    --in-reply-to=CAAfxs75zCUbA1Y3tMssvErhADNPYLevw1azdK4RBt+BU7gFP7Q@mail.gmail.com \
    --to=libc-alpha@sourceware.org \
    --cc=joseph@codesourcery.com \
    --cc=openrisc@lists.librecores.org \
    --cc=shorne@gmail.com \
    /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).