Patch to build 64 bit VM
glewis at eyesbeyond.com
Sun Jan 4 21:20:39 PST 2009
On Fri, Jan 02, 2009 at 10:59:37PM -0500, Michael Franz wrote:
> On Wed, Dec 31, 2008 at 11:32 PM, Xiaobin Lu <Xiaobin.Lu at 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: *** No rule to make target
> 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?
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the bsd-port-dev