compile error on mac ppc box

Kurt Miller kurt at intricatesoftware.com
Mon Apr 1 09:37:37 PDT 2013


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|
> >>>
> >>> 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



More information about the bsd-port-dev mailing list