On Mon, May 22, 2023 at 06:24:53PM -0700, Steve Langasek wrote:
> > We don't need to enable/fix it for everything though.  A rebuild check of
> > affected libraries to see how much work this adds would be a good idea.

> Isn't it a problem not just for library ABIs but also for any other packages
> rebuild with -D_TIME_BITS=64, because the code will be consuming the 64-bit
> prototype from the headers but using the 32-bit symbol at runtime?

To clarify: not every package will be affected by this because not every
package is going to use the libc time_t functions.  But enough will that I
think the better path forward is to enable
-Werror=implicit-function-declaration across the board and fix any build
failures, which makes for better code in the long run anyway, than to enable
this by hand only for affected libraries and then have to deal with a bunch
of runtime bugs.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to