Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] error on compiling vmkit"
2013 Jun 07
1
[LLVMdev] Error on compiling VMkit
Hi all,
After "BUILD SUCCESSFUL" Message on compiling VMkit.
The make starts compiling mmtk-vmkit.jar The following command errors out:
Compiling 'mmtk-vmkit.jar'
/vmkit/Release+Asserts/bin/vmjc
-load=/vmkit/Release+Asserts/lib/MMTKRuntime.so
-load=/vmkit/Release+Asserts/lib/MMTKMagic.so -LowerMagic
/vmkit/mmtk/java/Release+Asserts/mmtk-vmkit.jar -disable-exceptions
2012 Jun 07
2
[LLVMdev] VMKIT: Assertion at build
Still the same.
Is there any chance that the placement of my directories are causing this?
Also the exact command that fails is
/home1/public/zakkak/java/vmkit/Release+Asserts/bin/vmjc
-std-compile-opts
-load=/home1/public/zakkak/java/vmkit/Release+Asserts/lib/MMTKRuntime.so
-load=/home1/public/zakkak/java/vmkit/Release+Asserts/lib/MMTKMagic.so
-LowerMagic
2012 Jun 07
0
[LLVMdev] VMKIT: Assertion at build
Hi Fovios,
Do you have a ./lib/j3/LLVMRuntime/LLVMRuntime.inc file being generated?
What does it contain?
Nicolas
On Thu, Jun 7, 2012 at 5:47 PM, Foivos S. Zakkak <foivos at zakkak.net> wrote:
> Still the same.
>
> Is there any chance that the placement of my directories are causing this?
>
> Also the exact command that fails is
>
>
2012 Nov 19
0
[LLVMdev] Making VMKit2
Hi Nicolas,
I am so sorry for the questions. According to you, I built VMKit2 on Ubuntu11.10-desktop-amd64 on Intel(R) Corei5, and the previous problem solved. But another one appeared! With the following configuration:
elaheh at elaheh-Lenovo-G470:~/Desktop/vmkit2$ ./configure --with-llvmsrc=/home/elaheh/Desktop/llvm/ --with-llvmobj=/home/elaheh/Desktop/llvm/
2012 Jun 10
0
[LLVMdev] VMKIT: Assertion at build
Hi Nicolas,
I finally found the root of the problem. Build was unable to locate
llvm-build because it was looking for it in
path/to/vmkit_src/utils/llvm-build while it was located in
path/to/llvm_src/utils/llvm-build
Actually llvm-build's path is defined by the
path/to/llvm_src/Makefile.rules and looks like this
LLVMBuildTool := $(PROJ_SRC_ROOT)/utils/llvm-build/llvm-build
however in
2012 Jun 07
4
[LLVMdev] VMKIT: Assertion at build
Hi Nicolas,
it looks like there are missing things
$ more lib/j3/LLVMRuntime/LLVMRuntime.inc
// Generated by llvm2cpp - DO NOT MODIFY!
Module* makeLLVMModuleContents(Module *mod) {
mod->setModuleIdentifier("<stdin>");
// Type Definitions
// Function Declarations
// Global Variable Declarations
// Constant Definitions
// Global Variable Definitions
// Function
2011 Oct 25
0
[LLVMdev] A bunch of errors while installing VMKit and compiling LLVM
Hi Sergii,
I think there is a problem in your configure command for VMKit. If you look
at what you provide for glibj:
--with-gnu-classpath-glibj="/home/svozniuk/llvm/classpath-0.97.2
I don't think it's right. You should change it to:
--with-gnu-classpath-glibj="/home/svozniuk/llvm/classpath-0.97.2/lib/glibj.zip
Also please make sure that you have created the links for the
2011 Oct 25
2
[LLVMdev] A bunch of errors while installing VMKit and compiling LLVM
Hi, Nicolas
Indeed, I did not have ant installed and installing it allowed me to
overcome the previous error. However the next one appeared. I have ran make
with ENABLE_OPTIMIZED=1 VERBOSE=1 and here is the output (the last part of
it)
make[2]: Entering directory `/home/svozniuk/llvm/vmkit/mmtk/java'
/usr/bin/ant -buildfile /home/svozniuk/llvm/vmkit/mmtk/java/build.xml
Buildfile:
2012 Jun 07
0
[LLVMdev] VMKIT: Assertion at build
On Thu, Jun 7, 2012 at 4:27 PM, Foivos S. Zakkak <foivos at zakkak.net> wrote:
> Hi Nicolas,
>
> I thought MMTk is written in java and it is compiled by javac.
>
It is compiled by javac to produce Java bytecode. Then vmkit runs the
initialization code of MMTk (through the JIT) and generates the binary code
through llvm.
> retried a clean build with JIT enabled
>
>
2012 Jun 07
2
[LLVMdev] VMKIT: Assertion at build
Hi Nicolas,
I thought MMTk is written in java and it is compiled by javac.
retried a clean build with JIT enabled
llvm configuration
../../llvm/configure --enable-doxygen --enable-optimized --enable-jit
vmkit configuration
../../llvm/vmkit/configure --with-llvmsrc=/home1/public/zakkak/llvm/
--with-llvmobj=/home1/public/zakkak/java/llvm/
2013 Jun 26
1
[LLVMdev] VmKit build failure
Hello,
I'm trying to build vmkit as described on
http://vmkit.llvm.org/get_started.html and
constantly getting the following error:
db at hot:~/develop/vmkit$ make
[vmkit .]: Entering compilation process
[vmkit ./mmtk/java]: Compiling 'mmtk-vmkit.jar'
vmjc: ctthread.cpp:141: void vmkit::StackWalker::operator++(): Assertion
`(addr < System::GetCallerOfAddress(addr))
2011 Aug 27
0
[LLVMdev] VMKit Development
This error usually shows up when vmkit cannot find the classpath libs and
jar. Make sure --with-gnu-classpath-libs points to the directory of .so
files are, and that --with-gnu-classpath-glibj points to glibj.zip.
Nicolas
On Sat, Aug 27, 2011 at 5:13 AM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Hi,
> I just did a reconfigure and rebuild with the latest svn for vmkit code.
>
2011 Aug 27
2
[LLVMdev] VMKit Development
Hi,
I just did a reconfigure and rebuild with the latest svn for vmkit code.
The code still seg faults but the stack trace seems to have changed.
llvm[2]: Building Debug+Asserts mmtk-vmkit.jar all
vmjc: JavaRuntimeJIT.cpp:172: uint32 j3VirtualTableLookup(j3::Class*,
uint32, uint32*, j3::JavaObject*): Assertion
`dmeth->classDef->isInitializing() && "Class not ready in a virtual
2011 Aug 29
0
[LLVMdev] VMKit Development
Hi Akshat,
Please use version 0.97.2. vmkit does not support 0.98.
Also, it should be fine to not compile gtk+ peer.
Nicolas
On Mon, Aug 29, 2011 at 8:58 PM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Thanks Nicolas,
> I do have --with-gnu-classpath-libs and --with-gnu-classpath-glibj
> pointing to the right thing, but I have gnu class path 0.98 instead of 0.97
> and its
2011 Aug 29
2
[LLVMdev] VMKit Development
Thanks Nicolas,
I do have --with-gnu-classpath-libs and --with-gnu-classpath-glibj
pointing to the right thing, but I have gnu class path 0.98 instead of 0.97
and its the non X version.
So I do not have the libgtkpeer.so.
Maybe that is the reason why it is crashing. Unfortunately, I am not able to
compile GNU class path with gtk+ peer right now.
Will give it a try on the mac.
Thanks,
Akshat
2011 Aug 26
0
[LLVMdev] VMKit Development
I just noticed there was some .h move around in llvm and fixed the includes
in vmkit. Maybe you were just removing the failing includes?
In any case, I have updated vmkit for llvm trunk. Let me know if updating
helps.
Nicolas
On Fri, Aug 26, 2011 at 12:00 PM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Yep, I am compiling with llvm-gcc. Also I removed the LD flag on the
>
2011 Aug 25
2
[LLVMdev] VMKit Development
Hi,
I tried building again with the latest llvm.
I am getting another seg fault:
make[2]: Entering directory `/root/code/vmkit/mmtk/java'
Buildfile: /root/code/vmkit/mmtk/java/build.xml
main:
[javac] /root/code/vmkit/mmtk/java/build.xml:4: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
[javac] Compiling 1
2011 Aug 25
0
[LLVMdev] VMKit Development
Hi Akshat,
Could you give us your configuration? CPU/OS? How did you configure and
build llvm and vmkit?
Nicolas
On Thu, Aug 25, 2011 at 4:12 AM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Hi,
> I tried building again with the latest llvm.
> I am getting another seg fault:
>
> make[2]: Entering directory `/root/code/vmkit/mmtk/java'
> Buildfile:
2011 Aug 26
2
[LLVMdev] VMKit Development
Yep, I am compiling with llvm-gcc. Also I removed the LD flag on the
configure, it still gives the same segafault.
Thanks,
Akshat
On Fri, Aug 26, 2011 at 4:21 AM, Nicolas Geoffray <
nicolas.geoffray at gmail.com> wrote:
> On Fri, Aug 26, 2011 at 1:08 AM, Akshat Gupta <g.akshat at gmail.com> wrote:
>
>> Hi,
>>
>> Here are my build details.
>> OS:
>>
2011 Aug 25
2
[LLVMdev] VMKit Development
Hi,
Here are my build details.
OS:
Linux scop 2.6.38-gentoo-r6 #1 SMP Sat Jul 9 13:07:18 EST 2011 i686 Intel(R)
Core(TM) i5-2415M CPU @ 2.30GHz GenuineIntel GNU/Linux
Machine: VirtualBox (32 bit)
Configure (VMKit):
./configure --with-llvmsrc=/root/code/llvm --with-llvmobj=~/code/llvm
--with-gnu-classpath-libs=/usr/gnu-classpath-0.98/lib/classpath
LD=/usr/bin/llvm-ld