search for: llvm_all

Displaying 8 results from an estimated 8 matches for "llvm_all".

2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ee both outputs below). Am I doing the --gcc-toolchain / --sysroot part right? These are just the places where the result of "apt install arm-linux-gnueabihf" lives. cmake output with -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld": root at christian-forschung-virtual-machine:/home/llvm_all/buildrtonly# cmake -G "Ninja" ../llvm/projects/compiler-rt/ -DCOMPILER_RT_BUILD_BUILTINS=ON -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_C_COMPILER=/usr/local/myclang/bin/clang -DCMAKE_AR=/u...
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...The error seems similar to http://lists.llvm.org/pipermail/llvm-dev/2011-September/043289.html to me, so it might still be some variant of the problem from before: Using a x86-header where an ARM one would be needed. The ninja builtins output: root at christian-forschung-virtual-machine:/home/llvm_all/buildrtonly# ninja builtins [147/207] Building C object lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o FAILED: lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o /usr/local/myclang/bin/clang --target=arm-linux-gnueabihf -DVISIBILITY_HIDDEN --target=arm-linux-gnueabih...
2018 Dec 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
I am currently trying to compile a pretty simple program to work on an experimental board. It contains an (FPGA-version of) an ARMv4 processor. So basically, I try this (on my Ubuntu 18.04.1 LTS): clang -v --target=arm-none-eabi -c barehello.c -o barehelloCLANG.o clang -v --target=arm-none-eabi -c io.c -o io.o clang -v --target=arm-none-eabi barehelloCLANG.o io.o -o helloCLANGstatic -static
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...p://lists.llvm.org/pipermail/llvm-dev/2011-September/043289.html to me, so it might still be some variant of the problem from before: Using a x86-header where an ARM one would be needed. >> >> The ninja builtins output: >> >> root at christian-forschung-virtual-machine:/home/llvm_all/buildrtonly# ninja builtins >> [147/207] Building C object lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o >> FAILED: lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o >> /usr/local/myclang/bin/clang --target=arm-linux-gnueabihf -DVISIBILITY_HIDDEN --t...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...lists.llvm.org/pipermail/llvm-dev/2011-September/043289.html to me, so it might still be some variant of the problem from before: Using a x86-header where an ARM one would be needed. > > > > The ninja builtins output: > > > > root at christian-forschung-virtual-machine:/home/llvm_all/buildrtonly# ninja builtins > > [147/207] Building C object lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o > > FAILED: lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o > > /usr/local/myclang/bin/clang --target=arm-linux-gnueabihf -DVISIBILITY_HIDDEN...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...in compiling a small helloworld for a baremetal arm > (consisting of barehelloCLANG.c and a small io.h + io.c) , but the > linking part of the compilation resulted in this: > > root at christian-forschung-virtual-machine:/home/progs# clang -v > --target=armv6-none-eabi -L > /home/llvm_all/buildrecipe/lib/clang/8.0.0/armv6m-none-eabi > -lclang_rt.builtins.arm barehelloCLANG.o io.o -o helloCLANGstatic > -static -fuse-ld=lld > clang version 8.0.0 (https://git.llvm.org/git/clang.git/ > a152c7a4b7ba8f4cb9532ead9a38a7121db43d50) > (https://git.llvm.org/git/llvm.git/ > 19...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...in compiling a small helloworld for a baremetal arm > (consisting of barehelloCLANG.c and a small io.h + io.c) , but the > linking part of the compilation resulted in this: > > root at christian-forschung-virtual-machine:/home/progs# clang -v > --target=armv6-none-eabi -L > /home/llvm_all/buildrecipe/lib/clang/8.0.0/armv6m-none-eabi > -lclang_rt.builtins.arm barehelloCLANG.o io.o -o helloCLANGstatic > -static -fuse-ld=lld > clang version 8.0.0 (https://git.llvm.org/git/clang.git/ > a152c7a4b7ba8f4cb9532ead9a38a7121db43d50) > (https://git.llvm.org/git/llvm.git/ > 19...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...in compiling a small helloworld for a baremetal arm > (consisting of barehelloCLANG.c and a small io.h + io.c) , but the > linking part of the compilation resulted in this: > > root at christian-forschung-virtual-machine:/home/progs# clang -v > --target=armv6-none-eabi -L > /home/llvm_all/buildrecipe/lib/clang/8.0.0/armv6m-none-eabi > -lclang_rt.builtins.arm barehelloCLANG.o io.o -o helloCLANGstatic > -static -fuse-ld=lld > clang version 8.0.0 (https://git.llvm.org/git/clang.git/ > a152c7a4b7ba8f4cb9532ead9a38a7121db43d50) > (https://git.llvm.org/git/llvm.git/ > 19...