On 2024-04-29 16:45:16 +0200, David Lamparter wrote: > 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...
Linking with -latomic fixes that. Cheers > > 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) -- Sebastian Ramacher