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:Greg Lewis (gle@eyesbeyond.com)
Date:Jan 4, 2009 9:18:51 pm
List:net.java.openjdk.bsd-port-dev

G'day Michael,

On Fri, Jan 02, 2009 at 10:59:37PM -0500, Michael Franz wrote:

On Wed, Dec 31, 2008 at 11:32 PM, Xiaobin Lu <Xiao@sun.com> wrote:

Greg,

I tried to pass in LP64=1 to build 64 bit VM on Mac OS. This is same as other platforms. It looks like you have checked in the fix to os_bsd_x86.cpp so I don't believe I have to do anything more.

Regards,

Happy new year. -Xiaobin

I am not sure where this leaves the 64 bit and 32 bit builds, but I cannot build either without patching them. I also noticed that the 64 bit builds does not seem to honor the NO_DOCS=true flag.

make[3]: *** 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'

I just committed the other two of Xiaobin's changes. These help me with the 64 bit build. I have two patches left. I don't think one of these has any effect on 64 bit builds. The other patch is to adlc.make, but I wonder if thats just because of how I'm trying to get things to work for 64 bit builds.

I invoke GNU make with

gmake ARCH=amd64 LP64=1

(I think the LP64=1 is actually redundant).

This mostly works except it then looks for x86_64.ad in the wrong place (src/cpu/amd64/vm instead of src/cpu/x86/vm). I can hack around that in adlc.make, but I have to wonder if other people are building 64 bit differently to avoid this?

Anyway, I can get through the 64 bit HotSpot build, but my build dies during the jdk part of the build since my userland is all 32 bit. How are you dealing with that?

I'm still blocked by the assembler issues on 32 bit. I think its to do with my version of as, but I'd really like some more insight there. Can you please run 'as -v' and tell me the output?