From tpisellijr at mac.com Mon Apr 1 05:40:39 2013 From: tpisellijr at mac.com (Tony Piselli) Date: Mon, 01 Apr 2013 08:40:39 -0400 Subject: compile error on mac ppc box In-Reply-To: <515592BF.8050803@intricatesoftware.com> References: <515592BF.8050803@intricatesoftware.com> Message-ID: 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 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" >> 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 >>> >>> -- >>> -- >>> -- Woda: "Java: write once, debug anywhere" Hong Zhang >>> http://thehenrys.ca >>> | Chris Phillips - Resident cat slave and dubious character | >>> | mailto:NorthernL00n at LGonQn.Org >>> (416)483-3768 | >>> | http://LGonQn.Org/www/Chris.Phillips cell: (416)505-3610 | >>> "EPIC stands for Expects Perfectly Intuitive Compilers" P. Bannon >>> http://www.hazmatmodine.com >>> NOTICE: >>> This email message is for the sole use of the intended recipient(s) >>> and may contain confidential and privileged information. Any >>> unauthorized review, use, disclosure or distribution is prohibited. >>> If you are not the intended recipient, please contact the sender by >>> reply email and destroy all copies of the original message. >>> "blah blah blah - Ginger!" >>> -- > From ChrisPhi at lgonqn.org Mon Apr 1 07:40:53 2013 From: ChrisPhi at lgonqn.org (Christophe Phi) Date: Mon, 1 Apr 2013 10:40:53 -0400 Subject: compile error on mac ppc box In-Reply-To: References: <515592BF.8050803@intricatesoftware.com> Message-ID: 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 > 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" >>> 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. From toby at telegraphics.com.au Mon Apr 1 18:23:42 2013 From: toby at telegraphics.com.au (Toby Thain) Date: Mon, 01 Apr 2013 21:23:42 -0400 Subject: compile error on mac ppc box In-Reply-To: References: <515592BF.8050803@intricatesoftware.com> Message-ID: <515A331E.8090503@telegraphics.com.au> On 01/04/13 10:40 AM, Christophe Phi wrote: > Hi > ... > > 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. > > I would be interested in seeing any results from jdk6 and jdk7 on PowerPC. Especially as Scala (and some libraries) are breaking compatibility with jdk5 which is all that is available currently for OS X on PowerPC. --Toby From tpisellijr at mac.com Tue Apr 2 04:40:17 2013 From: tpisellijr at mac.com (Tony Piselli) Date: Tue, 02 Apr 2013 11:40:17 +0000 (GMT) Subject: compile error on mac ppc box In-Reply-To: <201304011237.37838.kurt@intricatesoftware.com> Message-ID: <8f342443-a942-47ab-8edb-14bf641f778e@me.com> 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 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 > > 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" > >>> 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/20130402/426a0aad/attachment.html From volker.simonis at gmail.com Wed Apr 3 00:41:36 2013 From: volker.simonis at gmail.com (Volker Simonis) Date: Wed, 3 Apr 2013 09:41:36 +0200 Subject: compile error on mac ppc box In-Reply-To: <8f342443-a942-47ab-8edb-14bf641f778e@me.com> References: <201304011237.37838.kurt@intricatesoftware.com> <8f342443-a942-47ab-8edb-14bf641f778e@me.com> Message-ID: 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 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 > 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 > > > 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" > > >>> 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 From toby at telegraphics.com.au Wed Apr 3 04:56:36 2013 From: toby at telegraphics.com.au (Toby Thain) Date: Wed, 03 Apr 2013 07:56:36 -0400 Subject: ppc64 on OS X - Re: compile error on mac ppc box In-Reply-To: References: <201304011237.37838.kurt@intricatesoftware.com> <8f342443-a942-47ab-8edb-14bf641f778e@me.com> Message-ID: <515C18F4.2080504@telegraphics.com.au> On 03/04/13 3:41 AM, Volker Simonis wrote: > 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 Mac G5 is 64 bit and OS X supports this architecture. If that's what you mean. --Toby > 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 > From doko at ubuntu.com Mon Apr 29 14:00:11 2013 From: doko at ubuntu.com (Matthias Klose) Date: Mon, 29 Apr 2013 23:00:11 +0200 Subject: some 32bit builds broken in icedtea 2.3.9 Message-ID: <517EDF5B.7000505@ubuntu.com> at least on some 32bit platforms, icedtea builds are broken: see https://buildd.debian.org/status/package.php?p=openjdk-7 the i386 and s390 build logs. this is caused by the changes below: --- build/openjdk/jdk/make/common/shared/Platform.gmk +++ build/openjdk/jdk/make/common/shared/Platform.gmk @@ -537,7 +537,7 @@ else \ echo "false"; \ fi) - MAX_VM_MEMORY := 512 + MAX_VM_MEMORY := 1536 MIN_VM_MEMORY := $(MAX_VM_MEMORY) else MB_OF_MEMORY := unknown --- build/openjdk/jdk/make/docs/Makefile 2013-04-29 21:06:38.450777732 +0200 +++ build/openjdk/jdk/make/docs/Makefile 2013-04-29 21:22:19.085051363 +0200 @@ -69,11 +69,11 @@ # NOTE: javadoc will not complete without these larger settings. # WARNING: This could cause thrashing on low memory machines. ifeq ($(ARCH_DATA_MODEL),64) - MAX_VM_MEMORY = 1536 + MAX_VM_MEMORY = 1792 else ifeq ($(ARCH),universal) - MAX_VM_MEMORY = 1536 + MAX_VM_MEMORY = 1792 else - MAX_VM_MEMORY = $(shell if [ $(MIN_VM_MEMORY) -gt 768 ]; then echo $(MIN_VM_MEMORY); else echo 768; fi) + MAX_VM_MEMORY = 768 endif # List of all possible directories for javadoc to look for sources building the docs on i386: .../java ... -client -Xmx768m -Xms1536m ... Error occurred during initialization of VM Incompatible minimum and maximum heap sizes specified make[5]: *** [/build/buildd-openjdk-7_7u21-2.3.9-2-i386-pV_IFD/openjdk-7-7u21-2.3.9/build/openjdk.build/docs/api/index.html] Error 1 this is caused by re-setting MAX_VM_MEMORY without re-setting MIN_VM_MEMORY in openjdk/jdk/make/docs/Makefile. proposed fix: MIN_VM_MEMORY := $(MAX_VM_MEMORY) MIN_VM_MEMORY should not be a simply expanded variable in openjdk/jdk/make/common/shared/Platform.gmk, so that the re-set affects MIN_VM_MEMORY too. Just use: MIN_VM_MEMORY = $(MAX_VM_MEMORY) This build failure did only show on Debian, not Ubuntu, however I couldn't yet find out why it did fail on the former, while it did succeed on the latter. the zero s390 build failure is caused by increasing MAX_VM_MEMORY by 1G, which is two high on s390. afaics the highest value the s390 vm does accept is about 768+128m. Can somebody else verify this on another s390 machine? Setting this to 768 for the s390 build lets the build succeed. Why was this value changed in the first place? which platform does require a 300% memory increase for the build? Matthias From doko at ubuntu.com Mon Apr 29 17:37:37 2013 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 30 Apr 2013 02:37:37 +0200 Subject: some 32bit builds broken in icedtea 2.3.9 In-Reply-To: <517EDF5B.7000505@ubuntu.com> References: <517EDF5B.7000505@ubuntu.com> Message-ID: <517F1251.90008@ubuntu.com> Am 29.04.2013 23:00, schrieb Matthias Klose: > at least on some 32bit platforms, icedtea builds are broken: ok, this is because cacao was built as an additional VM, and the cacao/memory.patch was applied.