[vmkit-commits] Building VMkit: 32 bit and 64 bit - patch to build 64bits+tests

Minas Abrahamyan minas.subs at gmail.com
Thu Jul 15 01:09:13 PDT 2010


Hi Nicolas,

Here is patch, and to apply it:
$cd vmkit
$patch -p2 <../vmkit_make64-2.patch

There I changed also a new hashCode() function from
lib/J3/VMCore/JavaObject.cpp
 - pointers in 64bit machines are of 8-byte size. Now 64 bit continues to
build.

Regards,
Minas

On Thu, Jul 15, 2010 at 1:11 AM, nicolas geoffray <
nicolas.geoffray at gmail.com> wrote:

> Hi Minas,
>
> Thanks for the patch! Indeed the tests are not useful, they're mainly here
> for historical reasons. Could you send me a file that I can use with the
> 'patch' tool?
>
> Cheers,
> Nicolas
>
> On Wed, Jul 14, 2010 at 1:17 AM, Minas Abrahamyan <minas.subs at gmail.com>wrote:
>
>> Hi,
>>
>> After reading about some problems with building VMkit x86_64 in llvm-dev
>> list I realized that it wasn't tested too long to work in 64 bits
>>
>> So I tried to build VMkit on 32 bit linux and it works fine: I mean it was
>> built ok, but crushes at run (SIGSEGV see net mail).
>>
>> Building 64 bit version requires changes in Makefiles, as in patch I'm
>> supplying, and now 64bit version builds ok too. And J3 brings the same
>> SIGSEGV error.
>>
>> Also I made some changes to tests (testAllocator, testCollector) to made
>> them just build, although I saw they are now not much of usefulness, but
>> anyway.
>>
>> Please see/review attached patch file and apply it to sources, or give me
>> access for I do it myself.
>>
>> Regards,
>> Minas
>>
>> PS will mailserver pass attachments?
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20100715/c9c64756/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmkit_make64-2.patch
Type: text/x-patch
Size: 6289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20100715/c9c64756/attachment.bin>


More information about the vmkit-commits mailing list