Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] 2.4 Pre-release (v1) Available for Testing"
2008 Oct 10
3
[LLVMdev] 2.4 Pre-release (v1) Available for Testing
LLVMers,
The 2.4 pre-release is available for testing:
http://llvm.org/prereleases/2.4/
If you have time, I'd appreciate anyone who can help test the release.
Please do the following:
1) Download/compile llvm source, and either compile llvm-gcc source or use
llvm-gcc binary.
2) Run make check, send me the testrun.log
3) Run "make TEST=nightly report" and send me the
2011 Aug 26
0
[LLVMdev] Changes to Debian's linker object files breaks building LLVM [crti.o, crt1.o, crtn.o]
Debian's response I enclose to see if this helps out:
> reassign 639214 general
> forcemerge 637232 639214
> quit
>
> Hi Marc,
>
> Marc J. Driftmeyer wrote:
>
>> With the most recent changes of moving the object files under
>> /usr/lib/x86_64-linux-gnu/ the linker to build Clang/LLVM breaks.
>>
>> A workaround is to add symlinks for crt1.o,
2011 Aug 25
4
[LLVMdev] Changes to Debian's linker object files breaks building LLVM [crti.o, crt1.o, crtn.o]
I've got a simple workaround which obviously everyone will figure out:
mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crti.o crti.o
mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crt1.o crt1.o
mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crtn.o crtn.o
My real question concerns whether or not I should file a bug report
against Debian not having a
2010 May 07
0
[LLVMdev] How to build a cross llvm-gcc compiler for Arm Cortex-A8
Hello
> My host is Linux on x86, and I want llvm-gcc generate code for Arm
> Cortex-A8.
> I saw that in LLVM 2.7 Release Notes, but I can't find step to build
> it. Anyone tell me?
Build llvm-gcc exactly the same way you're building the cross gcc for
your target.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State
2020 May 14
2
ld.lld ignoring --sysroot
On 2020-05-14, Rui Ueyama via llvm-dev wrote:
>On Thu, May 14, 2020 at 11:04 AM Ivan Medoedov via llvm-dev <
>llvm-dev at lists.llvm.org> wrote:
>
>> Hello,
>>
>> I'm trying to compile a Linux hello world executable on macOS.
>>
>> The first step is simple:
>>
>> clang -c -target x86_64-linux-gnu -c -o hello.o hello.c
>>
>>
2011 Aug 25
0
[LLVMdev] Changes to Debian's linker object files breaks building LLVM [crti.o, crt1.o, crtn.o]
On Wed, Aug 24, 2011 at 6:36 PM, Marc J. Driftmeyer <mjd at reanimality.com> wrote:
> I've got a simple workaround which obviously everyone will figure out:
>
> mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crti.o crti.o
> mdriftmeyer at horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crt1.o crt1.o
> mdriftmeyer at horus:/usr/lib$ sudo ln -s
2010 May 07
2
[LLVMdev] How to build a cross llvm-gcc compiler for Arm Cortex-A8
hi
My host is Linux on x86, and I want llvm-gcc generate code for Arm
Cortex-A8.
I saw that in LLVM 2.7 Release Notes, but I can't find step to build
it. Anyone tell me?
llvm-gcc now has complete support for the ARM v7 NEON instruction set. This
support differs slightly from the GCC implementation. Please see the ARM
Advanced SIMD (NEON) Intrinsics and Types in LLVM Blog
2020 May 14
2
ld.lld ignoring --sysroot
Hello,
I'm trying to compile a Linux hello world executable on macOS.
The first step is simple:
clang -c -target x86_64-linux-gnu -c -o hello.o hello.c
But linking results in an error:
ld.lld --sysroot=/linuxroot/ -o hello -m elf_x86_64 \
-dynamic-linker /lib64/ld-linux-x86-64.so.2 \
/lib/crt1.o \
/usr/lib/x86_64-linux-gnu/crti.o ../hello.o \
/usr/lib/x86_64-linux-gnu/libc.so \
2011 Aug 25
1
[LLVMdev] Changes to Debian's linker object files breaks building LLVM [crti.o, crt1.o, crtn.o]
Seeing as GCC 4.6 works without breaking to build LLVM instead of Clang
I think I'm going to bug the Debian proper to make it easier for
Clang/LLVM to get the linker update changes. After all, Debian's
breaking an awful lot of stuff lately so it seems reasonable for them to
add this to their To Do List.
- Marc
On 08/24/2011 07:15 PM, Eli Friedman wrote:
> On Wed, Aug 24, 2011 at
2018 Apr 02
2
LLD-linked binary segfaults at runtime on alpine linux
Alpine linux is a distribution that uses musl libc instead glibc. Here are
my steps to reproduce:
On Alpine linux, download LLVM, Clang, LLD 6.0.0 from releases.llvm.org,
and build them from source.
$ clang -c hello_world.c
$ ld.lld --gc-sections -m elf_x86_64 -o hello_world
/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/Scrt1.o
2018 Apr 02
0
LLD-linked binary segfaults at runtime on alpine linux
Can you add `--reproduce=repro` to lld command line? That generates
repro.tar in your current directory which contains all input files. And
then please compress and upload it somewhere so that we can take a look.
On Mon, Apr 2, 2018 at 9:18 AM Andrew Kelley via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Alpine linux is a distribution that uses musl libc instead glibc. Here are
2016 May 17
2
How to debug if LTO generate wrong code?
> On May 17, 2016, at 1:33 AM, Shi, Steven via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hello,
> Let me ask a LTO simple question again. For the llvm LTO example in the link:http://llvm.org/docs/LinkTimeOptimization.html <http://llvm.org/docs/LinkTimeOptimization.html>, I use below build commands to generate three different optimization level binary: -O0, -O1, -O2.
2018 Apr 02
1
LLD-linked binary segfaults at runtime on alpine linux
https://superjoe.s3.amazonaws.com/temp/repro.tar.xz
On Mon, Apr 2, 2018 at 1:26 PM, Rui Ueyama <ruiu at google.com> wrote:
> Can you add `--reproduce=repro` to lld command line? That generates
> repro.tar in your current directory which contains all input files. And
> then please compress and upload it somewhere so that we can take a look.
>
>
> On Mon, Apr 2, 2018 at
2010 Jul 12
2
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
Sorry for not explaining well.
After compiling with g++-cross
g++-cross -c a.c
I do link using this command
/gold_binutils/build/gold/ld-new -plugin
~/Desktop/Sanjeev/LLVM/llvm-2.7/Release/lib/libLLVMgold.so --eh-frame-hdr
-melf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o
/usr/lib/crti.o
/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0/crtbegin.o
2006 Dec 10
2
[LLVMdev] How to compile apps to bc files with the new llvm-gcc4?
Hi,
I'm trying to compile some apps with the new llvm-gcc4 on amd64 linux
to .bc files, rather than to the native code. The same process I used to
build those apps before with llvm-gcc3 doesn't work:
1)
export CC=llvm-gcc CXX=llvm-g++ CFLAGS="-g -fno-inline" CXXFLAGS="-g
-fno-inline"
2) cd <whatever-app>; ./configure
3) make CFLAGS+=-emit-llvm
2010 Jul 12
0
[LLVMdev] build errors while cross compiling llvm-gcc for ARM
> ~/Desktop/Sanjeev/LLVM/llvm-2.7/Release/lib/libLLVMgold.so --eh-frame-hdr
> -melf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o
Ok, this way you're generating code for x86
> /usr/lib/crti.o
> /usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0/crtbegin.o
> -L/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0 -L/usr/local/lib -lgcc
> --as-needed -lgcc_s --no-as-needed -lc -lgcc
2005 Apr 22
1
[LLVMdev] Error while compiling .cpp
Hello,
I am trying to rum my pass (.cpp file) and I am getting the following error.
----------------------------------------------------------------------------------------------------------------
g++: /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crti.o: No such file or directory
g++: /usr/lib/gcc/i386-redhat-linux/3.4.2/crtbeginS.o: No such file or directory
g++:
2019 Sep 05
3
Building LLVM with LLVM
Hi folks!
I'm trying to build LLVM with LLVM on Ubuntu using the commands below.
Building it with the GNU stuff (cpp, gcc, g++ and binutils packages) works,
but after removing it, moving LLVM to /usr/local and symlinking /usr/bin/ld
to ld.lld, I'm getting the following:
=== snip ===
-- The C compiler identification is Clang 8.0.1
-- The CXX compiler identification is Clang 8.0.1
-- The
2006 Dec 10
0
[LLVMdev] How to compile apps to bc files with the new llvm-gcc4?
Unless I'm missing something, the problem lies directly with the fact that
you are trying to do a link-stage operation with the GCC frontend. GCC, by
default, probably runs "ld" or another system linker, which grabs the
executable from binutils. This linker hasn't been modified (yet) to include
support for .bc files, but you're compiler is emitting byte code to the *.o
files.
2019 Mar 25
2
Trying to create a pure LLVM toolchain on musl based distribution
Le 25/03/2019 à 14:41, Peter Smith a écrit :
> Hello David,
>
> I don't know much about the specifics of Musl, so I'm responding generally.
>
> As I understand it, clang expects to find the compiler-rt libraries
> relative to the resource directory, which you can find out the
> location of with clang --print-resource-dir . By default it is
> lib/clang/9.0.0