compile error on mac ppc box

Volker Simonis volker.simonis at gmail.com
Wed Apr 3 00:41:36 PDT 2013


Hi,

I just want to mention that the current ppc-aix  code is 64-bit only.
Unfortunately I'm not familiar at all with Mac/PPC and I don't know if it
supports 64-bit PPC binaries. If it does I think it should be possible to
combine our port with the bits from the MacOS port to get C2-JIT support on
Mac/PPC. If not it would be a considerable effort to implement 32-bit PPC
support for the ppc-aix port and we don't plan to do that.

We've just lifted the JDK7 version of the ppc-aix port to hsx24 (with the
new JSR292 implementation) and it builds and runs fairly well on Linux and
AIX (if not please let me know:).

For the next month will now concentrate on JDK8 (we already have a running
hsx25 for PPC64 but still have to do all the other class-library, build,
etc.. stuff).

Regards,
Volker

On Tue, Apr 2, 2013 at 1:40 PM, Tony Piselli <tpisellijr at mac.com> wrote:

> Kurt & others,
> Thanks for your time and feedback. I'll take a look at the ppc-aix code
> and see what I can do to get started.
>
> Tony
>
>
> On Apr 01, 2013, at 12:37 PM, Kurt Miller <kurt at intricatesoftware.com>
> wrote:
>
> On Monday 01 April 2013 10:40:53 am Christophe Phi wrote:
> > Hi
> > (Sorry for the delayed response.. see below)
> >
> > On 2013-Apr-1, at 8:40 AM, Tony Piselli wrote:
> >
> > > Hi Kurt,
> > > I'm willing to put some time and effort into this. Would you mind
> > > pointing me in the best direction in order to get this going again?
> > > Thanks,
> > > Tony
> > >
> > > Sent from my iPhone
> > >
> > > On Mar 29, 2013, at 9:10 AM, Kurt Miller
> > > <kurt at intricatesoftware.com> wrote:
> > >
> > >> Hi Tony,
> > >>
> > >> On 03/26/13 12:03, Tony Piselli wrote:
> > >>> Chris,
> > >>> Sorry for my ignorance with this as it's the first time I've tried
> > >>> to do
> > >>> an OpenJDK build. I basically followed the directions from the
> > >>> following
> > >>> Wiki page:
> > >>> https://wikis.oracle.com/display/OpenJDK/Darwin9Build
> > >>>
> > >>> which calls for the following to pull down the code:
> > >>> |hg clone http:||//hg.openjdk.java.net/bsd-port/bsd-port|<http://hg.openjdk.java.net/bsd-port/bsd-port%7C>
> > >>>
> > >>> I hope this is what you were looking for. Please let me knowif you
> > >>> need
> > >>> any more information.
> > >>> Thanks,
> > >>
> > >> A while back I was working on this in bsd-port. In the end it worked
> > >> ok on single processor systems, but I couldn't stabilize it on SMP
> > >> systems. Since then I haven't had time to keep up with bsd-port zero
> > >> ppc testing and builds.
> > >>
> > >> -Kurt
> > >>
> > >>> On Mar 26, 2013, at 11:40 AM, "Chris Phillips @ T O"
> > >>> <ChrisPhi at LGonQn.Org> wrote:
> > >>>
> > >>>> Hi
> > >>>>
> > >>>> On 26/03/13 11:00 AM, Andrew Hughes wrote:
> > >>>>> 'get_ek_adapter_opt_swap_rot_info' is not a member of
> > >>>>> 'MethodHandles'
> > >>>>
> > >>>> This looks like old code that shouldn't be there ... what version
> > >>>> of
> > >>>> (and what repo) is this built from (That code was for the pre-
> > >>>> Richochet
> > >>>> version)? (If its an old repo you may need TARGET_ARCH_NYI_693986
> > >>>> set ).
> > >>>>
> > >>>> Chris
> > >>>>
> >
> >
> > I think Kurt provided an early jdk7 binary for ppc... the follow ing
> > url has some good ptrs:
> >
> >
> http://jnorthr.wordpress.com/2012/08/13/java-open-jdk-7-sdk-1-7-for-apple-ppc-imac-macbook-g3-g4-and-g5-part-1/
> >
> > NB The old zero (pre -hsx24) was not tracking the jsr292 Ricochet
> > frames stuff very well,
> > and they (Ricochet frames are gone after hsx24 (b31?) and also in jdk
> > 8. jdk8 has the best Zero/Shark
> > implementation at the moment (thanks Roman!) jdk8 might work best as
> > it has macosx stuff too
> > (although its more recent osx ? I am not an osx guru so ymmv ).
> >
> > Chris
> > PS
> > When I get "some time"tm I intend to try to build jdk7 on ppc .
> > (Both Linux
> > and Mac OSX 10.5 but the latter is tricky.)
> > I would probably use the current jdk7u Zero with the patch that
> > Volker Simonis
> > provided after that I would try to build Volkers aix-ppc jvm. Again,
> > no idea of
> > osx gotcha's for these, built Volkers aix-ppc on linux and it would
> > build itself
> > last year, but haven't kept up since then.
>
> Based on the information provided so far, if I were to start working
> on ppc for OS X now, I'd start with ppc-aix-port. Zero while functional,
> was extreemly slow. Native support would be best.
>
> Looking at this tree:
>
> http://hg.openjdk.java.net/ppc-aix-port/jdk7u/
>
> I see that it is following jdk7u and has tags for jdk7u14 so it has
> MacOS x86 support that was merged in around 7u6.
>
> The hardest part of the work will be in taking the code here:
>
> hotspot/src/os_cpu/aix_ppc/vm/
> and porting it to
> hotspot/src/os_cpu/bsd_ppc/vm/
>
> Regards,
> -Kurt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20130403/0b3dcc2c/attachment.html 


More information about the zero-dev mailing list