Re: Best practice for linking against libatomic?

Florian Weimer via Gcc-help <[email protected]> Mon, 12 Jan 2026 15:59:30 +0100
Newsgroups gmane.comp.gcc.help
Message-ID <[email protected]>
* Mathieu Malaterre:

> This has worked for while in Debian:
>
> * https://salsa.debian.org/science-team/tbb/-/blob/master/debian/rules?ref_type=heads#L31-34
>
> I've also written a cmake function to detect only when needed (see hwy/libjxl).

It would be interesting to know which functionality needs libatomic.
What are the linker errors you encountered?

Thanks,
Florian