search for: llvm_enable_lld

Displaying 6 results from an estimated 6 matches for "llvm_enable_lld".

Did you mean: dllvm_enable_lld
2016 Dec 02
2
Failed to configure LLVM for use with Musl
...= x86_64-pc-linux-musl DEFAULT_SYSROOT = /path/to/musl GCC_INSTALL_PREFIX = /path/to/gcc-stub LLVM_TARGETS_TO_BUILD = X86 LIBCXXABI_USE_COMPILER_RT = ON LIBCXXABI_USE_LLVM_UNWINDER = ON LIBCXX_HAS_MUSL_LIBC = ON LIBCXX_USE_COMPILER_RT = ON LLVM_ENABLE_LIBCXX = ON LLVM_ENABLE_LLD = ON When I try to configure, I get the following error messages: CMake Warning at cmake/modules/HandleLLVMStdlib.cmake:24 (message): Can't specify libc++ with '-stdlib=' Call Stack (most recent call first): cmake/config-ix.cmake:15 (include) CMakeLists.txt:566 (include)...
2017 Feb 27
2
Compiling LLVM with locally built clang | Errors
Hello, I issued the following command to point the build to use clang and clang++, from a local llvm build directory included in PATH, instead of /usr/bin/{cc,c++}, cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ../llvm_src The configuration failed with the error stating the compiler didn't recognize '-std=c++11' flag, whereas clang compiled a dummy c++ file with
2019 Nov 26
5
debug build busts memory
The linking state of a Debug build seems to require a humongous amount of memory. My poor little linux machine with 16G of ram swaps its brains out. Waiting for it to finish (if it ever does) is like the old days when you submitted your deck of cards and waited until the next day to see the results. To debug a new backend, is there a way to just get the debug info for the Target/Foo
2020 Jan 02
6
error in building llvm with default options
hello, I am trying to build LLVM with default options. I am getting the following error message after make. [100%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/metadata.c.o [100%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/module.c.o [100%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/object.c.o [100%] Building C object
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a /lot/ of errors like this (strangely I hit none of these in check-llvm, only in check-clang): Any ideas? ==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes at address 0x631000014800 ==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...FF //Enable expensive checks LLVM_ENABLE_EXPENSIVE_CHECKS:BOOL=OFF //Use libffi to call external functions from the interpreter LLVM_ENABLE_FFI:BOOL=OFF //Use libc++ if available. LLVM_ENABLE_LIBCXX:BOOL=OFF //Use libedit if available. LLVM_ENABLE_LIBEDIT:BOOL=ON //Use lld as C and C++ linker. LLVM_ENABLE_LLD:BOOL=OFF //Compile with -fmodules-local-submodule-visibility. LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY:BOOL=ON //Build LLVM with LTO. May be specified as Thin or Full to use // a particular kind of LTO LLVM_ENABLE_LTO:STRING=OFF //Compile with C++ modules enabled. LLVM_ENABLE_MODULES:BOOL=OFF //C...