[LLVMbugs] [Bug 23556] New: compiler-rt build fails with "member reference base type 'volatile atomic_flag' "

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 18 04:18:31 PDT 2015


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: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150518/b7bbee26/attachment.html>


More information about the llvm-bugs mailing list