other architectures

Yuri Khotyaintsev yuri at irfu.se
Fri Mar 18 08:44:08 PST 2005


18 mar 2005 17.21, Greg Lewis/You wrote:
> On Fri, Mar 18, 2005 at 05:16:05PM +0100, Yuri Khotyaintsev wrote:
> > 18 mar 2005 17.05, Greg Lewis/You wrote:
> > > On Fri, Mar 18, 2005 at 03:59:22PM +0000, Chuck Robey wrote:
> > > > I wanted to build java (jdk14) for the OpenOffice-2.0 port, but the
> > > > jdk14 port tells me that for my architecture (I have dual amd64
> > > > Opterons here) the port is i386 only.
> > > >
> > > > Is this true, or merely that you haven't had time for amd64 yet, and
> > > > it might possibly work?
> > >
> > > You can't compile a native amd64 binary of jdk14.  You can install
> > > an x86 version you've compiled on an x86 machine and I suspect it
> > > would work.  You could also try jdk15 which should build natively on
> > > amd64.
> >
> > Copying jdk14 compiled on x86 to an amd64 machine have not worked for me.
> > There are some posts on this subject on amd64 list.
>
> Interesting.  We regularly run an x86 jdk14 on amd64 under Linux at work.
> So I don't believe there is any fundamental reason this shouldn't work.
> It sounds like some sort of complication between the jdk code and the
> 32 bit layer under FreeBSD.

It has something to do with implementation of "i386_set_ldt" on amd64.
http://lists.freebsd.org/mailman/htdig/freebsd-amd64/2005-February/003554.html

-- 
Yuri Khotyaintsev
Institutet för rymdfysik (IRF), Uppsala
tel: +46 18 471 59 29
fax: +46 18 471 59 05


More information about the freebsd-java mailing list