ppoll with -D_TIME_BITS=64 and -D_FORTIFY_SOURCE

Florian Weimer fweimer@redhat.com
Wed Nov 9 11:34:01 GMT 2022


* Ola x. Nilsson via Libc-help:

> I've run into some problems when building programs using ppoll on a
> 32bit system with
> -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE -O

There's already discussion on a bug and on libc-alpha:

  ppoll() does not switch to __ppoll64 when -D_TIME_BITS=64 and
  -D_FORTIFY_SOURCE=2 is given on 32bit
  <https://sourceware.org/bugzilla/show_bug.cgi?id=29746>

  [PATCH v4] Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746)
  <https://sourceware.org/pipermail/libc-alpha/2022-November/143344.html>
  (plus earlier threads for previous versions)

Thanks,
Florian



More information about the Libc-help mailing list