atom feed22 messages in net.java.openjdk.bsd-port-devRe: Patch to build 64 bit VM
FromSent OnAttachments
Xiaobin LuDec 17, 2008 9:13 pm 
Xiaobin LuDec 17, 2008 9:22 pm 
Greg LewisDec 22, 2008 6:09 am 
Xiaobin LuDec 22, 2008 11:05 am.Other
Landon FullerDec 22, 2008 11:25 am 
Greg LewisDec 25, 2008 11:23 pm 
Xiaobin LuDec 25, 2008 11:34 pm 
Greg LewisDec 26, 2008 9:26 am 
Greg LewisDec 28, 2008 12:28 am 
Greg LewisDec 28, 2008 12:54 pm.diff
Xiaobin LuDec 28, 2008 1:35 pm 
Greg LewisDec 29, 2008 8:45 am 
Xiaobin LuDec 31, 2008 8:32 pm 
Michael FranzJan 2, 2009 7:58 pm 
Kelly O'HairJan 3, 2009 10:59 am 
Greg LewisJan 4, 2009 9:18 pm 
Michael FranzJan 5, 2009 4:42 am 
Xiaobin LuJan 5, 2009 11:14 am 
Michael FranzJan 5, 2009 4:43 pm 
Greg LewisJan 5, 2009 10:11 pm 
Dalibor TopicJan 6, 2009 4:45 am 
Michael FranzJan 6, 2009 7:36 am 
Subject:Re: Patch to build 64 bit VM
From:Michael Franz (mvfr@gmail.com)
Date:Jan 5, 2009 4:43:38 pm
List:net.java.openjdk.bsd-port-dev

On Mon, Jan 5, 2009 at 2:14 PM, Xiaobin Lu <Xiao@sun.com> wrote:

On 01/05/09 04:42, Michael Franz wrote:

Greg,

This is my output: Apple Inc version cctools-698.1~1, GNU assembler version 1.38

I have been trying to build 64 bit by only passing in the LP64=1 . I have not been able to get it to work, it gets pretty far. I have to change some cast from int64_t to intprt_t to get as far as I do.

This is what I did on my Leopard system. Go to the bsd-port directory and type "make ALT_BOOTDIR=/usr/local/soylatte-amd64-1.0.3 LP64=1 hotspot" and I can build the hotspot successfully. I also tried to go to make directory under hotspot subdirectory and type "make ALT_BOOTDIR=/usr/local/soylatte-amd64-1.0.3 ALT_OUTPUTDIR=/export/bsd-port/build/bsd-port/hotspot/outputdir LP64=1 jvmg product fastdebug" and that will do the same thing.

Once I put in the correct casts (change int32_t to intptr_t) the 32 bit build is fine.

As I mentioned in another email, my fix for this has only been checked into hotspot-rt repository and hasn't been integrated to the hotspot repository. I assume that will happen by the end of this week or early next week.

-Xiaobin

I tried the hotspot build for LP64 and get the same error as before: /Users/mfranz/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820/bin/java -classpath bsd_amd64_docs jvmtiGen -IN /Users/mfranz/developer/openjdk-bsd/repos/2009-01-02/hotspot/src/share/vm/prims/jvmti.xml -XSL /Users/mfranz/developer/openjdk-bsd/repos/2009-01-02/hotspot/src/share/vm/prims/jvmti.xsl -OUT bsd_amd64_docs/jvmti.html make VM_SUBDIR=product generic_export make[2]: *** No rule to make target `/Users/mfranz/developer/openjdk-bsd/repos/2009-01-02/build/bsd-i586/hotspot/import/docs/platform/jvmti/jvmti.html', needed by `generic_export'. Stop. make[1]: *** [export_product] Error 2 make: *** [hotspot-build] Error 2

I am not using Soylatte, but the openjdk binary.