On 1/16/25 10:52, Simon Richter wrote:
Hi,

atomic operations require linking against libatomic — always have. Some architectures inline a few functions, which is how you get away with omitting the library on amd64 most of the time, but this is incorrect.

No architecture specific patch should be required here, adding libatomic everywhere is fine, possibly via
-Wl,--push-options,--as-needed,-latomic,--pop-options

(although as-needed is likely default anyway)

   Simon

I'm assuming this also requires adding libatomic1 as a build dependency.
Huh. So there's a chance this an fix the build for armel too. Nice.

Thanks.

  -- Chris

Chris Knadle
chris.kna...@coredump.us


Reply via email to