Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] -V error"
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Peter and Lists,
thanks a lot, that way it worked out! The final cmake was
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/myclang/bin/llvm-ar
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello again!
Tried out the small Hello World Setup, worked as intended:
root at christian-forschung-virtual-machine:/home/progs# clang -v
--target=arm-linux-gnueabihf hello.c -o hello -fuse-ld=lld
clang version 8.0.0 (https://git.llvm.org/git/clang.git/
a152c7a4b7ba8f4cb9532ead9a38a7121db43d50)
(https://git.llvm.org/git/llvm.git/
1959ce6f3e01241919968ac1911fd45660239d23)
Target:
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Christian,
I've put some comments inline,
On Sun, 3 Feb 2019 at 13:11, Christian Richter
<christian.richter at hsu-hh.de> wrote:
>
> Hello again,
>
> so after I successfully build the compiler-rt for armv6 I tried to
> actually use it in compiling a small helloworld for a baremetal arm
> (consisting of barehelloCLANG.c and a small io.h + io.c) , but the
>
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello again Christian,
I've posted https://reviews.llvm.org/D55709 to see if we can get the
documentation on how to cross-compile compiler-rt improved. I'll be
out of office until next year so I may be a bit slow to respond to any
follow ups.
Peter
On Thu, 13 Dec 2018 at 17:10, Peter Smith <peter.smith at linaro.org> wrote:
>
> Hello Christian,
>
> I've just
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Christian,
I'd expect that adding the library paths (-L) from gcc -v should fix
the unable to find -lc, -lm but it won't fix the
-lclang_rt.builtins-armv6m.a . To get clang_rt.builtins-armv6m.a you
will need to cross compile compiler-rt for v6m and copy it to
/usr/local/myclang/lib/clang/8.0.0/lib/baremetal . Beware that
building compiler-rt for v6m does need quite a bit of fighting
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Christian,
I reran my script with a similar cmake command to yours. After the
build finished the following command from the build directory gave me:
find . -name \*builtins.a
./lib/clang/9.0.0/armv6m-none-eabi/lib/libclang_rt.builtins.a
./lib/clang/9.0.0/armv7m-none-eabi/lib/libclang_rt.builtins.a
./lib/clang/9.0.0/armv7em-none-eabi/lib/libclang_rt.builtins.a
I hope you see something like
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello,
on the problems cross-building compiler-rt: Tried to follow
https://llvm.org/docs/HowToCrossCompileBuiltinsOnArm.html which lead to
this cmake:
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
2013 Nov 28
2
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
I"m getting build errors I think from one of your patches O tjoml.
You need to have a build area that builds with clang and does warnings
as errors to avoid these issues on putback.
here is my configure step for example:
/home/rkotler/llvm_trunk/configure --enable-werror
--prefix=/home/rkotler/ll
vm/install CC=/home/rkotler/llvm_3_2/install/bin/clang
CXX=/home/rkotler/llvm_3_
2013 Nov 28
1
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
I'm still seeing this problem.
On 11/28/2013 09:37 AM, NAKAMURA Takumi wrote:
> It is r195843 and fixed in r195905, FYI.
>
> 2013/11/29 Reed Kotler <rkotler at mips.com>:
>> I"m getting build errors I think from one of your patches O tjoml.
>>
>> You need to have a build area that builds with clang and does warnings as
>> errors to avoid these
2013 Nov 28
0
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
It is r195843 and fixed in r195905, FYI.
2013/11/29 Reed Kotler <rkotler at mips.com>:
> I"m getting build errors I think from one of your patches O tjoml.
>
> You need to have a build area that builds with clang and does warnings as
> errors to avoid these issues on putback.
>
> here is my configure step for example:
> /home/rkotler/llvm_trunk/configure
2014 Feb 25
3
[LLVMdev] configure with clang vs gcc
On 02/24/2014 04:42 PM, Eric Christopher wrote:
> On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at mips.com> wrote:
>> I need to leave soon and will take a look in the morning.
>>
>> I did look at the autoconf input files configure.ac
>>
>> There is a disable-zlib but not a disable-valgrind, even though it seems
>> like there used to be.
2013 Aug 16
0
[LLVMdev] running spec2006 with clang
On 08/16/2013 01:42 PM, Renato Golin wrote:
> On 16 August 2013 20:02, reed kotler <rkotler at mips.com
> <mailto:rkotler at mips.com>> wrote:
>
> -std=gnu89 is not valid for c++
>
>
> I think the point here is that this is the default std for GCC but not
> Clang, so you have to force clang to behave like GCC. For C++, you'll
> have to force
2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
I need to leave soon and will take a look in the morning.
I did look at the autoconf input files configure.ac
There is a disable-zlib but not a disable-valgrind, even though it seems
like there used to be.
You can find scripts on the internet when you google of people adding
disable-valgrind to configure.
I can probably implement disable-valgrind in configure.ac.
Reed
On 02/24/2014 04:33
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
2013 Aug 16
2
[LLVMdev] running spec2006 with clang
On 16 August 2013 20:02, reed kotler <rkotler at mips.com> wrote:
> -std=gnu89 is not valid for c++
>
I think the point here is that this is the default std for GCC but not
Clang, so you have to force clang to behave like GCC. For C++, you'll have
to force whatever default GCC has for it's C++ standard.
Though, GCC 4.8 is getting very close to Clang's behaviour, so
2014 Feb 21
6
[LLVMdev] make check issue with llvm-cov
rkotler at mipsswbrd006-le:~/caviumllvm/build/test$ make
Making LLVM 'lit.site.cfg' file...
Making LLVM unittest 'lit.site.cfg' file...
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -s 8192 ; \
/usr/bin/python /home/rkotler/workspace/llvm/utils/lit/lit.py -s
-v . )
XPASS: LLVM :: tools/llvm-cov/llvm-cov.test (8916 of 9784)
******************** TEST
2012 Dec 13
2
[LLVMdev] failures in test-suite for make TEST=simple
The first one failed on a diff:
******************** TEST (simple) 'sse.expandfft' FAILED!
********************
Execution Context Diff:
/home/rkotler/llvmpb3/build/projects/test-suite/tools/fpcmp: Compared:
1.139094e-07 and 1.159249e-07
abs. diff = 2.015500e-09 rel.diff = 1.738626e-02
Out of tolerance: rel/abs: 1.600000e-02/0.000000e+00
******************** TEST (simple)
2012 Dec 13
1
[LLVMdev] failures in test-suite for make TEST=simple
I use the 'make TEST=simple' as a pre-commit test. I think that everybody should run these tests before committing to LLVM.
On Dec 12, 2012, at 5:06 PM, reed kotler <rkotler at mips.com> wrote:
> when I create the report, there are no failures in it. so maybe these are being filtered for known failures.
>
> On 12/12/2012 05:03 PM, reed kotler wrote:
>> The first
2012 Dec 13
0
[LLVMdev] failures in test-suite for make TEST=simple
when I create the report, there are no failures in it. so maybe these
are being filtered for known failures.
On 12/12/2012 05:03 PM, reed kotler wrote:
> The first one failed on a diff:
> ******************** TEST (simple) 'sse.expandfft' FAILED!
> ********************
> Execution Context Diff:
> /home/rkotler/llvmpb3/build/projects/test-suite/tools/fpcmp: Compared:
>
2012 Dec 13
0
[LLVMdev] failures in test-suite for make TEST=simple
I forgot to mention that you can also run "make TEST=simple report" which will generate a nice report.
Do you know why these tests fail ? You can step into the test directory and run 'make TEST=simple' from there. It will save you some time.
On Dec 12, 2012, at 4:04 PM, reed kotler <rkotler at mips.com> wrote:
> I'm getting three failures.
>
> TEST-FAIL: