<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Folks,<br>
    <br>
    PPC isn't a currently supported architecture for OpenJDK - that is,
    no one has contributed any code to support it.  I do know of several
    proprietary ports, but that doesn't help. :-)  I don't even remember
    the last time it was potentially supported (I'm pretty sure that PPC
    never was supported in the OpenJDK project).<br>
    <br>
    To put in more bluntly, no one has built OpenJDK on PPC here at
    Oracle for a *very* long time, and I don't know of any Open port
    anywhere else.<br>
    <br>
    It certainly would be nice for someone to come forward with a port
    of Hotspot to the PPC/Power architecture, as the Freescale stuff (in
    particular) is becoming very popular for embedded work.  Now that
    IBM is part of OpenJDK, maybe they'll be interested?  (who knows)<br>
    <br>
    FYI - "Zero" the architecture, is for a zero-assembly version of
    Hotspot (that is, a Hotspot version with as little
    architecture-specific customizations as possible). If I were porting
    Hotspot, I'd start with the Zero codebase, and work from there. But
    that's just me.<br>
    <br>
    -Erik<br>
    <br>
    <br>
    On 7/10/2011 8:41 AM, John Yeary wrote:
    <blockquote
cite="mid:CAOzQtikf1ctLz+4Am+D1TRDUrCLpNEQv6_Z_ru80J42Hc-1Kpw@mail.gmail.com"
      type="cite">Hello Max,<br>
      <br>
      I have not been able to get it to compile either and at this point
      no one has responded to my post about PPC. I am not sure if it
      will compile for our platform any more. <br>
      <br>
      Does anyone have a successful recent build?<br>
      <br>
      John<br>
      <br>
      <div class="gmail_quote">On Sun, Jul 10, 2011 at 6:11 AM, Max Pole
        <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:max_pole@gmx.de">max_pole@gmx.de</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          Hi,<br>
          <br>
          I hope it's the right mailing list for my question...<br>
          <br>
          I'm trying to build opendjdk7 (bsd-port) in my PowerPC Mac. I
          downloaded a right bootstrap VM and got platform-independent
          code (corba, jaxp, jaxws etc) successfully compiled.<br>
          <br>
          Unfortunately I cannot compile hotspot VM because of the
          following error:<br>
          <br>
          g++-4.0 -D_ALLBSD_SOURCE -D_GNU_SOURCE -DCC_INTERP -DZERO
          -DPPC -DZERO_LIBARCH=\"ppc\" -DPRODUCT -I.
          -I/Users/maxim/bsd-port/hotspot/src/share/vm/prims
          -I/Users/maxim/bsd-port/hotspot/src/share/vm
          -I/Users/maxim/bsd-port/hotspot/src/cpu/zero/vm
          -I/Users/maxim/bsd-port/hotspot/src/os_cpu/bsd_zero/vm
          -I/Users/maxim/bsd-port/hotspot/src/os/bsd/vm
          -I/Users/maxim/bsd-port/hotspot/src/os/posix/vm -I../generated
          -DHOTSPOT_RELEASE_VERSION="\"21.0-b17\""
          -DHOTSPOT_BUILD_TARGET="\"product\""
          -DHOTSPOT_BUILD_USER="\"maxim\"" -DHOTSPOT_LIB_ARCH=\"ppc\"
          -DJRE_RELEASE_VERSION="\"1.7.0-internal-maxim_2011_07_09_02_30-b00\""
          -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DTARGET_OS_FAMILY_bsd
          -DTARGET_ARCH_zero -DTARGET_ARCH_MODEL_zero
          -DTARGET_OS_ARCH_bsd_zero -DTARGET_OS_ARCH_MODEL_bsd_zero
          -DTARGET_COMPILER_gcc -I/usr/include/ffi -fPIC -fno-rtti
          -fno-exceptions -pthread -fcheck-new -m32 -pipe -O3
          -fno-strict-aliasing -I/usr/local/include -Werror
          -Wpointer-arith -Wconversion -Wsign-compare    -D_XOPE!<br>
           N_SOURCE -D_DARWIN_C_SOURCE -c -MMD -MP -MF
          ../generated/dependencies/precompiled.hpp.gch.d -x c++-header
          /Users/maxim/bsd-port/hotspot/src/share/vm/precompiled.hpp -o
          precompiled.hpp.gch<br>
          In file included from
          /Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciMethod.hpp:33,<br>
                          from
          /Users/maxim/bsd-port/hotspot/src/share/vm/code/debugInfoRec.hpp:30,<br>
                          from
          /Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciEnv.hpp:31,<br>
                          from
          /Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciUtilities.hpp:28,<br>
                          from
          /Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciNullObject.hpp:30,<br>
                          from
          /Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciConstant.hpp:29,<br>
                          from
          /Users/maxim/bsd-port/hotspot/src/share/vm/precompiled.hpp:36:<br>
          /Users/maxim/bsd-port/hotspot/src/share/vm/prims/methodHandles.hpp:727:35:
          error: methodHandles_zero.hpp: No such file or directory<br>
          make[6]: *** [precompiled.hpp.gch] Error 1<br>
          make[5]: *** [the_vm] Error 2<br>
          make[4]: *** [productzero] Error 2<br>
          make[3]: *** [generic_buildzero] Error 2<br>
          make[2]: *** [productzero] Error 2<br>
          make[1]: *** [hotspot-build] Error 2<br>
          make: *** [build_product_image] Error 2<br>
          <br>
---------------------------------------------------------------------<br>
          <br>
          The missing source is there but the complation script seems to
          be unable to locate it.<br>
          Moreover, I found out that the platform-specific code (PPC in
          my case) is NOT there! The directory<br>
          <br>
          /Users/maxim/bsd-port/hotspot/src/cpu<br>
          <br>
          doesn't contain any PPC-related code but only those for sparc,
          x86 and zero. I have no idea what the latter means though...<br>
          <br>
          My Question: Is PPC arch deprecated meanwhile? If not, what's
          the reason to strip it out from the distribution?<br>
          <br>
          Is there any possibility to obtain the PPC code for that VM?<br>
          <br>
          Any help would be highly appreciated. I'm about to contribute
          to a open-source project related on Java 1.6 but I cannot run
          that software because Apple discontinued PPC macs, their
          support and Java development for PPC. So openjdk is my only
          way to proceed...<br>
          <br>
          Info on system I use:<br>
          <br>
          Processor: PowerPC G5 2.1 GHz<br>
          System: Mac OS X 10.5.8<br>
          <br>
          Best regards<br>
          Maxim Poliakovski<br>
          <font color="#888888">--<br>
            NEU: FreePhone - kostenlos mobil telefonieren!<br>
            Jetzt informieren: <a moz-do-not-send="true"
              href="http://www.gmx.net/de/go/freephone" target="_blank">http://www.gmx.net/de/go/freephone</a><br>
          </font></blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      John Yeary<br>
      --<br>
      <a moz-do-not-send="true"
        href="http://javaevangelist.blogspot.com" target="_blank">http://javaevangelist.blogspot.com</a><br>
      <a moz-do-not-send="true" href="http://www.johnyeary.com"
        target="_blank">http://www.johnyeary.com</a><br>
      <img moz-do-not-send="true"
src="http://a2.twimg.com/a/1296265969/phoenix/img/twitter_logo_right.png"
        width="96" height="17"><font size="2"><b>@jyeary</b></font><br>
      <br>
      "Far better it is to dare mighty things, to win glorious triumphs,
      even though checkered by failure, than to take rank with those
      poor spirits who neither enjoy much nor suffer much, because they
      live in the gray twilight that knows not victory nor defeat." <br>
      -- Theodore Roosevelt<br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Erik Trimble
Java Platform Group Infrastructure
Mailstop:  usca22-317
Phone:  x67195
Santa Clara, CA
Timezone: US/Pacific (UTC-0800)</pre>
  </body>
</html>