Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Cross compiler"
2013 Feb 08
2
[LLVMdev] JIT on armhf
I'm using the Debian LLVM package to try and do JIT on a Linux armhf
device. Unfortunately it seems to be generating armel code rather than
armhf code, and since the ABIs don't match nothing works.
I've tried overriding the triple to arm-unknown-linux-gnueabihf and
arm-linux-gnueabihf (via module->setTargetTriple), and while the triples
are accepted, the actual generated code
2016 May 06
3
build issue in llvm-clang cross tool chain for arm target
Hello All,
I am building llvm-clang cross tool chain for arm target, after successful
build for Linux host now I am now building toolchain for *arm target*.
However, I am getting below error message which seems to be confusing and
not getting any idea how to resolve this issue.
*Command :*
#CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/crossbuild/llvm
2013 Feb 08
6
[LLVMdev] JIT on armhf
Renato Golin wrote:
[...]
> Try setting armv7a-unknown-linux-gnueabihf and see if it works better.
No, that doesn't work either.
[...]
> JIT was never the forte of ARM and I haven't tried yet, but I doubt
> it'll be any Debian misconfiguration. The whole architecture
> configuration is a bit odd...
Debian's clang packages are totally broken on armhf --- the compiler
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
Hi renato,
1. The command above is followed by the guide[ HowToCrossCompileLLVM.rst ]
and I specify some path(ex. <path-to-host-bin>).
2. The including x86_64 libraries is added because of some missing
libraries(ex. "error: Host compiler appears to require libatomic, but
cannot find it"). As I have found that the bugs needed to dealt with is
some ARM-dependent libraries, I
2016 May 05
2
LLVM cross compilation for arm target
Hello All,
I am building llvm-clang tool chain for *arm target* by following the steps
from
http://clang.llvm.org/docs/CrossCompilation.html
*However when I tried following cmake command for build tool chain it gives
the error message :*
#CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/llvm-exp/llvm
-DCMAKE_CROSSCOMPILING=True
2012 Jun 27
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
On 06/27/12 07:24, Journeyer J. Joh wrote:
> Hello,
>
> With your kind concern and help, I now can make a binary for ARM target.
>
> ./clang -v --save-temps -ccc-host-triple arm-none-linux-gnueabi
> --sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc
> -gcc-toolchain /home/hum/Documents/Projects/arm_toolchain/arm-2010.09
> hello.c -o
2013 Feb 08
0
[LLVMdev] JIT on armhf
On 8 February 2013 14:28, David Given <dg at cowlark.com> wrote:
> Debian's clang packages are totally broken on armhf --- the compiler
> emits a confused warning about the platform being unrecognised, and then
> generates softfloat code --- so I was wondering about LLVM itself.
I'm using Ubuntu on Pandas and Chromebooks and LLVM itself behaves well,
with the right set of
2012 Jun 27
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello,
With your kind concern and help, I now can make a binary for ARM target.
./clang -v --save-temps -ccc-host-triple arm-none-linux-gnueabi
--sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc
-gcc-toolchain /home/hum/Documents/Projects/arm_toolchain/arm-2010.09
hello.c -o hello
The build command is shown above.
After that, I prepared an ARM laptop,
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
Hi James, renato,
So how do I download the missing ARM libraries on Ubuntu14.04? I cannot
find any available libraries.
Best,
Liyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160425/04dfc553/attachment.html>
2014 Sep 30
2
[LLVMdev] Can libc++ build for arm cross compiler?
Hi cschen,
Here are the test scripts which I written when I was developing ARM
exception handling support:
https://github.com/loganchien/libcxx-scripts
The script should work on Debian wheezy (cross-compiling from amd64 to
armhf.)
In general, here are the necessary steps:
1. Get a working arm-linux-gnueabihf gcc/g++ toolchain (for the headers and
libraries)
2. Setup the include search path
2013 Dec 17
1
[LLVMdev] Cross compiling to ARM using LLC {Help}
Hello,
I'm trying to cross compile the MiBench benchmarks using LLC and ARM cross compiler the binaries generated will be used on pandaboard or the qemu-arm emulator.
I have faced multiple issues during the compilation process, here are the commands used.
# generate LLVM-IR for dijkstra_large.c
$gcc -S -flto -o dijkstra_large.bc -fplugin=${DRAGONEGG} dijkstra_large.c
# generate TARGET
2013 Feb 08
0
[LLVMdev] JIT on armhf
On 8 February 2013 11:01, David Given <dg at cowlark.com> wrote:
> I've tried overriding the triple to arm-unknown-linux-gnueabihf and
> arm-linux-gnueabihf (via module->setTargetTriple), and while the triples
> are accepted, the actual generated code doesn't change with either.
>
Hi David,
If you set the triple to arm it won't help, since it'll default to
2014 Sep 30
4
[LLVMdev] Can libc++ build for arm cross compiler?
The following web say the libc++abi is ready on arm.http://libcxxabi.llvm.org/spec.html
I try to build libc++ and libc++abi for host x86_64(linux) and target arm(linux) but fail.I have read the web http://llvm.org/docs/HowToCrossCompileLLVM.html
Does anyone know whether it's available for my need? If you know how to build, what is the build options you use?
Best regards
cschen
--------------
2018 Jul 01
2
Cross Compilation Problem
Hi Peter
I guess this is the document written by you
https://fosdem.org/2018/schedule/event/crosscompile/attachments/slides/2107/export/events/attachments/crosscompile/slides/2107/How_to_cross_compile_with_LLVM_based_tools.pdf
I follow it to try to use the clang to do cross compilation. Actually, my
target binaries is SPECCPU2006 and autotools based binaries.
However, I failed on the first
2018 Feb 23
2
Cross-compiling for ARM Cortex-A9 on x86
Hello list,
I have some problems using LLVM version 3.8.0 to cross-compile code for ARM Cortex-A9 on x86.
I am trying to generate LLVM IR using Clang: clang -S --emit-llvm --target=armv7a-linux-gnueabihf --sysroot=$(ARM_SYSROOT) --gcc-toolchain=$(ARM_GCC_TOOLCHAIN) -c -o translated.ll
But somehow clang it is trying to use soft-float and I get the following error: 'gnu/stubs-soft.h' file
2014 Mar 19
2
[LLVMdev] Type inference on registers with can contain multiple types
My architecture has an FPU, but uses integer registers to store
floating-point values. So each register can store either an int or an
IEEE float. I define a register class like this:
def GR32 : RegisterClass<"MyArch", [i32, f32], 32,
(sequence "R%u", 0, 32)>;
So far so good. However, when I write a rule to store a register:
def STORE32r : S32<
(outs), (ins
2016 Jun 10
1
When is PATH directive used?
Ady asked:
> Have you read the "See also" section(s) of the wiki page(s)?
Yes.
> By reading the relevant wiki pages, a user should (_hopefully_) get to
> the conclusion that the PATH directive is relevant for c32 modules, and
> not a replacement for the CONFIG / INCLUDE directives nor for relative
> paths based on the "Working Directory".
There's nothing
2018 Feb 22
1
[Bug 1230] New: checking for libmnl... no in cross-compile
https://bugzilla.netfilter.org/show_bug.cgi?id=1230
Bug ID: 1230
Summary: checking for libmnl... no in cross-compile
Product: iptables
Version: 1.6.x
Hardware: All
OS: Ubuntu
Status: NEW
Severity: enhancement
Priority: P5
Component: iptables
Assignee: netfilter-buglog at
1998 Sep 03
2
R on Linux/Alpha ?
Hi,
As a newcommer to R, I tried to install R on my Alpha 164LX PC
(running Linux), but it coredumps before performing anything.
(a common problem when porting to Alpha 164LX).
Has anybody any information and solution to this ?
--
Email: tuffery@urbb.jussieu.fr
Tel : (33 1) 44.27.77.33
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list --
2013 Feb 08
2
[LLVMdev] JIT on armhf
On 08/02/13 14:42, Renato Golin wrote:
[...]
> Can you paste the result of a "clang -v -mcpu=CPU file.c" on your box? I
> want to see what are the arguments and the assembler/linker it's
> choosing to use. What CPU are we talking about?
The box itself is an Allwinner A10; armv7l. /proc/cpuinfo says it's got
swp half thumb fastmult vfp edsp neon vfpv3.
I've been