Icedtea on FreeBSD PowerPC
Curtis Hamilton
hamiltcl at verizon.net
Sat Oct 24 18:10:56 UTC 2015
My initial success was in building the mercurial OpenJDK7 BSD-Port, using
the attached build script and instructions obtained from the OpenJDK Wiki
Darwin9Build section. Subsequently, I used information from the arm patch
to modify the ports Makefile and build the ports distribution. Other than
what's in the make file patch, no other patches were needed, as I used the
mercurial build as the bootstrap.
As you previously noted, the key for non-x86 builds is the bootstrap. I
used the GCC java tools and created a bootstrap from sym links to the GCJ
executables in /usr/local/bin. I can provide more details if needed,
however, building GCC java is not straight forward as it is not an available
option for non-x86 GCC builds.
-----Original Message-----
From: Greg Lewis [mailto:glewis at eyesbeyond.com]
Sent: Friday, October 23, 2015 9:21 PM
To: Curtis Hamilton <hamiltcl at verizon.net>
Cc: freebsd-java at freebsd.org
Subject: Re: Icedtea on FreeBSD PowerPC
On Fri, Oct 23, 2015 at 08:00:47AM -0400, Curtis Hamilton wrote:
> After many failed tries, I finally succeeded in building Openjdk 7 on
> PowerPC64. Anyone interested in how it was done or wants the binaries?
>
> My next challenge is to build OpenJDK 8 on PowerPC64 .
Cool :)
Do you have patches or were no code changes required?
-- Greg
> -----Original Message-----
> From: owner-freebsd-java at freebsd.org
> [mailto:owner-freebsd-java at freebsd.org]
> On Behalf Of Curtis Hamilton
> Sent: Tuesday, September 29, 2015 9:20 AM
> To: 'Greg Lewis' <glewis at eyesbeyond.com>
> Cc: freebsd-java at freebsd.org
> Subject: RE: Icedtea on FreeBSD PowerPC
>
> Thanks for the insight, but l don't have a sufficient bootstrap to for
> openjdk8. Like I said, I've had some success building openjdk6, but I
> get a seg fault and core dump when the newly created 'java' executable is
run.
>
> It would be helpful if you could view the attached log file that is
> created and point me to what I'm doing wrong.
>
> Thanks in advance.
>
> Curtis
>
> -----Original Message-----
> From: Greg Lewis [mailto:glewis at eyesbeyond.com]
> Sent: Friday, September 25, 2015 12:38 AM
> To: Curtis Hamilton <hamiltcl at verizon.net>
> Cc: freebsd-java at freebsd.org
> Subject: Re: Icedtea on FreeBSD PowerPC
>
> On Mon, Sep 14, 2015 at 04:39:59PM -0400, Curtis Hamilton wrote:
> > Has anyone been successful in building openjdk6 or openjdk7 using
> > icedtea on a FreeBSD PowerPC based system? If so, I'd love to know
> > how
> you did it.
> >
> > I've successfully implemented a workable bootsrap using GCJ and
> > ECJ, but encounter problems in building HotSpot.
>
> You may be able to build openjdk8 using the Zero VM if you apply the
> patches from
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201308
>
> and additionally modify the Makefile to also allow the correct ARCH
> settings for powerpc.
>
> However, that would still require some sort of bootstrapping, so maybe
> you'd hit the same error still, depending on what is causing that.
>
> --
> Greg Lewis Email : glewis at eyesbeyond.com
> Eyes Beyond Web : http://www.eyesbeyond.com
> Information Technology FreeBSD : glewis at FreeBSD.org
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk7_non-x86.patch
Type: application/octet-stream
Size: 3898 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-java/attachments/20151024/9d6c185f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_script.sh
Type: application/octet-stream
Size: 762 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-java/attachments/20151024/9d6c185f/attachment-0001.obj>
More information about the freebsd-java
mailing list