Displaying 20 results from an estimated 1200 matches similar to: "[LLVMdev] Compiling LLVM libraries for Android"
2009 Oct 28
1
[LLVMdev] lli crashes when loading .bc files with debug informations
Hello,
I'm trying to use DWARF informations to debug JITed code, but lli crashes
when it tries to run any code coming from llvm-gcc or CLANG with the -g and
-emit-llvm -c arguments. The target machine is an AMD 64 X2 processor on
linux ubuntu 9.04 in x86_64 mode. Lli is generated from the current version
of the svn repository. The backtrace and full bt from gdb are enclosed with
this
2011 Jun 15
2
[LLVMdev] Inconsistency between LLVM Jit and pandaboard
Hi all,
I'm one of the developers of the Jade project, a Jit decoder running with
LLVM 2.9. We are currently testing our decoder on a
pandaboard<http://pandaboard.org/> based
on an OMAP 4430 and the Jit compilation seems to crash once there is a call
to a function in the LLVM IR. We have already tested this issue with lli in
its 2.9 version, and this bug still stays the same. LLVM
2010 Jun 29
1
[LLVMdev] problems building vmkit
Hi All,
Thanks Nicolas for pointing out that I needed --enable-targets=x86,cpp for
my
llvm config to get vmkit to build. The process gets a lot farther but fails
in
different places depending upon the vmkit config (Can you please see the
three
case below?).
My machine is a intel core i7 running ubuntu karmic and gcc 4.4.1.
What arch/OS/distro/gcc do you all have VMKit working on?
thanks for
2010 Jun 30
0
[LLVMdev] vmkit build problems
Hi again Nicolas,
Can you please tell me the output of your llvm-gcc -v
and llvm-config -version?
Mine is below, perhaps its because I built llvm with enable-jit?
Do you have users of vmkit? ie has anyone other than
the llvm team been successful at building and running
vmkit?
I tried on a core2 machine (albeit also karmic) and have
the same problem.
Can you build a fresh machine (virtual
2010 Jun 30
3
[LLVMdev] vmkit build problems
Thanks Nicolas for your help with my build problems with vmkit.
Yes, I was missing ant -- great catch (I'm on a newly installed
machine). That fix with this configuration, gets me to the error below.
Any thoughts (build tools, other I may be missing that are not checked for)?
Are there steps that you suggest I try to gather more information on
the problem? Also -- it seems to be building
2010 Jun 30
2
[LLVMdev] vmkit build problems
Hi Zoe,
Unfortunately, I don't have access to a x64 machine anymore, so I can't test
that architecture on vmkit. Could you install a virtual machine on your
machine that is x86_32? I know it has been successfully built and ran on
x86_32 on different systems.
Cheers,
Nicolas
On Wed, Jun 30, 2010 at 7:49 AM, Zoe Wolk <zoewolk at gmail.com> wrote:
> Hi again Nicolas,
>
>
2010 Jul 05
0
[LLVMdev] vmkit build problems
Hi Zoe,
maybe you've already solved your problem with VMKit configuration, but here
you can find a mini-tutorial
that I've done to guide people on VMKit installation.
http://www2.dcc.ufmg.br/laboratorios/llp/wiki/doku.php?id=afpf
Best regards,
Alysson
On Wed, Jun 30, 2010 at 1:34 PM, nicolas geoffray <
nicolas.geoffray at gmail.com> wrote:
> Hi Zoe,
>
> Unfortunately, I
2009 Nov 02
0
[LLVMdev] llvm-mc build fails
John Myers <atomicdog.jwm at gmail.com> writes:
> I'm looking for some pointers on how to troubleshoot this problem. I'm
> trying to write a backend for the AVR.
> There is an undefined reference at line 48 which is the line FrameInfo() is
> on. I've tried to use the MSP430 and other targets as references so I'm not
> sure
> what changes I did would cause a
2009 Jul 17
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
While learning to write LLVM passes and following the precise
instructions under http://llvm.org/docs/WritingAnLLVMPass.html,
<http://llvm.org/docs/WritingAnLLVMPass.html>
I got this error when loading the hello pass to run the test program:
opt -load ./Release/lib/Hello.so -hello < test/test.bc > /dev/null
Error opening './Release/lib/Hello.so': ./Release/lib/Hello.so:
2008 Apr 22
2
[LLVMdev] The source code Makefile (newbie with pass registering Problem)
Hi!!
It's me again. I guess that there is a problem in the Makefile of my source code. But I don't know where. Could you please verify it?
The Makefile is written like this:
# Makefile for Genetic Algorithm Pass
CXXFLAGS = -Wall -I/iss/fpga3/nicole/galib247/
LDFLAGS= -L/iss/fpga3/nicole/galib247/ga/ -lga -Wl,-E
# Path to top level of LLVM heirarchy
LEVEL=../../../
# Name of the
2009 Jul 19
0
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
Hey Chuck,
I'm afraid I can't reproduce your error but...a problem you may run
into later is that opt will complain with
opt: llvm/lib/VMCore/Pass.cpp:149:
void<unnamed>::PassRegistrar::RegisterPass(const llvm::PassInfo&):
Assertion `Inserted && "Pass registered multiple times!"' failed.
Aborted
I "fixed" this by replacing the LLVMLIBS line in
2008 Mar 31
2
[LLVMdev] Pass registered multiple times!
Hi,
I'm writing my first hello world Pass with the class name First, but
when I tried to load it using opt, I got the following error:
/var/soft/llvm-2.2-build/lib/Transforms/Hello$ opt
-load ../../../Debug/lib/First.so --help
opt: /var/soft/llvm-2.2/lib/VMCore/Pass.cpp:157:
void<unnamed>::PassRegistrar::RegisterPass(llvm::PassInfo&): Assertion
`Inserted && "Pass
2008 Mar 31
0
[LLVMdev] Pass registered multiple times!
It turned out to be the problem of this line in Makefile
LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
The error is gone when I remove the above line.
However, the pass output only contains one line of the main function.
First: main
It does not have puts and __main as shown in this page:
http://llvm.org/docs/WritingAnLLVMPass.html#running
So I guess the drived FunctionPass only works on
2009 Jul 19
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
Thanks, Shu,
I guess I haven't updated since my post went out.
There are actually 2 problems:
1. mis-compilation:
My LLVM-2.5 turned out to be mis-compiled using gcc-4.4.0 (surprise to
me) on Debian4-32b.
I tried a few different compilers, and gcc-4.0.4 (a relatively old one,
again surprised me) seems to work out fine.
Question: is there a good/quick/reliable way to figure out whether a
2009 Dec 15
2
[LLVMdev] Running a pass
Hello LLVM,
I am following the document "Writing an LLVM Pass". When I ran "opt -load
../../../Debug/lib/MyPass.so -mypass < hello.bc > /dev/null" I got the next
error:
***@ubuntu:~/test$ opt -load ../../llvm/Debug/lib/MyPass.so -mypass <
hello.bc > /dev/null
opt: Pass.cpp:159: void<unnamed>::PassRegistrar::RegisterPass(const
llvm::PassInfo&): Assertion
2009 Dec 15
0
[LLVMdev] Running a pass
Juan Carlos Martinez Santos wrote:
> Hello LLVM,
>
> I am following the document "Writing an LLVM Pass". When I ran "opt
> -load ../../../Debug/lib/MyPass.so -mypass < hello.bc > /dev/null" I
> got the next error:
>
> ***@ubuntu:~/test$ opt -load ../../llvm/Debug/lib/MyPass.so -mypass <
> hello.bc > /dev/null
> opt: Pass.cpp:159:
2010 Jul 21
1
[LLVMdev] Is there a guide to LLVM's components?
I constructed an LLVM 2.7 VS solution with cmake, but it has 66 projects:
ALL_BUILD, ".\ALL_BUILD.vcproj"
BrainF, "examples\BrainF\BrainF.vcproj"
Fibonacci, "examples\Fibonacci\Fibonacci.vcproj"
FileCheck, "utils\FileCheck\FileCheck.vcproj"
HowToUseJIT,
2009 Oct 25
2
[LLVMdev] configuring LLVM 2.6 for OSX 10.4sdk on OSX 10.5 system
Hi all,
(Sorry if the answer to this is obvious - and thanks in advance~)
Short version:
linker error of _backtrace from LLVMSystem.a building a dynamic
library embedding LLVM/clang, both against the OSX 10.4 sdk.
Long version:
I've just tried rebuilding my project using the 2.6 release, using the
following commands to try and force LLVM to build against the OSX 10.4
sdk (I am
2009 Oct 25
0
[LLVMdev] configuring LLVM 2.6 for OSX 10.4sdk on OSX 10.5 system
On Oct 25, 2009, at 1:58 PM, Graham Wakefield wrote:
> Hi all,
>
> (Sorry if the answer to this is obvious - and thanks in advance~)
>
> Short version:
> linker error of _backtrace from LLVMSystem.a building a dynamic
> library embedding LLVM/clang, both against the OSX 10.4 sdk.
>
> Long version:
> I've just tried rebuilding my project using the 2.6 release,
2006 Aug 28
1
[LLVMdev] opt -load error on Darwin
I am using llvm 1.8 and have patched ltdl.c and ltdl.h to the latest
version.
My Makefile has LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a included.
> Try using 'nm -m' on the 'opt' executable itself. Using plain nm on my
> local one yields:
> 00121a4e T
> __ZN4llvm12FunctionPass16addToPassManagerEPNS_20FunctionPassManagerTERNS_13AnalysisUsageE
>
> and nm