Displaying 20 results from an estimated 700 matches similar to: "Trunk LLVM build fails on an x86 machine"
2020 Mar 28
2
LLD issue on a massively parallel build machine
Hi,
My configuration is below:
cmake -GNinja -DLLVM_ENABLE_LLD=ON -DLLVM_ENABLE_THREADS=OFF
-DLLVM_ENABLE_LIBCXX=ON -DCMAKE_BUILD_TYPE=Release
-DGCC_INSTALL_PREFIX=/home/usr4/c74014i/opt/gcc-7.5.0/
-DLIBOMPTARGET_ENABLE_DEBUG=ON
-DCMAKE_INSTALL_PREFIX=$HOME/opt/clang/${today} -DCMAKE_C_COMPILER=clang
-DCMAKE_C_FLAGS="" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS=""
2020 Mar 28
2
LLD issue on a massively parallel build machine
That is slowing down the build visibly, for the speed I should stick with
ld at the moment.
On Sun, Mar 29, 2020 at 4:42 AM Alexandre Ganea <alexandre.ganea at ubisoft.com>
wrote:
> Would `taskset -c 0-3 ninja check-all -j4` work?
>
>
>
> *De :* Itaru Kitayama <itaru.kitayama at gmail.com>
> *Envoyé :* March 28, 2020 3:37 PM
> *À :* Alex Brachet-Mialot
2020 Mar 28
2
LLD issue on a massively parallel build machine
Good news, I was able to use up to 37 cores for LLVM build with LLD.
The build speed, did not measure precisely though, is comparable to the
build with GNU ld case.
Thank you all for your help!
On Sun, Mar 29, 2020 at 5:04 AM Alex Brachet-Mialot <
alexbrachetmialot at gmail.com> wrote:
> Yes unfortunately that would limit you to 4 cores.
>
> There’s no easy way to use lld with
2020 Mar 28
3
LLD issue on a massively parallel build machine
$ free -g
total used free shared buff/cache
available
Mem: 376 149 20 1 207
225
Swap: 3 0 3
Too small swap size for a 72-core login machine?
On Sun, Mar 29, 2020 at 4:28 AM Alex Brachet-Mialot <
alexbrachetmialot at gmail.com> wrote:
> Enable threads is for building llvm with
2020 Apr 01
2
LLD issue on a massively parallel build machine
On another login node which is 256 (GB)/48 (nodes) JURECA at JSC, I never
had an LLD issue without setting -j when executing ninja
in the past few weeks.
On Thu, Apr 2, 2020 at 7:17 AM Itaru Kitayama <itaru.kitayama at gmail.com>
wrote:
> Tom,
> Then what ratio do you think it’s minimal?
>
> On Thu, Apr 2, 2020 at 6:11 Tom Stellard <tstellar at redhat.com> wrote:
>
2020 Apr 01
2
LLD issue on a massively parallel build machine
On 04/01/2020 01:47 PM, Itaru Kitayama via llvm-dev wrote:
> Thanks for the heads up the supercomputer
> Is down for maintenance this week.
> I’ll give it a try when it gets back.
>
This doesn't look to me like it's necessarily an lld issue. Trying
to build all the sub-projects without limiting the number of ninja jobs
is almost guaranteed to run out of memory on a machine
2020 Apr 01
4
LLD issue on a massively parallel build machine
On 2020-03-29, Nemanja Ivanovic via llvm-dev wrote:
>Glad you got it working.
>My suggestion about LLVM_ENABLE_THREADS didn't work because you didn't
>apply it when building the build linker.
>
>When you don't have the ability to rebuild the build compiler, this doesn't
>apply. In those cases, I end up doing a dirty hack where I use a wrapper
>script with
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:
2020 Mar 28
3
LLD issue on a massively parallel build machine
Alex :
Can you please try `numactl` or `taskset` after https://github.com/llvm/llvm-project/commit/09158252f777c2e2f06a86b154c44abcbcf9bb74 ?
There was a tiny bug in how sched_getaffinity() was used, see: https://reviews.llvm.org/D75153#1942336
De : Alex Brachet-Mialot <alexbrachetmialot at gmail.com>
Envoyé : March 28, 2020 12:11 PM
À : Itaru Kitayama <itaru.kitayama at gmail.com>
2020 Feb 02
3
lld out of memory
Hi,
I am seeing an LLVM build failure with recent LLD on x86 like:
[...]
lib/libLLVMCodeGen.a lib/libLLVMBitWriter.a lib/libLLVMScalarOpts.a
lib/libLLVMAgg
ressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMTransformUtils.a
lib/libLLVMDebugInfoDWARF.a lib/lib
LLVMMCDisassembler.a lib/libLLVMExecutionEngine.a lib/libLLVMTarget.a
lib/libLLVMAnalysis.a lib/libLLVMProfil
eData.a
2020 Mar 28
2
LLD issue on a massively parallel build machine
Hi,
On a 1296-core Intel machine with 376 GB, setting
-DLLVM_PARALLEL_LINK_JOB=1
does not help (switching back to ld scales) see:
[5085/5201] Linking CXX executable bin/clang-11
FAILED: bin/clang-11
: && /home/usr4/c74014i/opt/clang/current/bin/clang++ -stdlib=libc++ -fPIC
-fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -Wall -Wextra
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
2017 Jun 04
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
On Sat, 3 Jun 2017 16:04:57 -0700
Tim Northover <t.p.northover at gmail.com> wrote:
[snip]
> I think you should be able to fix it by changing the
> compiler-rt/lib/xray/test/CMakeLists.txt. If you find the
> "add_compiler_rt_test" call and move "-lstdc++" to the end, just after
> "-lrt" it should work.
Thanks, Tim. I don't see "-lrt":
2017 Mar 08
3
Use of the C++ standard library in XRay compiler-rt
On Wed, Mar 8, 2017 at 2:28 PM Tim Shen <timshen at google.com> wrote:
> On Wed, Mar 8, 2017 at 1:49 PM David Blaikie <dblaikie at gmail.com> wrote:
>
> So I stumbled across an issue that I think is a bit fundamental:
>
> The xray runtime uses the C++ standard library.
>
> This seems like a problem because whatever C++ standard library is used to
> compile the
2015 Aug 21
2
rpmbuild dwz error
CentOS,
I'm not sure where to ask this, please let me know if there is a more
appropriate place.
On CentOS 7, I'm building a large C++ package with rpmbuild. Arachne
(https://www.broadinstitute.org/crd/wiki/index.php/Arachne_Main_Page).
During the debuginfo extraction stage, I get the following error:
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz
2012 Jun 01
3
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
On Jun 1, 2012, at 3:48 PM, Justin Holewinski wrote:
> This isn't the right approach. Nothing in the library part of the compiler should be hard coding a stream to write to. What are you trying to accomplish?
>
> There are a lot of places where warning/debug information is passed directly to errs(). For example, take the Linker class. You can tell it to omit errors/warnings, but
2017 Mar 15
2
Use of the C++ standard library in XRay compiler-rt
On Tue, Mar 14, 2017 at 5:34 PM Dean Michael Berris <dean.berris at gmail.com>
wrote:
> On 13 Mar 2017, at 15:39, David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
> On Sun, Mar 12, 2017, 4:10 PM Dean Michael Berris <dean.berris at gmail.com>
> wrote:
>
>
> > On 9 Mar 2017, at 09:32, David Blaikie via llvm-dev <
> llvm-dev at
2012 Jun 02
0
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Lattner
> Subject: Re: [LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
> It would be much better for the linker to return its error in a proper way
> (i.e. extending llvm/Support/system_error.h like llvm/Object/Error.h does).
> The right fix for this is
2017 Mar 13
5
Use of the C++ standard library in XRay compiler-rt
On Sun, Mar 12, 2017, 4:10 PM Dean Michael Berris <dean.berris at gmail.com>
wrote:
>
> > On 9 Mar 2017, at 09:32, David Blaikie via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> > I agree that we should clean up the standard library usage even just for
> consistency.
> >
>
> +1 -- now that I think about it, it should be fairly doable
2014 Feb 25
3
[LLVMdev] configure with clang vs gcc
On 02/25/2014 02:38 PM, Eric Christopher wrote:
> On Tue, Feb 25, 2014 at 2:32 PM, reed kotler <rkotler at mips.com> wrote:
>> On 02/25/2014 09:30 AM, Richard Sandiford wrote:
>>> reed kotler <rkotler at mips.com> writes:
>>>> On 02/24/2014 04:42 PM, Eric Christopher wrote:
>>>>> On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at