[vmkit-commits] VMKit update
Koutheir Attouchi
koutheir at gmail.com
Tue Oct 9 05:55:12 PDT 2012
Then I think there is something wrong either with LLVM or with VMKit
GC. In order to trace the problem, compile LLVM in debug mode so that
when the exception occurs you can step into the code of LLVM and
inspect the problem with a debugger.
Koutheir ATTOUCHI.
LinkedIn profile: http://www.linkedin.com/in/koutheirattouchi
Blog: http://koutheir.blogspot.com
On Tue, Oct 9, 2012 at 2:07 PM, Harris BAKIRAS <h.bakiras at gmail.com> wrote:
> That's the point, I'm trying to update VMKit in order to be compatible with
> the latest version of LLVM.
>
> Harris Bakiras
>
>
> On 10/09/2012 01:53 PM, Koutheir Attouchi wrote:
>>
>> Don't use the latest version of LLVM. Use revision 158308 of LLVM,
>> CLang and Compiler-RT.
>>
>> Koutheir ATTOUCHI.
>> LinkedIn profile: http://www.linkedin.com/in/koutheirattouchi
>> Blog: http://koutheir.blogspot.com
>>
>>
>>
>> On Tue, Oct 9, 2012 at 1:25 PM, Harris BAKIRAS <h.bakiras at gmail.com>
>> wrote:
>>>
>>> Hi all,
>>>
>>> I just check out llvm svn and realized that VMKit needs a little update
>>> to
>>> be compatible.
>>> I tried to fix it with the patch I'm sending in attachement but I have
>>> the
>>> following compiling error.
>>>
>>> Somebody has an idea of what's happening ?
>>>
>>> --
>>> Harris Bakiras
>>>
>>>
>>> -----------------------------------------------------------------------------------------------------
>>>
>>> llvm[3]: Compiling JavaClass.bc to JavaClass.s for Release+Asserts build
>>> /home/harris/VMKit/llvm_debug/Release+Asserts/bin/llc -disable-cfi
>>> -disable-fp-elim
>>>
>>> -load=/home/harris/VMKit/vmkit_inria/Release+Asserts/lib/StaticGCPrinter.so
>>>
>>> /home/harris/VMKit/vmkit_inria/lib/j3/VMCore/Release+Asserts/JavaClass_gc.bc
>>> -o
>>>
>>> /home/harris/VMKit/vmkit_inria/lib/j3/VMCore/Release+Asserts/JavaClass_gc.s
>>> llc:
>>>
>>> /home/harris/VMKit/llvm_debug/include/llvm/CodeGen/MachineFrameInfo.h:393:
>>> int64_t llvm::MachineFrameInfo::getObjectOffset(int) const: Assertion
>>> `!isDeadObjectIndex(ObjectIdx) && "Getting frame offset for a dead
>>> object?"'
>>> failed.
>>> 0 llc 0x0000000000e9bd42
>>> 1 llc 0x0000000000e9c194
>>> 2 libpthread.so.0 0x00002b55457b2cb0
>>> 3 libc.so.6 0x00002b554640c445 gsignal + 53
>>> 4 libc.so.6 0x00002b554640fbab abort + 379
>>> 5 libc.so.6 0x00002b554640510e
>>> 6 libc.so.6 0x00002b55464051b2
>>> 7 llc 0x0000000000846dec
>>> llvm::X86FrameLowering::getFrameIndexOffset(llvm::MachineFunction const&,
>>> int) const + 668
>>> 8 llc 0x0000000000add42f
>>> 9 llc 0x0000000000b3500d
>>> llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 125
>>> 10 llc 0x0000000000e3f6da
>>> llvm::FPPassManager::runOnFunction(llvm::Function&) + 346
>>> 11 llc 0x0000000000e3f9cb
>>> llvm::FPPassManager::runOnModule(llvm::Module&) + 171
>>> 12 llc 0x0000000000e3fbd8
>>> llvm::MPPassManager::runOnModule(llvm::Module&) + 328
>>> 13 llc 0x0000000000e401c3
>>> llvm::PassManagerImpl::run(llvm::Module&) + 451
>>> 14 llc 0x0000000000e402fa
>>> llvm::PassManager::run(llvm::Module&)
>>> + 10
>>> 15 llc 0x000000000051a077 main + 5447
>>> 16 libc.so.6 0x00002b55463f776d __libc_start_main + 237
>>> 17 llc 0x0000000000518a6d
>>> Stack dump:
>>> 0. Program arguments:
>>> /home/harris/VMKit/llvm_debug/Release+Asserts/bin/llc -disable-cfi
>>> -disable-fp-elim
>>>
>>> -load=/home/harris/VMKit/vmkit_inria/Release+Asserts/lib/StaticGCPrinter.so
>>>
>>> /home/harris/VMKit/vmkit_inria/lib/j3/VMCore/Release+Asserts/JavaClass_gc.bc
>>> -o
>>>
>>> /home/harris/VMKit/vmkit_inria/lib/j3/VMCore/Release+Asserts/JavaClass_gc.s
>>> 1. Running pass 'Function Pass Manager' on module
>>>
>>> '/home/harris/VMKit/vmkit_inria/lib/j3/VMCore/Release+Asserts/JavaClass_gc.bc'.
>>> 2. Running pass 'Analyze Machine Code For Garbage Collection' on
>>> function
>>> '@_ZNK2j310JavaMethod8toStringEv'
>>> make[3]: ***
>>>
>>> [/home/harris/VMKit/vmkit_inria/lib/j3/VMCore/Release+Asserts/JavaClass_gc.s]
>>> Aborted (core dumped)
>>> make[3]: Leaving directory `/home/harris/VMKit/vmkit_inria/lib/j3/VMCore'
>>> make[2]: *** [all] Error 1
>>> make[2]: Leaving directory `/home/harris/VMKit/vmkit_inria/lib/j3'
>>> make[1]: *** [j3/.makeall] Error 2
>>> make[1]: Leaving directory `/home/harris/VMKit/vmkit_inria/lib'
>>> make: *** [all] Error 1
>>>
>>>
>>> _______________________________________________
>>> vmkit-commits mailing list
>>> vmkit-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>>>
>> _______________________________________________
>> vmkit-commits mailing list
>> vmkit-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>
>
> _______________________________________________
> vmkit-commits mailing list
> vmkit-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
More information about the vmkit-commits
mailing list