Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] Getting lld to compile on Mac OS X Lion"
2019 Apr 13
2
Failed to replace stdlibc++ with libc++, linker phase error
On 04/12/2019 06:31 PM, Tom Stellard via llvm-dev wrote:
> On 04/12/2019 04:28 PM, AiChi via llvm-dev wrote:
>> Hi,
>>
>> I'm currently working on one of my team's project to build LLVM full clang toolchain (Clang, libcxx, libcxxabi) on a CentOS machine.
>>
>> Previously we compiled our codebase with llvm-toolset-7/clang++, which by default takes stdlibc++
2018 May 06
2
Cannot compile LLVM suite with clang+lld
I try to compile LLVM, clang, lld and libcxx together in one source
directory following the instructions on the website.
I'm running Arch Linux and already have LLVM, clang, lld and libcxx
installed (prebuilt against libstdc++). Now I want a "pure"
llvm toolchain.
The following options were used:
-DBOOTSTRAP_LLVM_ENABLE_LLD
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
Greetings!
I have been building llvm-3.6.x, 3.7.1 and 3.7.2 with (glibc-2.12.1, binutils-2.24, gcc-4.9.2) almost same set if CMake flags.
However while building LLVM-3.8.0 using same CMake flags I am observing projects/libcxx/include/cmath errors...
...'::signbit' has not been declared
...'::fpclassify' has not been declared
...'::isfinite' has not been declared
...
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
cmake -E cmake_progress_report llvm-3.8.0.src_bld_x86_64-rhel6.4-linux-gnu/CMakeFiles
In file included from llvm-3.8.0.src/projects/libcxx/include/__hash_table:19:0,
from llvm-3.8.0.src/projects/libcxx/src/hash.cpp:10:
llvm-3.8.0.src/projects/libcxx/include/cmath:310:9: error: '::signbit' has not been declared
using ::signbit;
^
2017 May 01
2
Problem with Polly build
2017-05-01 20:16 GMT+02:00 Eugene Zelenko via llvm-dev
<llvm-dev at lists.llvm.org>:
> Hi, Hongbin!
>
> On Mon, May 1, 2017 at 11:06 AM, Hongbin Zheng <etherzhhb at gmail.com> wrote:
>> Hi Eugene,
>>
>> It is strange, I also do a clean build with CMake+make with r301734 and it
>> is ok. Could you provide more details?
>>
>> Thanks
>>
2016 Mar 16
3
Trunk: LLVM build is failing with a lot of `undefined reference` errors
Hello
I'm trying to compile LLVM, Clang and LLDB on Ubuntu 14.04 LTS as
described on llvm.org [1][2]:
```
sudo apt-get install subversion cmake ninja-build doxygen \
swig libedit-dev libncurses5-dev libxml2-dev
mkdir llvm-src
cd llvm-src
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
cd llvm/tools
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
svn co
2018 May 06
0
Cannot compile LLVM suite with clang+lld
You also need -DLIBUNWIND_USE_COMPILER_RT=ON
-DLIBCXXABI_USE_LLVM_UNWINDER=ON. This is because you set
-DLIBCXXABI_USE_COMPILER_RT=ON
so libc++abi.so is no longer being linked agains libgcc_s.so which is where
the unwinder otherwise comes from.
On Sun, May 6, 2018 at 4:05 AM via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> I try to compile LLVM, clang, lld and libcxx together in one
2020 Feb 04
2
CMakeTestCCompiler fails
Trunk clang does not pass CMake C Compiler test like below:
CMake Error at
/home/usr4/c74014i/opt/cmake-3.16.3-Linux-x86_64/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60
(message):
The C compiler
"/home/usr4/c74014i/opt/clang/current/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir:
2017 May 04
2
Problem with Polly build
2017-05-02 0:50 GMT+02:00 Eugene Zelenko via llvm-dev <llvm-dev at lists.llvm.org>:
> On Mon, May 1, 2017 at 3:27 PM, Michael Kruse <llvmdev at meinersbur.de> wrote:
>> 2017-05-01 20:16 GMT+02:00 Eugene Zelenko via llvm-dev
>> <llvm-dev at lists.llvm.org>:
>>> Hi, Hongbin!
>>>
>>> On Mon, May 1, 2017 at 11:06 AM, Hongbin Zheng
2016 Dec 12
1
failing bootstrap: C++11 or greater is required but the compiler does not support c++11
FTR, I've disabled libcxx checkout on that particular bot
<http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fuzzer> to make
it green.
The problem remains, of course. :(
On Sun, Dec 11, 2016 at 7:23 AM, James Knight <jyknight at google.com> wrote:
> On Dec 11, 2016, at 3:33 AM, Eric Fiselier via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> > So it
2017 May 01
2
Problem with Polly build
Hi Eugene,
It is strange, I also do a clean build with CMake+make with r301734 and it
is ok. Could you provide more details?
Thanks
Hongbin
On Mon, May 1, 2017 at 10:58 AM, Eugene Zelenko via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi, Michael!
>
> On Sun, Apr 30, 2017 at 2:06 PM, Michael Kruse <llvmdev at meinersbur.de>
> wrote:
> > 2017-04-29 0:49
2012 Mar 28
2
[LLVMdev] Building past few days with Clang++ and Clang produces errors on Cmake for Debian Linux
*System:* Debian Linux Sid/Unstable amd64
*LLVM/Clang:* Trunk
*Scenario:* In the past couple of days I've been compiling against trunk
I get two separate and spurious hang ups with CMake.
*Note:* I build against more than just X86 follow along the progress of
other platforms, though just building for X86 produces the same results
below.
*Assumption:* Configure cmake with prior built
2016 Jul 07
3
Configure error on Solaris 10
Hello, I get the following error while trying to configure an llvm build on Solaris 10-SPARC:
CMake Error at projects/libcxx/CMakeLists.txt:268 (message):
C++11 is required but the compiler does not support -std=c++11
However, the error is about a missing header file (llvm/Support/Solaris.h) as reported in build/CMakeFiles/CMakeError.log:
Performing C++ SOURCE FILE Test
2017 Aug 19
1
Which is the best compiler to build LLVM 5.0.0 rc2?
Recently I have been building LLVM and Clang from the distribution using gcc 4.9.2. With the new 5.0.0 rc2 that is giving warning messages during the compilation. I have been trying out some other compilers.
gcc 5.2 with -std=c++11 This works, although there are still some warnings.
gcc 6.4 and gcc 7.1 fail with errors such as this in building libcxxabi as follows:
Command:
2013 Aug 08
2
[LLVMdev] lld build
Hi,
Currently, I can build lld/llvm on Fedora 17 but fail to build it on iMac. The commands I use as follows. Anyone can help me? Or is there the lld mail list I can post the question?
Linux/Fedora can be built by the following command
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS=-std=c++11 -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../src/
make
iMac
2016 Dec 11
2
failing bootstrap: C++11 or greater is required but the compiler does not support c++11
On Dec 11, 2016, at 3:33 AM, Eric Fiselier via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> So it seems that libatomic went missing between build #1379 and #1380, so I don't think this is related to the -std=c++11 failure. Instead it seems likely that the compile test for -std=c++11 is failing due to mis-configuring -latomic.
>
> Can you confirm the bot has libatomic
2015 Mar 09
5
[LLVMdev] Build failure with compiler-rt on trunk under linux
I've been building clang on linux for a couple of years now,
contributing to the testing on Ubuntu, but this one has me stumped:
fatal error: 'asm/socket.h' file not found
#include <asm/socket.h>
[1556/4006] Building CXX object
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cc.o
FAILED:
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
2015-03-29 3:33 GMT-05:00 Ed Schouten <ed at 80386.nl>:
> I am cross-compiling compiler-rt for my specific use-case. That said,
> I'm cross-compiling from x86-64 to x86-64, but for a different ABI.
> This is what I use:
>
>
> https://github.com/NuxiNL/cloudlibc/wiki/Building-runtime-libraries#user-content-compiler-rt
>
> -DCMAKE_CROSSCOMPILING=True
>
> As
2016 Dec 10
2
failing bootstrap: C++11 or greater is required but the compiler does not support c++11
several hours ago one of the bots that does a bootstrap started to fail
(http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fuzzer)
CMake Error at projects/libcxx/CMakeLists.txt:365 (message):
C++11 or greater is required but the compiler does not support c++11
I can reproduce it locally with
cmake -GNinja -DCMAKE_CXX_COMPILER=clang++ ~/llvm
Goes away if I remove -GNinja. (!!!)
Does
2019 Sep 03
2
Struggling with a PGO build of clang -- llvm-profdata was built without zlib support?
Hi!
I'm trying to build a fast Clang for myself to use for debug builds on
Clang itself, but I've been struggling for a very long time on it. Could
you please help?
I've been following this guide: https://llvm.org/docs/HowToBuildWithPGO.html
I've quickly learned that its outdated, because the script it talks about
doesn't work with the monorepo layout at all, but in any