[LLVMdev] LLVM Clang compiling error
Andrey Pudov
syscreat at gmail.com
Thu May 24 13:27:06 PDT 2012
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].
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
More information about the llvm-dev
mailing list