On Fri, Nov 30, 2018 at 1:05 PM John Paul Adrian Glaubitz
<glaub...@physik.fu-berlin.de> wrote:
>
> Hi!
>
> Attaching a proof-of-concept patch which fixes the issue for me.
>
> The patch shouldn't be used as-is as it links against libatomic
> unconditionally while it should only link against it when necessary.

src:tbb is unconditionally using -latomic for a few Debian releases
now and this has not been an issue. libatomic will default to using
the correct intrinsics on supported hardware, so the link step should
even be able to drop totally deps to that lib.

Reply via email to