Displaying 20 results from an estimated 4000 matches similar to: "Linker failures in debug build - compiler/linker poll?"
2016 Mar 18
2
Building with LLVM_PARALLEL_XXX_JOBS
On Thu, Mar 17, 2016 at 11:45 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> On Thu, Mar 17, 2016 at 10:05 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>> On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote:
>> [ brutal-snip ]
>> ...
>>> [ TODO#S: Before doing a 2nd build (and in a 3rd run using more
>>>
2012 Oct 12
2
[LLVMdev] cmake+ninja build error for compiler-rt sources
Hi All,
I am first time trying build CLANG+LLVM using cmake+ninja build
system. I updated all my CLANG+LLVM sources to current trunk, and I
successfully built it using classic *make* build system. But, trying
to build the same with cmake+ninja build system resulting in following
build failures for compiler-rt sources.
Am I missing something basics here?
====================
cmake command used:
2014 Mar 22
2
[LLVMdev] compiler-rt CMake build ignores CMAKE_CXX_FLAGS
Hello,
It looks like compiler-rt CMake scripts don't take CMAKE_CXX_FLAGS
into account. This is because clang_compile and clang_link_shared
functions call the newly-built compiler directly, and they don't add
those flags.
Using CMAKE_CXX_FLAGS is necessary on systems where the C++11-enabled
libstdc++ is installed not in the default location. For example, the
CentOS buildbot uses:
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
On Mon, Nov 11, 2013 at 11:03:47AM -0500, Jack Howarth wrote:
> On Mon, Nov 11, 2013 at 06:46:47PM +0400, Alexander Potapenko wrote:
> > This file is for configure+make build, not CMake, so I'm not sure why
> > it's being included into your build (these failures aren't
> > reproducible for me).
> > Can you please list the exact steps you're doing to build
2012 Oct 13
2
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
I'm seeing this too. CC'ing the author ubsan stuff.
Richard, I know you were OK with only supporting Clang-bootstraps, but I
don't think that's terribly viable here. We should be able to build ubsan's
runtime with standards conforming code unless there is some fairly extreme
reason not to...
On Fri, Oct 12, 2012 at 7:19 AM, Mahesha HS <mahesha.llvm at gmail.com> wrote:
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
On Mon, Nov 11, 2013 at 06:46:47PM +0400, Alexander Potapenko wrote:
> This file is for configure+make build, not CMake, so I'm not sure why
> it's being included into your build (these failures aren't
> reproducible for me).
> Can you please list the exact steps you're doing to build LLVM with
> CMake and make sure you don't have additional CFLAGS (LDFLAGS etc)
2016 Dec 20
0
(Thin)LTO llvm build
> On Dec 20, 2016, at 5:49 AM, Carsten Mattner via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi again, Teresa.
>
> Looks like I had forgotten to report back with success
> when finally building 3.9.0 in ThinLTO linker mode
> back in October. Sorry about that and thanks for
> helping me out. I know how important it is to get
> success reports as well, as a
2012 Oct 12
0
[LLVMdev] cmake+ninja build error for compiler-rt sources
I use latest cmake+ninja which are built from latest sources.
=================================
> cmake --version
cmake version 2.8.9.20121011-g2876
=================================
--
mahesha
On Fri, Oct 12, 2012 at 7:35 PM, Mahesha HS <mahesha.llvm at gmail.com> wrote:
> Hi All,
>
> I am first time trying build CLANG+LLVM using cmake+ninja build
> system. I updated all
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
+Bob Wilson
I don't know if this is a recent Apple regression, or if it's now catching
something which had always been invalid.
-bw
On Mon, Nov 11, 2013 at 8:44 AM, Jack Howarth <howarth at bromo.med.uc.edu>wrote:
> On Mon, Nov 11, 2013 at 11:03:47AM -0500, Jack Howarth wrote:
> > On Mon, Nov 11, 2013 at 06:46:47PM +0400, Alexander Potapenko wrote:
> > > This
2012 Oct 13
0
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
On Fri, Oct 12, 2012 at 6:14 PM, Chandler Carruth <chandlerc at google.com> wrote:
> I'm seeing this too. CC'ing the author ubsan stuff.
>
> Richard, I know you were OK with only supporting Clang-bootstraps, but I
> don't think that's terribly viable here.
Just out of curiosity - why isn't that viable? I'd sort of hope to
treat optional sanitizer runtimes
2016 Nov 17
2
"-stdlib=libc++" applied to CMAKE_CXX_FLAGS
llvm/cmake/modules/HandleLLVMStdlib.cmake specifies "-stdlib=libc++" for
CMAKE_CXX_FLAGS when LLVM_ENABLE_LIBCXX and CXX_SUPPORTS_STDLIB. From what
I can see this is a flag intended for the linker and not the compiler.
I'd like to submit a change to delete CMAKE_CXX_FLAGS from this append() but
I wanted to check in with the list to see if that makes sense or if there
are other
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
This file is for configure+make build, not CMake, so I'm not sure why
it's being included into your build (these failures aren't
reproducible for me).
Can you please list the exact steps you're doing to build LLVM with
CMake and make sure you don't have additional CFLAGS (LDFLAGS etc)
defined?
On Mon, Nov 11, 2013 at 6:16 PM, Jack Howarth <howarth at bromo.med.uc.edu>
2016 Dec 20
6
(Thin)LTO llvm build
Hi again, Teresa.
Looks like I had forgotten to report back with success
when finally building 3.9.0 in ThinLTO linker mode
back in October. Sorry about that and thanks for
helping me out. I know how important it is to get
success reports as well, as a developer myself,
so sorry again :(.
While that worked back then, last weekend I tried to
build 3.9.1 using 3.9.0 as installed from Arch Linux
2012 Oct 13
2
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
On Sat, Oct 13, 2012 at 1:09 AM, David Blaikie <dblaikie at gmail.com> wrote:
> On Fri, Oct 12, 2012 at 6:14 PM, Chandler Carruth <chandlerc at google.com>
> wrote:
> > I'm seeing this too. CC'ing the author ubsan stuff.
> >
> > Richard, I know you were OK with only supporting Clang-bootstraps, but I
> > don't think that's terribly viable
2016 Mar 03
3
Building with LLVM_PARALLEL_XXX_JOBS
I had only a quick view on the blog-texts.
It might be that a CLANG generated with LTO/PGO speeds up the build.
Can you confirm this?
Can you confirm binutils-gold speed up the build?
Has LLVM an own linker?
Can be used? Speedup the build?
Yesterday night I loooked through available CMAKE/LLVM variables...
### GOLD
# CMAKE_LINKER:FILEPATH=/usr/bin/ld
#
2017 Feb 16
3
Linker error with XRay & GCC/libstdc++ 6.1
Hi Dean,
Wondering if you've seen anything like this:
/usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone/projects/compiler-rt/lib/xray/tests/unit
&&
/usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone/./bin/clang
fdr_logging_test.cc.x86_64.o xray_unit_test_main.cc.x86_64.o
gtest-all.cc.x86_64.o -o
2015 Dec 08
3
compiler-rt fails to find <stdarg.h> on FreeBSD
I'm unsure why this is failing this week, but when I build for FreeBSD
HEAD, I now get a failure to find <stdarg.h>. Very strange. Maybe its
missing a -I /usr/include somewhere?
[1950/2811] Building CXX object
projects/compiler-rt/lib/tsan/CMakeFiles/clang_rt.tsan-x86_64.dir/rtl/tsan_interceptors.cc.o
FAILED: /usr/bin/CC -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
2019 Jun 06
2
clang: error: linker command failed due to signal (use -v to see invocation)
~/Documents/llvm-project/build$ ninja
After over 2,000 files compiled.
[25/1074] Linking CXX executable bin/llvm-lto
FAILED: bin/llvm-lto
: && /usr/bin/clang++ -fPIC -fvisibility-inlines-hidden
-Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall
-Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long
2020 Apr 23
3
Cannot build master
I am nuilding that now.
CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/llvm11-git \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_ENABLE_EH=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_HOST_TRIPLE=x86_64-pc-linux-gnu \
-DLLVM_TARGETS_TO_BUILD="AMDGPU;MSP430;WebAssembly;X86" \
2020 Apr 23
7
Cannot build master
Hi,
Using master at b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8, I cannot build
LLVM. I configured with:
CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/llvm11-git \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DBUILD_SHARED_LIBS=OFF \
-DLLVM_ENABLE_EH=ON \
-DLLVM_ENABLE_RTTI=ON \