Displaying 8 results from an estimated 8 matches for "buildrtonly".
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...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=/usr/local/myc...
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 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...r 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-gnueabihf -march=arm...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
....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-li...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...m.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...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ptember/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 -DVISIBIL...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...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...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...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...