• Bug#1067077: atomic operations on 64-bit time_t

    From David Lamparter@21:1/5 to Sebastian Ramacher on Mon Apr 29 17:00:01 2024
    On Mon, Mar 18, 2024 at 12:42:56AM +0100, Sebastian Ramacher wrote:
    Source: frr
    Version: 9.1-0.1
    Justification: fails to build from source (but built successfully in the past)
    [...]
    https://buildd.debian.org/status/fetch.php?pkg=frr&arch=armel&ver=9.1-0.1&stamp=1710631814&raw=0
    [...]
    ./build/../bgpd/bgp_vty.c:13678:(.text+0x1d934): undefined reference to `__atomic_load_8'
    [...]

    This is due to FRR using "_Atomic time_t", which ... with the 64-bit
    time_t transition is now 8 bytes, and armel, hppa, m68k, powerpc and sh4
    can't do 64-bit atomic ops...

    I'm not sure what the best fix for this is, I looked at https://wiki.debian.org/ReleaseGoals/64bit-time but there is no mention
    of atomic ops on time_t. Googling didn't yield anything either. Is frr
    the only package using "_Atomic time_t"?

    Input appreciated...


    -equi (David)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)