public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: <skabe@vega.pgw.jp>
Cc: adhemerval.zanella@linaro.org,  libc-alpha@sourceware.org
Subject: Re: [PATCH] Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746)
Date: Mon, 07 Nov 2022 13:22:42 +0100	[thread overview]
Message-ID: <mvmedufdkdp.fsf@suse.de> (raw)
In-Reply-To: <221107211353.M0119762@vega.pgw.jp> (skabe@vega.pgw.jp's message of "Mon, 7 Nov 2022 21:13:53 +0900")

On Nov 07 2022, skabe@vega.pgw.jp wrote:

> I tried out the patch.
> It applies, and newly installed /usr/local/glibc2/include/bits/poll2.h
> is properly patched, but still
> gcc -I/usr/local/glibc2/include/ -march=i686 -m32 -O -g -D_FORTIFY_SOURCE=2 -c poll.c
> tries to use raw ppoll(), not __ppoll64().
> Am I missing something?

That doesn't give you a 64-bit time_t, you need -D_TIME_BITS=64 for
that.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

  reply	other threads:[~2022-11-07 12:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04 19:34 Adhemerval Zanella
2022-11-07  9:44 ` Andreas Schwab
2022-11-07 13:54   ` Adhemerval Zanella Netto
2022-11-07 12:13 ` skabe
2022-11-07 12:22   ` Andreas Schwab [this message]
2022-11-07 13:03 ` Andreas Schwab

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=mvmedufdkdp.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@sourceware.org \
    --cc=skabe@vega.pgw.jp \
    /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).