On Sun, Jul 09, 2023 at 01:13:55AM +0300, Michael Tokarev wrote: > 09.07.2023 01:01, Adrian Bunk wrote: > > This does apparently need the -latomic workaround from 2:4.18.3+dfsg-3: > > https://buildd.debian.org/status/package.php?p=samba&suite=bookworm > > Sigh! > This is the kerberos in-kernel tickets.. :( > > I haven't realized until now that atomic8 thing come into the game after > I enabled the in-kernel kerberos tickets. I was sure it was due to some > toolchain changes.
FTR, the underlying toolchain bug is not new: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 > Now I know why we weren't able to reproduce this issue > with upstream, - because it happens in the code which is enabled by this > change. >... The error message is a bit cryptic, but it basically says in which lines in krcache.c the 64bit loads/stores are for which the CPU has no instructions and needs libatomic. Not linking with libatomic automatically for C11 atomics is the gcc bug. > Thank you! > > /mjt cu Adrian

