Bug#903709: atomic_init() and friends failing on clang

Peter Palfrader weasel at debian.org
Thu Aug 9 07:22:59 BST 2018


severity 903709 important
thanks

On Fri, 13 Jul 2018, Peter Palfrader wrote:

> Package: clang-6.0
> Version: 1:6.0.1-2
> Severity: normal
> 
> Clang fails to compile the following snippet on (at least) amd64 and i386
> while gcc builds it:
> 
> #include <stdatomic.h>
> void increment(atomic_size_t *arg) {
>   atomic_fetch_add(arg, 1);
> }
> 
> Maybe something is fishy with the include paths, but it's not clear to me.

Ping?

This breaks building perfectly fine software.

-- 
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/



More information about the Pkg-llvm-team mailing list