Displaying 20 results from an estimated 1000 matches similar to: "build issue in llvm-clang cross tool chain for arm target"
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
2016 Mar 01
2
How to write a simple MachineFunctionPass
Hello everyone,
I have written simple LLVM passes, but I cannot able to write a
MachineFunctionPass pass.
I am following the steps form the following link but it is not working:
http://www.gabriel.urdhr.fr/2014/09/26/adding-a-llvm-pass/
Please share the sample MachineFunctionPass code or steps to follow to
write MachineFunctionPass.
Thanks,
Bala
--
Thanks,
Bala
IIITA Allahabad
--------------
2016 Mar 01
0
How to write a simple MachineFunctionPass
First you should learn how to write a pass and then a MachineFunctionPass.
>From LLVM website, you can refer to
http://llvm.org/docs/WritingAnLLVMPass.html
And for outside pass, you can refer to
http://adriansampson.net/blog/llvm.html
It's a great article.
And the author put the source code on Github
<https://github.com/sampsyo/llvm-pass-skeleton>.
2016-03-01 14:36 GMT+08:00
2016 Feb 26
1
How to write LLVM pass to collect register usage stats
Hi All,
I wanted to collect the register usage stats for the program assigned by
compiler(in other words "how many time each register will be accessed by
the program when it will execute"). How to write LLVM pass which will
analyse the code after LLVM global register allocation pass and output the
stats.
Regards,
-Bala
--
Thanks,
Bala
IIITA Allahabad
-------------- next part
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 02
3
How to convert assembly code to executable
Hello All,
I have converted c program into assembly code for alpha target using
following commands
clang -emit-llvm matrix.c -c -o matrix.bc
llc -march=alpha matrix.bc -o matrix.s
Now how to convert matrix.s assembly file into executable file of alpha
target?
Any help is appreciated
Thanks in advance !!
Thanks,
Bala
-------------- next part --------------
An HTML attachment was scrubbed...
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
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,
2012 Jun 28
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello list
I think I really finally found a way to crossbuild a binary for ARM using
Clang/llvm.
This message would be a documentation for someone who may concern for the
same issue with me.
- Target : TOSHIBA AC100 / Ubuntu 12.04 (https://wiki.ubuntu.com/ARM/**
TEGRA/AC100 <https://wiki.ubuntu.com/ARM/TEGRA/AC100>)
- Host : i386 Desktop PC / Ubuntu 12.04
- Toolchain on host : sudo
2016 Feb 27
1
Need help on how to write MachineFunctionPass
Deer All,
I wanted to write MachineFunctionPass which needs to be run after global
register allocation pass.
I have read LLVM documentation and blogs and able to write simple pass
which will is invoked through opt command line.
However, I could able to find any blogs or document to explains clear steps
for writing MachineFunctionPass.
Please suggest some documents or blogs which will help me
2010 Jun 14
2
calling peer from server
Hi everybody,
This is the console output of the asterisk server.
debian-te410*CLI> sip set debug peer 2002
SIP Debugging Enabled for IP: 172.26.48.113:5061
I have a sofphone with user 2002 registered on the server on the ip 113.
I am trying to place a call to the sofphone on this ip. I have written a
simple php script which utilises the exec_dial function inbuilt in
phpagi.php file.
I have
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>
2010 Jun 10
1
asterisk registration
Hi all,
I think i understand the problem, actually I have two asterisk server. In
the extension.conf file on one server I have added
exten => 3923903,1,GOTO(s,1,3923903.conf)
which reads the corresponding conf file when ever the extension no. through
PSTN is called and learns the location of inbound.php which contains the IVR
script to be executed.
Now what i want is that through this
2010 Jun 21
1
using call file
HI list-users,
Greetings!!
I have been using call file, i playback my file using *
application:playback*
and once the playback is over the call is disconnected. Is there any way it
can wait and also record the dtmf inputs once the playback is over.
Thanks in advace
Nikhil Kumar
summer intern:simmortel voice technologies
rit2007033
b.tech IT 6th sem
IIIT Allahabad
contact at 9793905858
email:
2010 Jun 22
1
storing DTMF inputs
Thanks a lot Danny.
I have done the part of playing a file by creating a context in my
dialplan. Now I am puzzled as i wish to store the DTMF inputs done by the
users who is listening to the playback. I found there are ways, but some
specific way by which it is not stored in file but conveyed directly to the
asterisk server.
When the call landed up on the softphone, i pressed keys the
2004 Jun 25
2
R 1.9.1 package installation problems
Hello,
I am writing as an administrator, not as an R user, so forgive me if I
am not completely knowledgeable about R.
I have a user who is creating an R package for windows from a Linux
environment using the crossbuild environment by Jun Yan and A.J.
Rossini. The packages she generated worked fine until she tried to
install in R 1.9.1 for Windows. Now when she installs with
2010 Jun 15
4
can't seem to register, status unmonitored
Hi everybody,
I am trying to register my softphone(twinkle) on an asterisk server.
Everything seems to be fine.
Here is the output on show registrations in twinkle:
Tue 18:57:51
nikhil: you have the following registrations
<sip:2001 at 172.26.48.208 <sip%3A2001 at 172.26.48.208>>;expires=3013
208 is ip of the asterisk server.
on the server on doing 'sip show peers' , it
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:
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