[LLVMdev] LLVM Clang compiling error

David Blaikie dblaikie at gmail.com
Thu May 24 15:07:32 PDT 2012


On Thu, May 24, 2012 at 1:27 PM, Andrey Pudov <syscreat at gmail.com> wrote:

> Dear Sir,
>
> I am trying to compile llvm (llvm, clang, compiler-rt) package. I got an
> errors:
> /llvm/projects/compiler-rt/lib/tsan/rtl/tsan_defs.h:144:9: error:
> expression result unused; assign into a variable to force a volatile load
> [-Werror, -Wunused-volatile-lvalue].
>

I assume/expect this is addressed by r157414 in Clang.


>
> Same errors in lines 145 and 146 ((void) cfg; (void)stats; (void)shadow).
>
> OS: RHEL 6.2 (x86-64)
> GCC: 4.4.6
>
> Compiled with optimization enabled flag.
>
> Also some tests (make check-all) finished unsuccessful.
>
> Could you please help with this issue?
>
> - Andrey
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120524/6bac8ca7/attachment.html>


More information about the llvm-dev mailing list