https://llvm.org/bugs/show_bug.cgi?id=23556

            Bug ID: 23556
           Summary: compiler-rt build fails with "member reference base
                    type 'volatile atomic_flag' "
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Current snapshot of compiler-rt fails to build under Ubuntu utopic:
----
/tmp/buildd/llvm-toolchain-snapshot-3.7~svn237553/build-llvm/Release/bin/clang
-fPIC
-I/tmp/buildd/llvm-toolchain-snapshot-3.7~svn237553/projects/compiler-rt/lib
-I/tmp/buildd/llvm-toolchain-snapshot-3.7~svn237553/projects/compiler-rt/include
-Wall -Werror -O3 -fomit-frame-pointer -m64 -c -o
/tmp/buildd/llvm-toolchain-snapshot-3.7~svn237553/build-llvm/tools/clang/runtime/compiler-rt/clang_linux/builtins-x86_64/x86_64/SubDir.lib__builtins/atomic_flag_clear.o
/tmp/buildd/llvm-toolchain-snapshot-3.7~svn237553/projects/compiler-rt/lib/builtins/atomic_flag_clear.c

/tmp/buildd/llvm-toolchain-snapshot-3.7~svn237553/projects/compiler-rt/lib/builtins/atomic_flag_clear.c:18:38:
error: member reference base type 'volatile atomic_flag' (aka 'volatile
_Atomic(struct (anonymous struct at
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/stdatomic.h:232:17))') is not a
structure or union
  return __c11_atomic_store(&(object)->_Value, 0, __ATOMIC_SEQ_CST);
                             ~~~~~~~~^ ~~~~~~
1 error generated.
----

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to