On Thu, Jan 16, 2025 at 01:54:05PM -0500, Chris Knadle wrote:
> > 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.

ITYM libgcc-14-dev, and it's in build-essential.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature

Reply via email to