Displaying 6 results from an estimated 6 matches for "libcxx_has_gcc_s_lib".
2017 Jun 06
3
libc++ failed to link against musl
...;
> On 6/5/17 5:17 AM, Dmitry Golovin via llvm-dev wrote:
>> I'm trying to build LLVM, Clang, LLD, compiler-rt, libc++, libc++abi and libunwind with musl-based toolchain.
>>
>> The configuration is the following:
>>
>> LIBCXX_HAS_MUSL_LIBC=ON
>> LIBCXX_HAS_GCC_S_LIB=OFF
>> CLANG_DEFAULT_CXX_STDLIB=libc++
>> CLANG_DEFAULT_LINKER=lld
>> CLANG_DEFAULT_RTLIB=compiler-rt
>> LLVM_DEFAULT_TARGET_TRIPLE=x86_64-pc-linux-musl
>> LLVM_TARGET_ARCH=x86_64
>> LLVM_TARGETS_TO_BUILD=X86
>>
>> When linkin...
2017 Jun 05
3
libc++ failed to link against musl
I'm trying to build LLVM, Clang, LLD, compiler-rt, libc++, libc++abi and libunwind with musl-based toolchain.
The configuration is the following:
LIBCXX_HAS_MUSL_LIBC=ON
LIBCXX_HAS_GCC_S_LIB=OFF
CLANG_DEFAULT_CXX_STDLIB=libc++
CLANG_DEFAULT_LINKER=lld
CLANG_DEFAULT_RTLIB=compiler-rt
LLVM_DEFAULT_TARGET_TRIPLE=x86_64-pc-linux-musl
LLVM_TARGET_ARCH=x86_64
LLVM_TARGETS_TO_BUILD=X86
When linking libc++.so there are a lot of undefined references to __cxa_alloc...
2019 Sep 20
2
Building LLVM with LLVM with no dependence on GCC
Thus wrote David Demelier via llvm-dev:
> Also you will need to add more options to the components. See for example:
>
> LIBCXX_CXX_ABI=libcxxabi
> LIBCXX_USE_COMPILER_RT=On
> LIBCXXABI_USE_LLVM_UNWINDER=On
> LIBCXXABI_USE_COMPILER_RT=On
> LIBCXX_HAS_GCC_S_LIB=Off
> LIBUNWIND_USE_COMPILER_RT=On
>
> And as mentioned above
>
> CLANG_DEFAULT_CXX_STDLIB=libc++
> CLANG_DEFAULT_RTLIB=compiler-rt
> CLANG_DEFAULT_LINKER=lld
Thank you so much for your help, but when I try to build LLVM with LLVM like so:
=== snip ===
cmake \
-DLLVM_ENABL...
2019 Sep 17
2
Building LLVM with LLVM with no dependence on GCC
Hi folks!
I'm trying to get rid of any dependency on libgcc*, but without success so
far. The following commands were executed on a freshliy installed and updated
Ubuntu 16.04 LTS:
=== snip ===
sudo apt-get install build-essential libffi-dev cmake # see aptget.txt for packages installed
sudo mv /usr/local /usr/local.orig
git clone https://github.com/llvm/llvm-project.git
cd llvm-project; git
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
...:INTERNAL=1
//Test LIBCXX_HAS_EHSC_FLAG
LIBCXX_HAS_EHSC_FLAG:INTERNAL=
//Test LIBCXX_HAS_FNO_EXCEPTIONS_FLAG
LIBCXX_HAS_FNO_EXCEPTIONS_FLAG:INTERNAL=1
//Test LIBCXX_HAS_FNO_RTTI_FLAG
LIBCXX_HAS_FNO_RTTI_FLAG:INTERNAL=1
//Test LIBCXX_HAS_FPIC_FLAG
LIBCXX_HAS_FPIC_FLAG:INTERNAL=1
//Have library gcc_s
LIBCXX_HAS_GCC_S_LIB:INTERNAL=1
//Have library m
LIBCXX_HAS_M_LIB:INTERNAL=1
//Test LIBCXX_HAS_NODEFAULTLIBS_FLAG
LIBCXX_HAS_NODEFAULTLIBS_FLAG:INTERNAL=1
//Test LIBCXX_HAS_NOSTDINCXX_FLAG
LIBCXX_HAS_NOSTDINCXX_FLAG:INTERNAL=1
//Test LIBCXX_HAS_NO_EHA_FLAG
LIBCXX_HAS_NO_EHA_FLAG:INTERNAL=
//Test LIBCXX_HAS_NO_EHS_FLAG...