search for: dllvm_enable_werror

Displaying 20 results from an estimated 27 matches for "dllvm_enable_werror".

2013 Jul 31
2
[LLVMdev] Error building compiler-rt
...following output: pranav at pranav:~/smack-project/llvm-3.4/src/projects/compiler-rt$ grep -Rin WERROR * lib/asan/tests/CMakeLists.txt:38: -Werror lib/asan/asan_malloc_mac.cc:253:// This function is currently unused, and we build with -Werror. lib/tsan/check_cmake.sh:8:CC=clang CXX=clang++ cmake -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON $ROOT/../../../.. lib/tsan/Makefile.old:3:CXXFLAGS = -fPIE -fno-rtti -g -Wall -Werror \ lib/tsan/rtl/Makefile.old:1:CXXFLAGS = -fPIE -g -Wall -Werror -fno-builtin -DTSAN_DEBUG=$(DEBUG) -DSANITIZER_DEBUG=$(DEBUG) lib/tsan/go/buildgo.sh:68:FLA...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
...ranav:~/smack-project/llvm-3.4/src/projects/compiler-rt$ grep > -Rin WERROR * > lib/asan/tests/CMakeLists.txt:38: -Werror > lib/asan/asan_malloc_mac.cc:253:// This function is currently unused, and > we build with -Werror. > lib/tsan/check_cmake.sh:8:CC=clang CXX=clang++ cmake > -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release > -DLLVM_ENABLE_ASSERTIONS=ON $ROOT/../../../.. > lib/tsan/Makefile.old:3:CXXFLAGS = -fPIE -fno-rtti -g -Wall -Werror \ > lib/tsan/rtl/Makefile.old:1:CXXFLAGS = -fPIE -g -Wall -Werror -fno-builtin > -DTSAN_DEBUG=$(DEBUG) -DSANITIZER_DEBUG=$(DEBUG) > lib/...
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...vm-3.4/src/projects/compiler-rt$ grep >> -Rin WERROR * >> lib/asan/tests/CMakeLists.txt:38: -Werror >> lib/asan/asan_malloc_mac.cc:253:// This function is currently unused, and >> we build with -Werror. >> lib/tsan/check_cmake.sh:8:CC=clang CXX=clang++ cmake >> -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release >> -DLLVM_ENABLE_ASSERTIONS=ON $ROOT/../../../.. >> lib/tsan/Makefile.old:3:CXXFLAGS = -fPIE -fno-rtti -g -Wall -Werror \ >> lib/tsan/rtl/Makefile.old:1:CXXFLAGS = -fPIE -g -Wall -Werror >> -fno-builtin -DTSAN_DEBUG=$(DEBUG) -DSANITIZER_DEBUG=$(...
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...t;> -Rin WERROR * >>>> lib/asan/tests/CMakeLists.txt:38: -Werror >>>> lib/asan/asan_malloc_mac.cc:253:// This function is currently unused, >>>> and we build with -Werror. >>>> lib/tsan/check_cmake.sh:8:CC=clang CXX=clang++ cmake >>>> -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release >>>> -DLLVM_ENABLE_ASSERTIONS=ON $ROOT/../../../.. >>>> lib/tsan/Makefile.old:3:CXXFLAGS = -fPIE -fno-rtti -g -Wall -Werror \ >>>> lib/tsan/rtl/Makefile.old:1:CXXFLAGS = -fPIE -g -Wall -Werror >>>> -fno-builtin -DTSAN_DEB...
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
You can disable -Werror by adding the cmake flag -DLLVM_ENABLE_WERROR=OFF, which should let it just ignore that (that's also the default, so you must have turned it on somewhere) On Jul 31, 2013, at 13:09 , Pranav Garg <pranav.garg2107 at gmail.com> wrote: > Hi, > > I am trying to build llvm along with clang and compiler-rt. When I run make, I...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
...iler-rt$ grep >>> -Rin WERROR * >>> lib/asan/tests/CMakeLists.txt:38: -Werror >>> lib/asan/asan_malloc_mac.cc:253:// This function is currently unused, >>> and we build with -Werror. >>> lib/tsan/check_cmake.sh:8:CC=clang CXX=clang++ cmake >>> -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release >>> -DLLVM_ENABLE_ASSERTIONS=ON $ROOT/../../../.. >>> lib/tsan/Makefile.old:3:CXXFLAGS = -fPIE -fno-rtti -g -Wall -Werror \ >>> lib/tsan/rtl/Makefile.old:1:CXXFLAGS = -fPIE -g -Wall -Werror >>> -fno-builtin -DTSAN_DEBUG=$(DEBUG) -DSA...
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
Hi, I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following compilation error (I tried compiling llvm-3.2, which is what I need for my project, but also tried llvm-3.3 and the current llvm source from the git repository). ... COMPILE: clang_linux/full-x86_64/x86_64:
2017 Aug 24
5
Building LLVM's fuzzers
...es in the last week or so that may be related). I'm building with a fresh top-of-tree clang and setting -DLLVM_USE_SANITIZER=Address and -DLLVM_USE_SANITIZE_COVERAGE=On, which was working before: % cmake -GNinja \ -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On \ -DLLVM_ENABLE_WERROR=On \ -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZE_COVERAGE=On \ -DCMAKE_C_COMPILER=$HOME/llvm-lkgc/bin/clang \ $HOME/code/llvm-src But when I run any of the fuzzers, it looks like the sanitizer coverage hasn't been set up correctly: % ./bin/llvm-as-fuzzer...
2017 Aug 24
3
Building LLVM's fuzzers
...#39;m building with a fresh top-of-tree clang and setting >> -DLLVM_USE_SANITIZER=Address and -DLLVM_USE_SANITIZE_COVERAGE=On, which >> was working before: >> >> % cmake -GNinja \ >> -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On \ >> -DLLVM_ENABLE_WERROR=On \ >> -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZE_COVERAGE=On \ >> -DCMAKE_C_COMPILER=$HOME/llvm-lkgc/bin/clang \ >> $HOME/code/llvm-src >> >> But when I run any of the fuzzers, it looks like the sanitizer coverage >> hasn't...
2017 Aug 24
3
Building LLVM's fuzzers
...#39;m building with a fresh top-of-tree clang and setting >> -DLLVM_USE_SANITIZER=Address and -DLLVM_USE_SANITIZE_COVERAGE=On, which >> was working before: >> >> % cmake -GNinja \ >> -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On \ >> -DLLVM_ENABLE_WERROR=On \ >> -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZE_COVERAGE=On \ >> -DCMAKE_C_COMPILER=$HOME/llvm-lkgc/bin/clang \ >> $HOME/code/llvm-src >> >> But when I run any of the fuzzers, it looks like the sanitizer coverage >> hasn't...
2017 Aug 24
3
Building LLVM's fuzzers
...op-of-tree clang and setting > >> -DLLVM_USE_SANITIZER=Address and -DLLVM_USE_SANITIZE_COVERAGE=On, which > >> was working before: > >> > >> % cmake -GNinja \ > >> -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On \ > >> -DLLVM_ENABLE_WERROR=On \ > >> -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZE_COVERAGE=On \ > >> -DCMAKE_C_COMPILER=$HOME/llvm-lkgc/bin/clang \ > >> $HOME/code/llvm-src > >> > >> But when I run any of the fuzzers, it looks like the sanitizer cove...
2015 Dec 01
2
Compilation errors
While doing a make on the recently checkout version: I got the following errors: [ 68%] Built target dd [ 68%] Built target compiler-rt-headers [ 68%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdidf.c.o In file included from /home/tthtlc/llvm/llvm/projects/compiler-rt/lib/builtins/x86_64/floatdidf.c:9:0:
2017 Aug 24
2
Building LLVM's fuzzers
..._SANITIZER=Address and -DLLVM_USE_SANITIZE_COVERAGE=On, >>> which >>> >> was working before: >>> >> >>> >> % cmake -GNinja \ >>> >> -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On \ >>> >> -DLLVM_ENABLE_WERROR=On \ >>> >> -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZE_COVERAGE=On >>> \ >>> >> -DCMAKE_C_COMPILER=$HOME/llvm-lkgc/bin/clang \ >>> >> $HOME/code/llvm-src >>> >> >>> >> But when I run...
2016 Feb 28
4
[cfe-dev] [3.8 Release] We have branched
With reference to the following thread: http://lists.llvm.org/pipermail/llvm-dev/2016-January/094100.html I am having the same issue. First I did a git pull of all the relevant directories and then doing a cmake: cmake -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_ENABLE_WERROR=OFF -DLLVM_TARGETS_TO_BUILD="X86" ../llvm and followed by make: [ 22%] Built target LLVMVectorize [ 25%] Built target LLVMScalarOpts [ 25%] Built target LLVMObjCARCOpts [ 25%] Built target LLVMLinker [ 29%] Built target LLVMAnalysis [ 30%] Built target LLVMMCParser [ 30%] Built target L...
2017 Aug 24
4
Building LLVM's fuzzers
..., >> >>> which >> >>> >> was working before: >> >>> >> >> >>> >> % cmake -GNinja \ >> >>> >> -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On \ >> >>> >> -DLLVM_ENABLE_WERROR=On \ >> >>> >> -DLLVM_USE_SANITIZER=Address >> -DLLVM_USE_SANITIZE_COVERAGE=On >> >>> \ >> >>> >> -DCMAKE_C_COMPILER=$HOME/llvm-lkgc/bin/clang \ >> >>> >> $HOME/code/llvm-src >> >...
2016 Feb 29
0
[cfe-dev] [3.8 Release] We have branched
...lvm-dev] [cfe-dev] [3.8 Release] We have branched With reference to the following thread: http://lists.llvm.org/pipermail/llvm-dev/2016-January/094100.html I am having the same issue. First I did a git pull of all the relevant directories and then doing a cmake: cmake -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_ENABLE_WERROR=OFF -DLLVM_TARGETS_TO_BUILD="X86" ../llvm and followed by make: [ 22%] Built target LLVMVectorize [ 25%] Built target LLVMScalarOpts [ 25%] Built target LLVMObjCARCOpts [ 25%] Built target LLVMLinker [ 29%] Built target LLVMAnalysis [ 30%] Built target LLVMMCParser [ 30%] Built target LL...
2017 Aug 24
3
Building LLVM's fuzzers
...t;> >>> >> was working before: >>>> >>> >> >>>> >>> >> % cmake -GNinja \ >>>> >>> >> -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On \ >>>> >>> >> -DLLVM_ENABLE_WERROR=On \ >>>> >>> >> -DLLVM_USE_SANITIZER=Address >>>> -DLLVM_USE_SANITIZE_COVERAGE=On >>>> >>> \ >>>> >>> >> -DCMAKE_C_COMPILER=$HOME/llvm-lkgc/bin/clang \ >>>> >>> >>...
2016 Feb 29
0
[cfe-dev] [3.8 Release] We have branched
...lvm-dev] [cfe-dev] [3.8 Release] We have branched With reference to the following thread: http://lists.llvm.org/pipermail/llvm-dev/2016-January/094100.html I am having the same issue. First I did a git pull of all the relevant directories and then doing a cmake: cmake -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_ENABLE_WERROR=OFF -DLLVM_TARGETS_TO_BUILD="X86" ../llvm and followed by make: [ 22%] Built target LLVMVectorize [ 25%] Built target LLVMScalarOpts [ 25%] Built target LLVMObjCARCOpts [ 25%] Built target LLVMLinker [ 29%] Built target LLVMAnalysis [ 30%] Built target LLVMMCParser [ 30%] Built target LL...
2015 Dec 01
2
Compilation errors
...-Werror] > #endif // defined(_MSC_VER) && !defined(__clang__) > > and > > error: (this will be reported only once per input file) [-Werror] > cc1: all warnings being treated as errors > > So, did you happen to have generated your make files using CMake > passing -DLLVM_ENABLE_WERROR=ON ? > > My reasoning is as follows (but please do correct me if I'm wrong > somewhere): When generating your make file using cmake, since by > default LLVM_ENABLE_PEDANTIC is set to ON, the above warning gets > triggered (cf. the description of "pedantic" at > https...
2017 Aug 25
2
Building LLVM's fuzzers
...before: > >>>>> >>> >> > >>>>> >>> >> % cmake -GNinja \ > >>>>> >>> >> -DCMAKE_BUILD_TYPE=Release > -DLLVM_ENABLE_ASSERTIONS=On \ > >>>>> >>> >> -DLLVM_ENABLE_WERROR=On \ > >>>>> >>> >> -DLLVM_USE_SANITIZER=Address > >>>>> -DLLVM_USE_SANITIZE_COVERAGE=On > >>>>> >>> \ > >>>>> >>> >> -DCMAKE_C_COMPILER=$HOME/llvm-lkgc/bin/clang \ >...