[debian-mysql] Bug#915046: mariadb-10.3: Please build with -latomic where necessary

Mathieu Malaterre malat at debian.org
Fri Nov 30 12:23:37 GMT 2018

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

More information about the pkg-mysql-maint mailing list