[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#915046: mariadb-10.3: Please build with -latomic where necessary



On Fri, Nov 30, 2018 at 1:05 PM John Paul Adrian Glaubitz
<glaubitz@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 to: