Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] VMKIT: Assertion at build"
2012 Jun 06
0
[LLVMdev] VMKIT: Assertion at build
Hi Fivos,
I cannot reproduce on my machine (ubuntu 64bit, clang/llvm/vmkit on svn
trunk). What's your configuration?
Cheers,
Nicolas
On Tue, Jun 5, 2012 at 3:08 PM, Fivos <fivosz at gmail.com> wrote:
> Hello,
>
> after completing the build i get
>
> ...
> BUILD SUCCESSFUL
> Total time: 5 seconds
> llvm[2]: Building Release+Asserts mmtk-vmkit.jar all
> vmjc:
2012 Jun 07
2
[LLVMdev] VMKIT: Assertion at build
Hi,
My machine is running Ubuntu server 64-bit
And the revision from the trunk is 158095 for llvm, clang and vmkit
llvm configuration
../../llvm/configure --enable-doxygen --enable-optimized --disable-jit
vmkit configuration
../../llvm/vmkit/configure --with-llvmsrc=/home1/public/zakkak/llvm/
--with-llvmobj=/home1/public/zakkak/java/llvm/
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/
2012 Jun 07
0
[LLVMdev] VMKIT: Assertion at build
Hi Fovios,
On Thu, Jun 7, 2012 at 3:51 PM, Foivos <fivosz at gmail.com> wrote:
> Hi,
>
> My machine is running Ubuntu server 64-bit
> And the revision from the trunk is 158095 for llvm, clang and vmkit
>
> llvm configuration
> ../../llvm/configure --enable-doxygen --enable-optimized --disable-jit
>
Why do you disable the JIT? VMKit needs it to compile MMTk.
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
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
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
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
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 Jun 11
2
[LLVMdev] VMKIT: Assertion at build
Thanks Favios for finding the problem! I have applied a patch to
Makefile.rules, hopefully it now works without you editing some files.
About VMKIT_SRC_ROOT and PROJ_SRC_ROOT, it is fine to have both in the
code. I find it clearer to use VMKIT_SRC_ROOT.
Nicolas
On Sun, Jun 10, 2012 at 10:09 PM, Foivos S. Zakkak <foivos at zakkak.net>wrote:
> Hi Nicolas,
>
> I finally found the
2012 Jun 27
1
[LLVMdev] How to make a cross compiler for xilinx microblaze
conmfigure does not accept mblaze nor mblaze-elf as target.
checking target system type... Invalid configuration `mblaze': machine
`mblaze' not recognized
configure: error: /bin/bash ../../spare/llvm/autoconf/config.sub mblaze
failed
However with microblaze it proceeds fine. But when i try to use clang i get:
clang: error: 'microblaze-unknown-none': unable to pass LLVM bit-code
2013 Apr 17
1
[LLVMdev] [vmkit]Problems when modifying J3
Hi Julien,
I found out what was missing for adding a field to JavaClass.
While precompiling Java code (JavaAOTCompiler) we create an equivalent
LLVM Constant object for each class.
So modifying the internal representation of a class means that you also
have to modify the AOTCompiler.
Here is a patch with a tiny example where an int is added to JavaClass.
If you want to add more complex
2012 Jun 09
0
[LLVMdev] VMKIT: Assertion at build
On Jun 7, 2012, at 4:32 PM, Foivos S. Zakkak wrote:
> 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
>
> //
2011 Aug 23
2
[LLVMdev] VMKit build error
I'm trying to build the SVN version of VMKit and I'm getting this error
while building.
I have llvm and clang built from SVN too.
Any help?
llvm[2]: Building Release+Asserts mmtk-vmkit.jar all
vmjc: JavaClass.cpp:442: j3::JavaObject *j3::Class::doNew(j3::Jnjvm *):
Assertion `this && "No class when allocating."' failed.
0 vmjc 0x0000000000e9c44f
1 vmjc
2014 Mar 07
2
[LLVMdev] Running VMKit's AOT Java Compiler
Hi,
I'm new to VMKit and I'm trying to use its AOT Java compiler but I'm
immediately getting an error message which I don't understand.
Everything was compiler as suggested in the Getting Started tutorial, using
GNU Classpath. I try to run:
llcj ../../tools/trainer/Release+Asserts/HelloWorld.class
and get the following output:
Can not materiale a function in AOT mode.0
2013 Apr 15
2
[LLVMdev] [vmkit]Problems when modifying J3
Hi all,
I am currently working with vmkit (especially on J3) for a student project,
I want to made some experimentations on J3.
I see in the file lib/j3/VMCore/JavaClass.h that if I want to add some
attributes in the class JavaClass I must change a few thing in
LLVMRuntime/* and in JnjvmModule.cpp.
But JnjvmModule.cpp does not exist anymore. So my first question is : what
is the equivalent of
2011 Aug 23
2
[LLVMdev] VMKit build error
Hmm, disregard my previous comment (while you might still have issues
with 64bit, that's not what's primarily causing your issue)--your
particular error is when you don't point vmkit to the classpath
libraries properly.
Set it with the configure option
--with-gnu-classpath-glibj=/path/to/classpath-0.97.2/lib/glibj.zip
Good luck!
~Will
On Tue, Aug 23, 2011 at 5:49 PM, Will Dietz
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
2013 Apr 16
0
[LLVMdev] [vmkit]Problems when modifying J3
Hi Julien,
I also tried to add a field and get the same error as you.
In theory, to add a field in JavaClass or JavaCommonClass you have to
put your field at the end of the declaration list (in order to minimize
index changes in J3Intrinsics)
in C++ code and in LLVMRuntime/runtime-single.ll
We are working on this issue to see what is going wrong.
The problem is the fact that the error is not
2011 Aug 23
0
[LLVMdev] VMKit build error
Are you running on 64bit (your backtrace addresses suggest you are)?
I'm encountering the same error when trying to use VMKit on 64bit,
which I believe is an unsupported target.
~Will
On Tue, Aug 23, 2011 at 5:17 PM, Frederic Perez Ordeig
<fredericp at gmail.com> wrote:
> I'm trying to build the SVN version of VMKit and I'm getting this error
> while building.
> I