From henri.gomez at gmail.com Wed Jul 6 08:59:16 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Wed, 6 Jul 2011 17:59:16 +0200 Subject: OpenJDK 7 status Message-ID: First sorry for the double post, but I didn't know where to find the information. It's seems there is a 'commit' freeze on main branches, so no commit for bsd-port and only 'Cocoa/UI' on macosx-port. Tomorrow Java 7 is 'launched', and I wondering about the status for main branches ? Did there is a code freeze and so did OpenJDK 7 will start with jdk7-b147 ? Regards From glewis at eyesbeyond.com Wed Jul 6 09:22:18 2011 From: glewis at eyesbeyond.com (Greg Lewis) Date: Wed, 6 Jul 2011 09:22:18 -0700 Subject: OpenJDK 7 status In-Reply-To: References: Message-ID: <20110706162218.GA19324@misty.eyesbeyond.com> On Wed, Jul 06, 2011 at 05:59:16PM +0200, Henri Gomez wrote: > First sorry for the double post, but I didn't know where to find the > information. > > It's seems there is a 'commit' freeze on main branches, so no commit > for bsd-port and only 'Cocoa/UI' on macosx-port. > > Tomorrow Java 7 is 'launched', and I wondering about the status for > main branches ? > Did there is a code freeze and so did OpenJDK 7 will start with jdk7-b147 ? The bsd-port repository is up to date with respect to merging from the main repository AFAIK. IIRC I saw Alex merge in those changes to the macosx-port repository as well. -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From kelly.ohair at oracle.com Wed Jul 6 09:39:17 2011 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Wed, 6 Jul 2011 09:39:17 -0700 Subject: OpenJDK 7 status In-Reply-To: <20110706162218.GA19324@misty.eyesbeyond.com> References: <20110706162218.GA19324@misty.eyesbeyond.com> Message-ID: <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> Ok, I'll ask. So what are the plans with regards to integrating all the bsd and macosx port changes into jdk8? In a more permanent way? -kto From henri.gomez at gmail.com Wed Jul 6 11:02:09 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Wed, 6 Jul 2011 20:02:09 +0200 Subject: OpenJDK 7 status In-Reply-To: <20110706162218.GA19324@misty.eyesbeyond.com> References: <20110706162218.GA19324@misty.eyesbeyond.com> Message-ID: > The bsd-port repository is up to date with respect to merging from the main > repository AFAIK. ?IIRC I saw Alex merge in those changes to the > macosx-port repository as well. Yes, I saw you synched with main branches and Alex was following shortly. My question is about status of main branches, are they in commit freeze state ? From glewis at eyesbeyond.com Thu Jul 7 23:33:36 2011 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 08 Jul 2011 06:33:36 +0000 Subject: hg: bsd-port/bsd-port/hotspot: . Fix an #elif to use defined(_ALLBSD_SOURCE) rather than just _ALLBSD_SOURCE. Message-ID: <20110708063341.0B4D747280@hg.openjdk.java.net> Changeset: 4786ac0f88a0 Author: Greg Lewis Date: 2011-07-07 23:32 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/4786ac0f88a0 . Fix an #elif to use defined(_ALLBSD_SOURCE) rather than just _ALLBSD_SOURCE. Submitted by: Jung-uk Kim () ! src/os/posix/launcher/java_md.c From glewis at eyesbeyond.com Thu Jul 7 23:46:28 2011 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 08 Jul 2011 06:46:28 +0000 Subject: hg: bsd-port/bsd-port/jdk: . Try harder to make sure the flags returned from getFlags isn't negative, Message-ID: <20110708064700.5E9E447282@hg.openjdk.java.net> Changeset: c6334146005c Author: Greg Lewis Date: 2011-07-07 23:46 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/c6334146005c . Try harder to make sure the flags returned from getFlags isn't negative, since a number of places in the code check for that and assume that it means an error occurred. On FreeBSD, in particular, the value of ifr_flags can be negative if multicast is enabled on the socket since the possible flags have expanded to fill more than a short. For FreeBSD, we fill the int return value with ifr_flagshigh in the high 16 bits and ifr_flags in the low 16 bits. For the other BSD, instead of blindly promoting ifr_flags to an int, which will preserve the sign, we place it into the lower 16 bits of the return value. Reported by: Alex Hayward ! src/solaris/native/java/net/NetworkInterface.c From glewis at eyesbeyond.com Thu Jul 7 23:50:08 2011 From: glewis at eyesbeyond.com (glewis at eyesbeyond.com) Date: Fri, 08 Jul 2011 06:50:08 +0000 Subject: hg: bsd-port/bsd-port/hotspot: 2 new changesets Message-ID: <20110708065012.447A347283@hg.openjdk.java.net> Changeset: 9b0ca45cd756 Author: trims Date: 2011-06-28 10:57 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/9b0ca45cd756 Added tag hs21-b17 for changeset 81d815b05abb ! .hgtags Changeset: 3406145981b7 Author: Greg Lewis Date: 2011-07-07 23:49 -0700 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/3406145981b7 Merge from main OpenJDK repository From glewis at eyesbeyond.com Fri Jul 8 09:53:23 2011 From: glewis at eyesbeyond.com (Greg Lewis) Date: Fri, 8 Jul 2011 09:53:23 -0700 Subject: OpenJDK 7 status In-Reply-To: References: <20110706162218.GA19324@misty.eyesbeyond.com> Message-ID: <20110708165323.GA29672@misty.eyesbeyond.com> On Wed, Jul 06, 2011 at 08:02:09PM +0200, Henri Gomez wrote: > > The bsd-port repository is up to date with respect to merging from the main > > repository AFAIK. ?IIRC I saw Alex merge in those changes to the > > macosx-port repository as well. > > Yes, I saw you synched with main branches and Alex was following shortly. > My question is about status of main branches, are they in commit freeze state ? At least for the bsd-port repo, we haven't discussed a commit freeze. In fact, I committed some fixes last night. -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From henri.gomez at gmail.com Fri Jul 8 09:56:40 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Fri, 8 Jul 2011 18:56:40 +0200 Subject: OpenJDK 7 status In-Reply-To: <20110708165323.GA29672@misty.eyesbeyond.com> References: <20110706162218.GA19324@misty.eyesbeyond.com> <20110708165323.GA29672@misty.eyesbeyond.com> Message-ID: > At least for the bsd-port repo, we haven't discussed a commit freeze. ?In > fact, I committed some fixes last night. I seen that, build in progress for OS/X package from bsd branch. Thanks Greg From glewis at eyesbeyond.com Fri Jul 8 09:57:47 2011 From: glewis at eyesbeyond.com (Greg Lewis) Date: Fri, 8 Jul 2011 09:57:47 -0700 Subject: OpenJDK 7 status In-Reply-To: <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> References: <20110706162218.GA19324@misty.eyesbeyond.com> <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> Message-ID: <20110708165747.GB29672@misty.eyesbeyond.com> On Wed, Jul 06, 2011 at 09:39:17AM -0700, Kelly O'Hair wrote: > Ok, I'll ask. > > So what are the plans with regards to integrating all the bsd and macosx port changes into jdk8? > In a more permanent way? Ummm, yes please? :-) I guess the first thing to do is to start a discussion of whether the overall strategy of a separate bsd directory hierarchy that mirrors the linux and solaris directory hierarchies is acceptable in terms of merging the changes in. If that is approved then we can start posting some webrevs. Since the macosx-port is a child of bsd-port and picks up the bsd-port changes, it would make sense to merge that in, with some checks to make sure it still compiles on {Free,Net,Open}BSD. Kelly whats the best list to start that discussion on? -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From swingler at apple.com Sun Jul 10 13:37:52 2011 From: swingler at apple.com (Mike Swingler) Date: Sun, 10 Jul 2011 13:37:52 -0700 Subject: Help me to build openjdk on my machine In-Reply-To: References: <20110710101102.284800@gmx.net> Message-ID: <019B7D97-F928-47F7-9288-D19C35B64D05@apple.com> On Jul 10, 2011, at 11:27 AM, Damjan Jovanovic wrote: > On Sun, Jul 10, 2011 at 12:11 PM, Max Pole wrote: > >> Hi, >> >> I hope it's the right mailing list for my question... >> >> 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. >> >> Unfortunately I cannot compile hotspot VM because of the following error: >> The missing source is there but the complation script seems to be unable to locate it. >> Moreover, I found out that the platform-specific code (PPC in my case) is NOT there! The directory >> >> /Users/maxim/bsd-port/hotspot/src/cpu >> >> doesn't contain any PPC-related code but only those for sparc, x86 and zero. I have no idea what the latter means though... > > Zero is basically an easy to port Java interpreter that currently > supports, among many others, PowerPC (32- and 64-bit). See > http://openjdk.java.net/projects/zero/. > >> My Question: Is PPC arch deprecated meanwhile? If not, what's the reason to strip it out from the distribution? I don't believe there ever was a PPC port, but what you used was actually an early version of the "zero" architecture support. >> Is there any possibility to obtain the PPC code for that VM? > > I suspect the version of Hotspot in the BSD port is old, which is why > Zero is not compiling. Actually, the BSD HotSpot is merged up to the very latest JDK7 HotSpot. I know, because the macosx-port derives from the bsd-port, so that BSD/Mac integration issues at the HotSpot level are handled for us. Has anyone actually tried compiling the latest bsd-port with arch=zero on a PPC Mac? > Even when you get it to compile, the performance may be poor, as Zero > is just an interpreter. The related Shark project should be faster as > it uses LLVM's JIT, and it seems to support PowerPC. > >> 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... >> >> Info on system I use: >> >> Processor: PowerPC G5 2.1 GHz >> System: Mac OS X 10.5.8 Just to set some expectations, the Mac OS X porting project has made a conscious decision to not support Mac OS X 10.5 Leopard (for a variety of API reasons), and therefore will not support PPC. While the bsd-port may be compilable for PPC with Zero and Shark, it's native graphics support will likely remain at the Darwin/X11 level. This may or may not be an issue for your use. AFAIK, nobody has come forward to make new builds of the BSD port for PPC/Mac using Zero, since it was fully integrated into the JDK7 mainline. Any volunteers? Regards, Mike Swingler Java Engineering Apple Inc. From swingler at apple.com Sun Jul 10 13:45:54 2011 From: swingler at apple.com (Mike Swingler) Date: Sun, 10 Jul 2011 13:45:54 -0700 Subject: OpenJDK 7 status In-Reply-To: <20110708165747.GB29672@misty.eyesbeyond.com> References: <20110706162218.GA19324@misty.eyesbeyond.com> <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> <20110708165747.GB29672@misty.eyesbeyond.com> Message-ID: <96466FDC-C853-4945-9C95-CE10A6904E7C@apple.com> On Jul 8, 2011, at 9:57 AM, Greg Lewis wrote: > On Wed, Jul 06, 2011 at 09:39:17AM -0700, Kelly O'Hair wrote: > >> Ok, I'll ask. >> >> So what are the plans with regards to integrating all the bsd and macosx port changes into jdk8? >> In a more permanent way? > > Ummm, yes please? :-) > > I guess the first thing to do is to start a discussion of whether the > overall strategy of a separate bsd directory hierarchy that mirrors the > linux and solaris directory hierarchies is acceptable in terms of merging > the changes in. If that is approved then we can start posting some > webrevs. Since the macosx-port is a child of bsd-port and picks up the > bsd-port changes, it would make sense to merge that in, with some checks > to make sure it still compiles on {Free,Net,Open}BSD. > > Kelly whats the best list to start that discussion on? +1. I think the most logical plan to integrate Mac OS X into mainline JDK8 is for us to begin integrating the BSD port changes, where most of the divergences from mainline are at the HotSpot level. These changes don't access anything above the Darwin/BSD level on Mac OS X, so I am fine leaving the parallel directories left named "bsd". Once integrated, if there is obvious duplication with the solaris/linux hierarchy, we can proceed with further consolidation. Regards, Mike Swingler Java Engineering Apple Inc. From johnyeary at gmail.com Sun Jul 10 17:08:11 2011 From: johnyeary at gmail.com (John Yeary) Date: Sun, 10 Jul 2011 20:08:11 -0400 Subject: Help me to build openjdk on my machine In-Reply-To: <019B7D97-F928-47F7-9288-D19C35B64D05@apple.com> References: <20110710101102.284800@gmx.net> <019B7D97-F928-47F7-9288-D19C35B64D05@apple.com> Message-ID: <983AD610-7604-4188-86EB-C8F75553330F@gmail.com> I had successfully built a Java 6 build for PPC months ago using Zero. It worked fine. I updated the docs on the wiki based on that success. It was possible, but alas apparently that time has passed John Sent from my iPhone On Jul 10, 2011, at 16:37, Mike Swingler wrote: > On Jul 10, 2011, at 11:27 AM, Damjan Jovanovic wrote: > >> On Sun, Jul 10, 2011 at 12:11 PM, Max Pole wrote: >> >>> Hi, >>> >>> I hope it's the right mailing list for my question... >>> >>> 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. >>> >>> Unfortunately I cannot compile hotspot VM because of the following error: > > > >>> The missing source is there but the complation script seems to be unable to locate it. >>> Moreover, I found out that the platform-specific code (PPC in my case) is NOT there! The directory >>> >>> /Users/maxim/bsd-port/hotspot/src/cpu >>> >>> doesn't contain any PPC-related code but only those for sparc, x86 and zero. I have no idea what the latter means though... >> >> Zero is basically an easy to port Java interpreter that currently >> supports, among many others, PowerPC (32- and 64-bit). See >> http://openjdk.java.net/projects/zero/. >> >>> My Question: Is PPC arch deprecated meanwhile? If not, what's the reason to strip it out from the distribution? > > I don't believe there ever was a PPC port, but what you used was actually an early version of the "zero" architecture support. > >>> Is there any possibility to obtain the PPC code for that VM? >> >> I suspect the version of Hotspot in the BSD port is old, which is why >> Zero is not compiling. > > Actually, the BSD HotSpot is merged up to the very latest JDK7 HotSpot. I know, because the macosx-port derives from the bsd-port, so that BSD/Mac integration issues at the HotSpot level are handled for us. > > Has anyone actually tried compiling the latest bsd-port with arch=zero on a PPC Mac? > >> Even when you get it to compile, the performance may be poor, as Zero >> is just an interpreter. The related Shark project should be faster as >> it uses LLVM's JIT, and it seems to support PowerPC. >> >>> 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... >>> >>> Info on system I use: >>> >>> Processor: PowerPC G5 2.1 GHz >>> System: Mac OS X 10.5.8 > > Just to set some expectations, the Mac OS X porting project has made a conscious decision to not support Mac OS X 10.5 Leopard (for a variety of API reasons), and therefore will not support PPC. While the bsd-port may be compilable for PPC with Zero and Shark, it's native graphics support will likely remain at the Darwin/X11 level. This may or may not be an issue for your use. > > AFAIK, nobody has come forward to make new builds of the BSD port for PPC/Mac using Zero, since it was fully integrated into the JDK7 mainline. Any volunteers? > > Regards, > Mike Swingler > Java Engineering > Apple Inc. > From swingler at apple.com Sun Jul 10 21:35:25 2011 From: swingler at apple.com (Mike Swingler) Date: Sun, 10 Jul 2011 21:35:25 -0700 Subject: Help me to build openjdk on my machine In-Reply-To: References: <20110710101102.284800@gmx.net> <019B7D97-F928-47F7-9288-D19C35B64D05@apple.com> Message-ID: <26A5D52D-8991-4925-81C2-A28EFC18DD55@apple.com> On Jul 10, 2011, at 4:04 PM, Johannes Schindelin wrote: > Hi, > > On Sun, 10 Jul 2011, Mike Swingler wrote: > >> Just to set some expectations, the Mac OS X porting project has made a >> conscious decision to not support Mac OS X 10.5 Leopard (for a variety >> of API reasons), and therefore will not support PPC. > > That rather shatters one of my dreams: a fully compatible Java 6 for > Leopard (PPC). Given that there was Java 6 for Leopard (x86_64) I allowed > myself to think that would be not unrealistic. The graphics machinery we have used in Java 1.4, 1.5, and 1.6 on Mac OS X is simply not compatible with cross-process rendering required for modern browser plug-ins. While it can be done inefficiently (as we do today), we have chosen to use a CoreAnimation-based OpenGL strategy for OpenJDK that allows accelerated graphics throughout the entire pipe, and relies on API that is only in Snow Leopard. Also, we are re-writing most of the JNI code that call into Cocoa using Blocks, which is a language feature which was added in 10.6. Without using Blocks, the resulting Cocoa and JNI code is a tangled mess of selectors, callbacks, and awkward parameter marshaling. We never enjoy dropping entire configurations, but in this case the benefits far outweighed the effort to keep Leopard alive. Sorry, Mike Swingler Java Engineering Apple Inc. From kelly.ohair at oracle.com Wed Jul 13 08:39:55 2011 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Wed, 13 Jul 2011 08:39:55 -0700 Subject: OpenJDK 7 status In-Reply-To: <96466FDC-C853-4945-9C95-CE10A6904E7C@apple.com> References: <20110706162218.GA19324@misty.eyesbeyond.com> <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> <20110708165747.GB29672@misty.eyesbeyond.com> <96466FDC-C853-4945-9C95-CE10A6904E7C@apple.com> Message-ID: <7BC0DD73-00D1-43E6-AC9A-7CA1624FC0B2@oracle.com> On Jul 10, 2011, at 1:45 PM, Mike Swingler wrote: > On Jul 8, 2011, at 9:57 AM, Greg Lewis wrote: > >> On Wed, Jul 06, 2011 at 09:39:17AM -0700, Kelly O'Hair wrote: >> >>> Ok, I'll ask. >>> >>> So what are the plans with regards to integrating all the bsd and macosx port changes into jdk8? >>> In a more permanent way? >> >> Ummm, yes please? :-) >> >> I guess the first thing to do is to start a discussion of whether the >> overall strategy of a separate bsd directory hierarchy that mirrors the >> linux and solaris directory hierarchies is acceptable in terms of merging >> the changes in. If that is approved then we can start posting some >> webrevs. Since the macosx-port is a child of bsd-port and picks up the >> bsd-port changes, it would make sense to merge that in, with some checks >> to make sure it still compiles on {Free,Net,Open}BSD. >> >> Kelly whats the best list to start that discussion on? > > +1. > > I think the most logical plan to integrate Mac OS X into mainline JDK8 is for us to begin integrating the BSD port changes, where most of the divergences from mainline are at the HotSpot level. These changes don't access anything above the Darwin/BSD level on Mac OS X, so I am fine leaving the parallel directories left named "bsd". > > Once integrated, if there is obvious duplication with the solaris/linux hierarchy, we can proceed with further consolidation. > The changes to hotspot may need to take a slightly different ride into jdk8, so I'd suggest doing that work separately with the hotspot team. For everything else, if someone could prepare webrevs of the BSD changes for each repository involved, and send them to the build-dev at openjdk.java.net alias, we can get reviews started and get the changes integrated. I have a feeling that as the changes get reviewed we might have some cleanup ideas. Keep in mind that we cannot and will not just drag over all the changesets in the existing BSD/MAC repositories, we will need to create fresh, probably large, changesets that identify themselves as BSD or MAC porting changes. We can create multiple CRs and break it up into separate pieces if necessary. If you need CRs filed, let me know. So the detailed history and the changesets in the BSD/MAC repositories will stay with those repositories, just so people understand. Formally getting BSD builds to happen on a regular basis may be an issue, but first step (in my opinion) is to get the source code and makefile logic merged in, making sure the existing platform builds are not impacted. If someone has references to BSD iso images I can at least get started on creating my own VirtualBox setup. --- I have a major concern here with the build changes involved colliding with our build infrastructure changes and the jigsaw/modularity changes coming into jdk8. Right now, jdk8 is basically jdk7 plus a little change, so doing this now may be best, but it needs to happen quickly, if we wait too long, the merge could be very painful. -kto > Regards, > Mike Swingler > Java Engineering > Apple Inc. > From swingler at apple.com Wed Jul 13 09:27:08 2011 From: swingler at apple.com (Mike Swingler) Date: Wed, 13 Jul 2011 09:27:08 -0700 Subject: OpenJDK 7 status In-Reply-To: <7BC0DD73-00D1-43E6-AC9A-7CA1624FC0B2@oracle.com> References: <20110706162218.GA19324@misty.eyesbeyond.com> <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> <20110708165747.GB29672@misty.eyesbeyond.com> <96466FDC-C853-4945-9C95-CE10A6904E7C@apple.com> <7BC0DD73-00D1-43E6-AC9A-7CA1624FC0B2@oracle.com> Message-ID: On Jul 13, 2011, at 8:39 AM, Kelly O'Hair wrote: > On Jul 10, 2011, at 1:45 PM, Mike Swingler wrote: > >> On Jul 8, 2011, at 9:57 AM, Greg Lewis wrote: >> >>> On Wed, Jul 06, 2011 at 09:39:17AM -0700, Kelly O'Hair wrote: >>> >>>> Ok, I'll ask. >>>> >>>> So what are the plans with regards to integrating all the bsd and macosx port changes into jdk8? >>>> In a more permanent way? >>> >>> Ummm, yes please? :-) >>> >>> I guess the first thing to do is to start a discussion of whether the >>> overall strategy of a separate bsd directory hierarchy that mirrors the >>> linux and solaris directory hierarchies is acceptable in terms of merging >>> the changes in. If that is approved then we can start posting some >>> webrevs. Since the macosx-port is a child of bsd-port and picks up the >>> bsd-port changes, it would make sense to merge that in, with some checks >>> to make sure it still compiles on {Free,Net,Open}BSD. >>> >>> Kelly whats the best list to start that discussion on? >> >> +1. >> >> I think the most logical plan to integrate Mac OS X into mainline JDK8 is for us to begin integrating the BSD port changes, where most of the divergences from mainline are at the HotSpot level. These changes don't access anything above the Darwin/BSD level on Mac OS X, so I am fine leaving the parallel directories left named "bsd". >> >> Once integrated, if there is obvious duplication with the solaris/linux hierarchy, we can proceed with further consolidation. > > The changes to hotspot may need to take a slightly different ride into jdk8, so I'd suggest doing that work separately > with the hotspot team. Who would be our best point of contact for discuss integrating the HotSpot changes so we can move quickly on this? > For everything else, if someone could prepare webrevs of the BSD changes for each repository involved, and send > them to the build-dev at openjdk.java.net alias, we can get reviews started and get the changes integrated. > I have a feeling that as the changes get reviewed we might have some cleanup ideas. > Keep in mind that we cannot and will not just drag over all the changesets in the existing BSD/MAC repositories, > we will need to create fresh, probably large, changesets that identify themselves as BSD or MAC porting > changes. We can create multiple CRs and break it up into separate pieces if necessary. > If you need CRs filed, let me know. So the detailed history and the changesets in the BSD/MAC repositories will > stay with those repositories, just so people understand. Not a problem for me. Initially if we start with just the bsd-port changesets, that should be a good digestible chunk of changes which should result in a fully Mac buildable source (just without the Mac-specific features that are being worked on in the macosx-port. Greg, would you like to prepare the changesets? One of my guys could do it too if your busy. > Formally getting BSD builds to happen on a regular basis may be an issue, but first step (in my opinion) is to > get the source code and makefile logic merged in, making sure the existing platform builds are not impacted. > If someone has references to BSD iso images I can at least get started on creating my own VirtualBox setup. You can also use Mac OS X as a builder for the bsd-port changes if you already have a configuration available to you. It would be nice to get a FreeBSD turn of these changes as well, but it might not be necessary if the setup will take a while. > --- > > I have a major concern here with the build changes involved colliding with our build infrastructure changes > and the jigsaw/modularity changes coming into jdk8. > Right now, jdk8 is basically jdk7 plus a little change, so doing this now may be best, but it needs to happen > quickly, if we wait too long, the merge could be very painful. I agree, and am available to drive this ASAP. Mike Swingler Java Engineering Apple Inc. From kelly.ohair at oracle.com Wed Jul 13 15:03:13 2011 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Wed, 13 Jul 2011 15:03:13 -0700 Subject: OpenJDK 7 status In-Reply-To: References: <20110706162218.GA19324@misty.eyesbeyond.com> <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> <20110708165747.GB29672@misty.eyesbeyond.com> <96466FDC-C853-4945-9C95-CE10A6904E7C@apple.com> <7BC0DD73-00D1-43E6-AC9A-7CA1624FC0B2@oracle.com> Message-ID: <0B19DC56-A747-4A23-92A5-8E228AD1195F@oracle.com> On Jul 13, 2011, at 9:27 AM, Mike Swingler wrote: > On Jul 13, 2011, at 8:39 AM, Kelly O'Hair wrote: > >> On Jul 10, 2011, at 1:45 PM, Mike Swingler wrote: >> >>> On Jul 8, 2011, at 9:57 AM, Greg Lewis wrote: >>> >>>> On Wed, Jul 06, 2011 at 09:39:17AM -0700, Kelly O'Hair wrote: >>>> >>>>> Ok, I'll ask. >>>>> >>>>> So what are the plans with regards to integrating all the bsd and macosx port changes into jdk8? >>>>> In a more permanent way? >>>> >>>> Ummm, yes please? :-) >>>> >>>> I guess the first thing to do is to start a discussion of whether the >>>> overall strategy of a separate bsd directory hierarchy that mirrors the >>>> linux and solaris directory hierarchies is acceptable in terms of merging >>>> the changes in. If that is approved then we can start posting some >>>> webrevs. Since the macosx-port is a child of bsd-port and picks up the >>>> bsd-port changes, it would make sense to merge that in, with some checks >>>> to make sure it still compiles on {Free,Net,Open}BSD. >>>> >>>> Kelly whats the best list to start that discussion on? >>> >>> +1. >>> >>> I think the most logical plan to integrate Mac OS X into mainline JDK8 is for us to begin integrating the BSD port changes, where most of the divergences from mainline are at the HotSpot level. These changes don't access anything above the Darwin/BSD level on Mac OS X, so I am fine leaving the parallel directories left named "bsd". >>> >>> Once integrated, if there is obvious duplication with the solaris/linux hierarchy, we can proceed with further consolidation. >> >> The changes to hotspot may need to take a slightly different ride into jdk8, so I'd suggest doing that work separately >> with the hotspot team. > > Who would be our best point of contact for discuss integrating the HotSpot changes so we can move quickly on this? Try creating a webrev and sending it to the hotspot-dev alias. On langtools, send it to the compiler-dev, hopefully Jonathan Gibbons can help. On corba and changes to the root repository files, I can do that review. On the jdk, it will likely need to be broken up into pieces for review. I can help with the makefile logic changes. But we may need to break this one up and send the changes to the teams that they impact the most. If the changes don't impact the other platforms, we should be able to integrate the changes separately. -kto > >> For everything else, if someone could prepare webrevs of the BSD changes for each repository involved, and send >> them to the build-dev at openjdk.java.net alias, we can get reviews started and get the changes integrated. >> I have a feeling that as the changes get reviewed we might have some cleanup ideas. >> Keep in mind that we cannot and will not just drag over all the changesets in the existing BSD/MAC repositories, >> we will need to create fresh, probably large, changesets that identify themselves as BSD or MAC porting >> changes. We can create multiple CRs and break it up into separate pieces if necessary. >> If you need CRs filed, let me know. So the detailed history and the changesets in the BSD/MAC repositories will >> stay with those repositories, just so people understand. > > Not a problem for me. Initially if we start with just the bsd-port changesets, that should be a good digestible chunk of changes which should result in a fully Mac buildable source (just without the Mac-specific features that are being worked on in the macosx-port. > > Greg, would you like to prepare the changesets? One of my guys could do it too if your busy. > >> Formally getting BSD builds to happen on a regular basis may be an issue, but first step (in my opinion) is to >> get the source code and makefile logic merged in, making sure the existing platform builds are not impacted. >> If someone has references to BSD iso images I can at least get started on creating my own VirtualBox setup. > > You can also use Mac OS X as a builder for the bsd-port changes if you already have a configuration available to you. It would be nice to get a FreeBSD turn of these changes as well, but it might not be necessary if the setup will take a while. > >> --- >> >> I have a major concern here with the build changes involved colliding with our build infrastructure changes >> and the jigsaw/modularity changes coming into jdk8. >> Right now, jdk8 is basically jdk7 plus a little change, so doing this now may be best, but it needs to happen >> quickly, if we wait too long, the merge could be very painful. > > I agree, and am available to drive this ASAP. > > Mike Swingler > Java Engineering > Apple Inc. From kelly.ohair at oracle.com Thu Jul 14 17:47:52 2011 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Thu, 14 Jul 2011 17:47:52 -0700 Subject: OpenJDK 7 status In-Reply-To: References: <20110706162218.GA19324@misty.eyesbeyond.com> <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> <20110708165747.GB29672@misty.eyesbeyond.com> <96466FDC-C853-4945-9C95-CE10A6904E7C@apple.com> <7BC0DD73-00D1-43E6-AC9A-7CA1624FC0B2@oracle.com> Message-ID: I took the liberty of creating a mongo webrev for the bsd changes compared to the jdk7/jdk7 forest, just so we have a feel for how to cut this up: http://cr.openjdk.java.net/~ohair/openjdk7/jdk7-bsd-changes/webrev/ My suggestion on CRs (bug ids) and independent changesets to create and integrate: * Test modifications for BSD, I'd suggest doing these separately Same CR for langtools, hotspot and the jdk on fixing the testcases, low risk changes * Source additions, might need to be pushed before selected Makefile changes But this might take more review time, verifying legal notices and other picky source things? * Makefile logic changes for BSD Same CR for all repos, Most of this is low risk. * Hotspot changes: - Wow. I'm not sure what to say to break this up. The hotspot changes will probably need to be sponsored by someone on the hotspot team, but if you can cut it up into sections, that would certainly help. Once we have reviews and changesets, the next question is how do we integrate the changes and into what, just jdk8? Or do these changes need to go into 7u at some point? -kto P.S. Was it necessary to add all those BSD man pages? Do we really need those? Just curious. From kurt at intricatesoftware.com Thu Jul 14 18:52:56 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Thu, 14 Jul 2011 21:52:56 -0400 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: Message-ID: <4E1F9D78.5080300@intricatesoftware.com> Hi John, I took a look at this and yes there are problems with the zero build. The first one is that langtools detection of when to build stub files is broken again. I have a fix for this that I will push up shortly. The second problem is that the zero build is not up to date with the current hotspot builds. zero support is back at b143 but the rest of hotspot is at b147. In particular RicochetFrame changes have made zero support not buildable. We will need to wait for the zero developers to catch up to us before the ppc build will work again. Regards, -Kurt On 6/25/11 3:38 PM, John Yeary wrote: > Hello All, > > I was just trying to do a build on Leopard for PPC, and no matter what > I have tried it fails. Does anyone have a current build script that > will work on OS X Leopard for PPC? > > -- > John Yeary > -- > http://javaevangelist.blogspot.com > http://www.johnyeary.com > *@jyeary* > > "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." > -- Theodore Roosevelt > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110714/1c6a53d4/attachment.html From kurt at intricatesoftware.com Thu Jul 14 19:09:20 2011 From: kurt at intricatesoftware.com (kurt at intricatesoftware.com) Date: Fri, 15 Jul 2011 02:09:20 +0000 Subject: hg: bsd-port/bsd-port/langtools: - langtools check for when to build stub files is ok for 1.6, but fails with older 1.7 builds. Use a more recent class to detect when to build stub files so that older 1.7 builds can build newer 1.7 builds. Message-ID: <20110715020924.1598447437@hg.openjdk.java.net> Changeset: 23aadf169f08 Author: kurt Date: 2011-07-14 21:53 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/23aadf169f08 - langtools check for when to build stub files is ok for 1.6, but fails with older 1.7 builds. Use a more recent class to detect when to build stub files so that older 1.7 builds can build newer 1.7 builds. ! make/build.xml From kurt at intricatesoftware.com Thu Jul 14 19:21:25 2011 From: kurt at intricatesoftware.com (kurt at intricatesoftware.com) Date: Fri, 15 Jul 2011 02:21:25 +0000 Subject: hg: bsd-port/bsd-port/jdk: - Use objdump(1) for mapfile use check on OpenBSD since nm doesn't have Message-ID: <20110715022144.0DE7F47438@hg.openjdk.java.net> Changeset: 4d795e647e97 Author: kurt Date: 2011-07-14 22:07 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/4d795e647e97 - Use objdump(1) for mapfile use check on OpenBSD since nm doesn't have the same arguments as FreeBSD. Fixes build on OpenBSD. ! make/common/shared/Defs-bsd.gmk ! make/common/shared/Defs-utils.gmk From kurt at intricatesoftware.com Thu Jul 14 19:32:48 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Thu, 14 Jul 2011 22:32:48 -0400 Subject: Use mapfiles in jdk tree for BSD Message-ID: <4E1FA6D0.8050001@intricatesoftware.com> Hi Mike, I noticed that FreeBSD and OpenBSD wasn't using mapfiles on the jdk tree. I would like to enable them for PLATFORM bsd, but not for Apple since it doesn't support them. Since mapfiles are disabled on Apply by this: make/common/Defs-bsd.gmk:# Darwin does not support linker map files. make/common/Defs-bsd.gmk:ifeq ($(OS_VENDOR), Apple) make/common/Defs-bsd.gmk:LDNOMAP=true make/common/Defs-bsd.gmk:endif I believe the attached diff is will not break the Apple build. Would it be possible for you to confirm this doesn't cause an issue for Apple builds since my ppc Apple can't build right now? Thanks, -Kurt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: mapfile.diff Url: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110714/7f45d7fd/mapfile.diff From kurt at intricatesoftware.com Thu Jul 14 19:58:02 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Thu, 14 Jul 2011 22:58:02 -0400 Subject: OpenJDK 7 status In-Reply-To: References: <20110706162218.GA19324@misty.eyesbeyond.com> <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> <20110708165747.GB29672@misty.eyesbeyond.com> <96466FDC-C853-4945-9C95-CE10A6904E7C@apple.com> <7BC0DD73-00D1-43E6-AC9A-7CA1624FC0B2@oracle.com> Message-ID: <4E1FACBA.6050302@intricatesoftware.com> Hi Kelly, On 7/14/11 8:47 PM, Kelly O'Hair wrote: > I took the liberty of creating a mongo webrev for the bsd changes compared to the jdk7/jdk7 forest, > just so we have a feel for how to cut this up: Thanks! I am excited to hear about this. While I don't have much free time to create and push webrevs, I can try to keep up with questions about the bsd specific changes. > * Source additions, might need to be pushed before selected Makefile changes > But this might take more review time, verifying legal notices and other picky source things? One thing to note was that the bsd-port source code was carefully imported to avoid any changes that Sun (now Oracle) didn't have rights to. Mainly that meant skipping JRL licensed submissions when we imported the code. Greg and I have been careful only accept changes from people who have have signed the Sun/Oracle Contributor Agreement since then. > P.S. Was it necessary to add all those BSD man pages? Do we really need those? Just curious. Not really. They were imported to change Linux to BSD with sed 's/linux/bsd/g; s/Linux/Bsd/g; s/LINUX/BSD/g' for clarity. Thanks, -Kurt From swingler at apple.com Fri Jul 15 10:18:54 2011 From: swingler at apple.com (Mike Swingler) Date: Fri, 15 Jul 2011 10:18:54 -0700 Subject: Use mapfiles in jdk tree for BSD In-Reply-To: <4E1FA6D0.8050001@intricatesoftware.com> References: <4E1FA6D0.8050001@intricatesoftware.com> Message-ID: <5F8F158A-F029-4C37-9EA6-860D828C1BD9@apple.com> On Jul 14, 2011, at 7:32 PM, Kurt Miller wrote: > Hi Mike, > > I noticed that FreeBSD and OpenBSD wasn't using mapfiles on the jdk tree. I would like to enable them for PLATFORM bsd, but not for Apple since it doesn't support them. Since mapfiles are disabled on Apply by this: > > make/common/Defs-bsd.gmk:# Darwin does not support linker map files. > make/common/Defs-bsd.gmk:ifeq ($(OS_VENDOR), Apple) > make/common/Defs-bsd.gmk:LDNOMAP=true > make/common/Defs-bsd.gmk:endif > > I believe the attached diff is will not break the Apple build. Would it be possible for you to confirm this doesn't cause an issue for Apple builds since my ppc Apple can't build right now? > > Thanks, > -Kurt Sure thing. I've tested and the Mac OS X port builds fine with this change. Cheers, ~Mike From kurt at intricatesoftware.com Fri Jul 15 10:53:34 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Fri, 15 Jul 2011 13:53:34 -0400 Subject: Use mapfiles in jdk tree for BSD In-Reply-To: <5F8F158A-F029-4C37-9EA6-860D828C1BD9@apple.com> References: <4E1FA6D0.8050001@intricatesoftware.com> <5F8F158A-F029-4C37-9EA6-860D828C1BD9@apple.com> Message-ID: <201107151353.35289.kurt@intricatesoftware.com> On Friday 15 July 2011 01:18:54 pm Mike Swingler wrote: > Sure thing. I've tested and the Mac OS X port builds fine with this change. Thanks! From kurt at intricatesoftware.com Fri Jul 15 10:57:12 2011 From: kurt at intricatesoftware.com (kurt at intricatesoftware.com) Date: Fri, 15 Jul 2011 17:57:12 +0000 Subject: hg: bsd-port/bsd-port/jdk: - Enable mapfiles for BSD (except Mac OS X) Message-ID: <20110715175731.B7C0847463@hg.openjdk.java.net> Changeset: dad5e6e16df5 Author: kurt Date: 2011-07-15 13:43 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/dad5e6e16df5 - Enable mapfiles for BSD (except Mac OS X) ! make/common/Mapfile-vers.gmk From kurt at intricatesoftware.com Fri Jul 15 11:10:04 2011 From: kurt at intricatesoftware.com (kurt at intricatesoftware.com) Date: Fri, 15 Jul 2011 18:10:04 +0000 Subject: hg: bsd-port/bsd-port/jdk: - Remove some old OpenBSD specific changes that are no longer needed Message-ID: <20110715181014.A895647464@hg.openjdk.java.net> Changeset: 8bf8f078bb77 Author: kurt Date: 2011-07-15 13:56 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/8bf8f078bb77 - Remove some old OpenBSD specific changes that are no longer needed since the 4.9 release. ! make/common/shared/Platform.gmk ! make/java/security/Makefile - src/share/lib/security/java.security-openbsd ! src/solaris/instrument/EncodingSupport_md.c From johnyeary at gmail.com Sat Jul 16 12:22:51 2011 From: johnyeary at gmail.com (John Yeary) Date: Sat, 16 Jul 2011 15:22:51 -0400 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: <4E1F9D78.5080300@intricatesoftware.com> References: <4E1F9D78.5080300@intricatesoftware.com> Message-ID: Hello Kurt, There were some remarks from the Apple team that it would not build. Do you believe that is not the case? I hope you are right. I would love to squeeze a little more life from my G5. It is still such a nice machine. John On Thu, Jul 14, 2011 at 9:52 PM, Kurt Miller wrote: > ** > Hi John, > > I took a look at this and yes there are problems with the zero build. > The first one is that langtools detection of when to build stub files > is broken again. I have a fix for this that I will push up shortly. > > The second problem is that the zero build is not up to date with the > current hotspot builds. zero support is back at b143 but the rest of > hotspot is at b147. In particular RicochetFrame changes have made > zero support not buildable. We will need to wait for the zero developers > to catch up to us before the ppc build will work again. > > Regards, > -Kurt > > On 6/25/11 3:38 PM, John Yeary wrote: > > Hello All, > > I was just trying to do a build on Leopard for PPC, and no matter what I > have tried it fails. Does anyone have a current build script that will work > on OS X Leopard for PPC? > > -- > John Yeary > -- > http://javaevangelist.blogspot.com > http://www.johnyeary.com > *@jyeary* > > "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." > -- Theodore Roosevelt > > > > -- John Yeary -- http://javaevangelist.blogspot.com http://www.johnyeary.com *@jyeary* "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." -- Theodore Roosevelt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110716/f86796d2/attachment.html From kurt at intricatesoftware.com Sat Jul 16 21:16:36 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Sun, 17 Jul 2011 00:16:36 -0400 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: <4E1F9D78.5080300@intricatesoftware.com> Message-ID: Hi John, The ppc build is broken right now. It depends on a component of hotpot called zero. Zero appears to have fallen behind other changes in hotpot. When zero is caught up we can import it and fix the ppc build. Regards, -Kurt -----Original message----- From: John Yeary To: Kurt Miller Cc: bsd-port-dev Sent: Sat, Jul 16, 2011 19:22:51 GMT+00:00 Subject: Re: OpenJDK Zero PPC Build on OS X Leopard Hello Kurt, There were some remarks from the Apple team that it would not build. Do you believe that is not the case? I hope you are right. I would love to squeeze a little more life from my G5. It is still such a nice machine. John On Thu, Jul 14, 2011 at 9:52 PM, Kurt Miller wrote: > ** > Hi John, > > I took a look at this and yes there are problems with the zero build. > The first one is that langtools detection of when to build stub files > is broken again. I have a fix for this that I will push up shortly. > > The second problem is that the zero build is not up to date with the > current hotspot builds. zero support is back at b143 but the rest of > hotspot is at b147. In particular RicochetFrame changes have made > zero support not buildable. We will need to wait for the zero developers > to catch up to us before the ppc build will work again. > > Regards, > -Kurt > > On 6/25/11 3:38 PM, John Yeary wrote: > > Hello All, > > I was just trying to do a build on Leopard for PPC, and no matter what I > have tried it fails. Does anyone have a current build script that will work > on OS X Leopard for PPC? > > -- > John Yeary > -- > http://javaevangelist.blogspot.com > http://www.johnyeary.com > *@jyeary* > > "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." > -- Theodore Roosevelt > > > > -- John Yeary -- http://javaevangelist.blogspot.com http://www.johnyeary.com *@jyeary* "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." -- Theodore Roosevelt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110717/da246859/attachment.html From johnyeary at gmail.com Sun Jul 17 03:33:08 2011 From: johnyeary at gmail.com (John Yeary) Date: Sun, 17 Jul 2011 06:33:08 -0400 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: <4E1F9D78.5080300@intricatesoftware.com> Message-ID: Hello Kurt, I am excited at the prospect of getting it to build again on my G5. I will wait impatiently. ;-) John On Sun, Jul 17, 2011 at 12:16 AM, Kurt Miller wrote: > Hi John, > > The ppc build is broken right now. It depends on a component of hotpot > called zero. Zero appears to have fallen behind other changes in hotpot. > When zero is caught up we can import it and fix the ppc build. > > Regards, > -Kurt > > > -----Original message----- > > *From: *John Yeary * > To: *Kurt Miller * > Cc: *bsd-port-dev * > Sent: *Sat, Jul 16, 2011 19:22:51 GMT+00:00* > Subject: *Re: OpenJDK Zero PPC Build on OS X Leopard > > Hello Kurt, > > There were some remarks from the Apple team that it would not build. Do you > believe that is not the case? I hope you are right. I would love to squeeze > a little more life from my G5. It is still such a nice machine. > > John > > On Thu, Jul 14, 2011 at 9:52 PM, Kurt Miller wrote: > >> ** >> Hi John, >> >> I took a look at this and yes there are problems with the zero build. >> The first one is that langtools detection of when to build stub files >> is broken again. I have a fix for this that I will push up shortly. >> >> The second problem is that the zero build is not up to date with the >> current hotspot builds. zero support is back at b143 but the rest of >> hotspot is at b147. In particular RicochetFrame changes have made >> zero support not buildable. We will need to wait for the zero developers >> to catch up to us before the ppc build will work again. >> >> Regards, >> -Kurt >> >> On 6/25/11 3:38 PM, John Yeary wrote: >> >> Hello All, >> >> I was just trying to do a build on Leopard for PPC, and no matter what I >> have tried it fails. Does anyone have a current build script that will work >> on OS X Leopard for PPC? >> >> -- >> John Yeary >> -- >> http://javaevangelist.blogspot.com >> http://www.johnyeary.com >> *@jyeary* >> >> "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." >> -- Theodore Roosevelt >> >> >> >> > > > -- > John Yeary > -- > http://javaevangelist.blogspot.com > http://www.johnyeary.com > *@jyeary* > > "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." > -- Theodore Roosevelt > > -- John Yeary -- http://javaevangelist.blogspot.com http://www.johnyeary.com *@jyeary* "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." -- Theodore Roosevelt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110717/3f8dd41d/attachment.html From henri.gomez at gmail.com Sun Jul 17 04:39:49 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Sun, 17 Jul 2011 13:39:49 +0200 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: <4E1F9D78.5080300@intricatesoftware.com> Message-ID: > > Hello Kurt, > > I am excited at the prospect of getting it to build again on my G5. I will > wait impatiently. ;-) > And what about Zero and MacOSX port ? > > John > > > On Sun, Jul 17, 2011 at 12:16 AM, Kurt Miller wrote: > >> Hi John, >> >> The ppc build is broken right now. It depends on a component of hotpot >> called zero. Zero appears to have fallen behind other changes in hotpot. >> When zero is caught up we can import it and fix the ppc build. >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110717/285bab1e/attachment.html From glewis at eyesbeyond.com Sun Jul 17 11:29:06 2011 From: glewis at eyesbeyond.com (Greg Lewis) Date: Sun, 17 Jul 2011 11:29:06 -0700 Subject: OpenJDK 7 status In-Reply-To: References: <20110706162218.GA19324@misty.eyesbeyond.com> <9E9CAA56-A75E-4B39-A292-54479A863C10@oracle.com> <20110708165747.GB29672@misty.eyesbeyond.com> <96466FDC-C853-4945-9C95-CE10A6904E7C@apple.com> <7BC0DD73-00D1-43E6-AC9A-7CA1624FC0B2@oracle.com> Message-ID: <20110717182906.GA27303@misty.eyesbeyond.com> G'day Mike, Kelly, On Wed, Jul 13, 2011 at 09:27:08AM -0700, Mike Swingler wrote: > On Jul 13, 2011, at 8:39 AM, Kelly O'Hair wrote: > > On Jul 10, 2011, at 1:45 PM, Mike Swingler wrote: > >> On Jul 8, 2011, at 9:57 AM, Greg Lewis wrote: > >>> On Wed, Jul 06, 2011 at 09:39:17AM -0700, Kelly O'Hair wrote: > >>>> Ok, I'll ask. > >>>> > >>>> So what are the plans with regards to integrating all the bsd and macosx port changes into jdk8? > >>>> In a more permanent way? > >>> > >>> Ummm, yes please? :-) > >>> > >>> I guess the first thing to do is to start a discussion of whether the > >>> overall strategy of a separate bsd directory hierarchy that mirrors the > >>> linux and solaris directory hierarchies is acceptable in terms of merging > >>> the changes in. If that is approved then we can start posting some > >>> webrevs. Since the macosx-port is a child of bsd-port and picks up the > >>> bsd-port changes, it would make sense to merge that in, with some checks > >>> to make sure it still compiles on {Free,Net,Open}BSD. > >>> > >>> Kelly whats the best list to start that discussion on? > >> > >> +1. > >> > >> I think the most logical plan to integrate Mac OS X into mainline JDK8 is for us to begin integrating the BSD port changes, where most of the divergences from mainline are at the HotSpot level. These changes don't access anything above the Darwin/BSD level on Mac OS X, so I am fine leaving the parallel directories left named "bsd". > >> > >> Once integrated, if there is obvious duplication with the solaris/linux hierarchy, we can proceed with further consolidation. > > > > The changes to hotspot may need to take a slightly different ride into jdk8, so I'd suggest doing that work separately > > with the hotspot team. > > Who would be our best point of contact for discuss integrating the HotSpot changes so we can move quickly on this? > > > For everything else, if someone could prepare webrevs of the BSD changes for each repository involved, and send > > them to the build-dev at openjdk.java.net alias, we can get reviews started and get the changes integrated. > > I have a feeling that as the changes get reviewed we might have some cleanup ideas. > > Keep in mind that we cannot and will not just drag over all the changesets in the existing BSD/MAC repositories, > > we will need to create fresh, probably large, changesets that identify themselves as BSD or MAC porting > > changes. We can create multiple CRs and break it up into separate pieces if necessary. > > If you need CRs filed, let me know. So the detailed history and the changesets in the BSD/MAC repositories will > > stay with those repositories, just so people understand. > > Not a problem for me. Initially if we start with just the bsd-port changesets, that should be a good digestible chunk of changes which should result in a fully Mac buildable source (just without the Mac-specific features that are being worked on in the macosx-port. > > Greg, would you like to prepare the changesets? One of my guys could do it too if your busy. I am pretty busy both with work and real life at the moment. In the interests of moving rapidly, it would make sense if one of you have time to create the webrevs. I'd be more than happy to be a reviewer. Let me know if that isn't going to work out and we'll figure out a strategy that can. > > Formally getting BSD builds to happen on a regular basis may be an issue, but first step (in my opinion) is to > > get the source code and makefile logic merged in, making sure the existing platform builds are not impacted. > > If someone has references to BSD iso images I can at least get started on creating my own VirtualBox setup. > > You can also use Mac OS X as a builder for the bsd-port changes if you already have a configuration available to you. It would be nice to get a FreeBSD turn of these changes as well, but it might not be necessary if the setup will take a while. FreeBSD ISO images are readily available. Here are a couple of links: ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/ ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/ The current release is 8.2, and that's what I target right now. > > I have a major concern here with the build changes involved colliding with our build infrastructure changes > > and the jigsaw/modularity changes coming into jdk8. > > Right now, jdk8 is basically jdk7 plus a little change, so doing this now may be best, but it needs to happen > > quickly, if we wait too long, the merge could be very painful. > > I agree, and am available to drive this ASAP. Mike, thanks for being able to take the lead on this! -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From glewis at eyesbeyond.com Sun Jul 17 11:32:47 2011 From: glewis at eyesbeyond.com (Greg Lewis) Date: Sun, 17 Jul 2011 11:32:47 -0700 Subject: hg: bsd-port/bsd-port/jdk: - Enable mapfiles for BSD (except Mac OS X) In-Reply-To: <20110715175731.B7C0847463@hg.openjdk.java.net> References: <20110715175731.B7C0847463@hg.openjdk.java.net> Message-ID: <20110717183247.GB27303@misty.eyesbeyond.com> On Fri, Jul 15, 2011 at 05:57:12PM +0000, kurt at intricatesoftware.com wrote: > Changeset: dad5e6e16df5 > Author: kurt > Date: 2011-07-15 13:43 -0400 > URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/dad5e6e16df5 > > - Enable mapfiles for BSD (except Mac OS X) > > ! make/common/Mapfile-vers.gmk I'm looking into why this breaks the FreeBSD build. It really shouldn't. At the moment ldd is erroring out when it's run on libjawt.so. -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From kurt at intricatesoftware.com Sun Jul 17 20:08:53 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Sun, 17 Jul 2011 23:08:53 -0400 Subject: hg: bsd-port/bsd-port/jdk: - Enable mapfiles for BSD (except Mac OS X) In-Reply-To: <20110717183247.GB27303@misty.eyesbeyond.com> References: <20110715175731.B7C0847463@hg.openjdk.java.net> <20110717183247.GB27303@misty.eyesbeyond.com> Message-ID: <4E23A3C5.3040500@intricatesoftware.com> On 07/17/11 14:32, Greg Lewis wrote: > On Fri, Jul 15, 2011 at 05:57:12PM +0000, kurt at intricatesoftware.com wrote: >> Changeset: dad5e6e16df5 >> Author: kurt >> Date: 2011-07-15 13:43 -0400 >> URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/dad5e6e16df5 >> >> - Enable mapfiles for BSD (except Mac OS X) >> >> ! make/common/Mapfile-vers.gmk > > I'm looking into why this breaks the FreeBSD build. It really shouldn't. > At the moment ldd is erroring out when it's run on libjawt.so. > Hi Greg, Sorry about the fall out. Would you like me to make it OpenBSD specific until it works ok on FreeBSD? Thanks, -Kurt From kurt at intricatesoftware.com Sun Jul 17 20:11:37 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Sun, 17 Jul 2011 23:11:37 -0400 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: <4E1F9D78.5080300@intricatesoftware.com> Message-ID: <4E23A469.7080500@intricatesoftware.com> On 07/17/11 07:39, Henri Gomez wrote: > Hello Kurt, > > I am excited at the prospect of getting it to build again on my G5. > I will wait impatiently. ;-) > > > And what about Zero and MacOSX port ? Hi Henri, Zero is not needed for x86 or sparc builds. For bsd-port the zero problems only affect Mac OS X on PPC. Thanks, -Kurt > > > > John > > > On Sun, Jul 17, 2011 at 12:16 AM, Kurt Miller > > wrote: > > Hi John, > > The ppc build is broken right now. It depends on a component of > hotpot called zero. Zero appears to have fallen behind other > changes in hotpot. When zero is caught up we can import it and > fix the ppc build. > > > > > From henri.gomez at gmail.com Sun Jul 17 23:18:31 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Mon, 18 Jul 2011 08:18:31 +0200 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: <4E23A469.7080500@intricatesoftware.com> References: <4E1F9D78.5080300@intricatesoftware.com> <4E23A469.7080500@intricatesoftware.com> Message-ID: > Hi Henri, > > Zero is not needed for x86 or sparc builds. For bsd-port the zero > problems only affect Mac OS X on PPC. Yes, I know My question was more on using Zero in Mac OS/X port project to provide support for PPC on this branch From johnyeary at gmail.com Mon Jul 18 06:12:01 2011 From: johnyeary at gmail.com (John Yeary) Date: Mon, 18 Jul 2011 09:12:01 -0400 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: <4E1F9D78.5080300@intricatesoftware.com> <4E23A469.7080500@intricatesoftware.com> Message-ID: Please with sugar on top! On Mon, Jul 18, 2011 at 2:18 AM, Henri Gomez wrote: > > Hi Henri, > > > > Zero is not needed for x86 or sparc builds. For bsd-port the zero > > problems only affect Mac OS X on PPC. > > Yes, I know > > My question was more on using Zero in Mac OS/X port project to provide > support for PPC on this branch > -- John Yeary -- http://javaevangelist.blogspot.com http://www.johnyeary.com *@jyeary* "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." -- Theodore Roosevelt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110718/114db529/attachment.html From henri.gomez at gmail.com Mon Jul 18 06:27:28 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Mon, 18 Jul 2011 15:27:28 +0200 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: <4E1F9D78.5080300@intricatesoftware.com> <4E23A469.7080500@intricatesoftware.com> Message-ID: 2011/7/18 John Yeary > Please with sugar on top! yep, I think it's something more than awaited by OS/X users with G4/G5 processors :) > On Mon, Jul 18, 2011 at 2:18 AM, Henri Gomez wrote: > >> > Hi Henri, >> > >> > Zero is not needed for x86 or sparc builds. For bsd-port the zero >> > problems only affect Mac OS X on PPC. >> >> Yes, I know >> >> My question was more on using Zero in Mac OS/X port project to provide >> support for PPC on this branch >> > > > > -- > John Yeary > -- > http://javaevangelist.blogspot.com > http://www.johnyeary.com > *@jyeary* > > "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." > -- Theodore Roosevelt > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110718/147bcc3e/attachment.html From kurt at intricatesoftware.com Mon Jul 18 07:28:04 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Mon, 18 Jul 2011 10:28:04 -0400 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: <4E23A469.7080500@intricatesoftware.com> Message-ID: <201107181028.04177.kurt@intricatesoftware.com> On Monday 18 July 2011 02:18:31 am Henri Gomez wrote: > > Hi Henri, > > > > Zero is not needed for x86 or sparc builds. For bsd-port the zero > > problems only affect Mac OS X on PPC. > > Yes, I know > > My question was more on using Zero in Mac OS/X port project to provide > support for PPC on this branch > Hi Henri, The flow of source code from the various trees is something like this: Zero -> jdk7/jdk7 -> bsd-port -> macosx-port. Are there local Zero changes in macosx-port that I can back port to bsd-port? Thanks, -Kurt From henri.gomez at gmail.com Mon Jul 18 07:42:46 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Mon, 18 Jul 2011 16:42:46 +0200 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: <201107181028.04177.kurt@intricatesoftware.com> References: <4E23A469.7080500@intricatesoftware.com> <201107181028.04177.kurt@intricatesoftware.com> Message-ID: > Hi Henri, Hello Kurt, > The flow of source code from the various trees is something like this: > > Zero -> jdk7/jdk7 -> bsd-port -> macosx-port. > > Are there local Zero changes in macosx-port that I can back port to bsd-port? Nope, nothing in Zero on MacOSX port I think. So we had to wait change from Zero -> jdk7/jdk7 ? Then try a build on bsd-port and then on macosx-port ? There is some glue between Objective C / Cocoa and OpenJDK in macosx-port, will it fit ? From glewis at eyesbeyond.com Mon Jul 18 19:08:39 2011 From: glewis at eyesbeyond.com (Greg Lewis) Date: Mon, 18 Jul 2011 19:08:39 -0700 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: References: <4E23A469.7080500@intricatesoftware.com> <201107181028.04177.kurt@intricatesoftware.com> Message-ID: <20110719020839.GA55292@misty.eyesbeyond.com> On Mon, Jul 18, 2011 at 04:42:46PM +0200, Henri Gomez wrote: > > Hi Henri, > > Hello Kurt, > > > The flow of source code from the various trees is something like this: > > > > Zero -> jdk7/jdk7 -> bsd-port -> macosx-port. > > > > Are there local Zero changes in macosx-port that I can back port to bsd-port? > > Nope, nothing in Zero on MacOSX port I think. > So we had to wait change from Zero -> jdk7/jdk7 ? Then try a build on > bsd-port and then on macosx-port ? > > There is some glue between Objective C / Cocoa and OpenJDK in > macosx-port, will it fit ? AFAIK some of the changes that have gone into the macosx-port repository are incompatible with Leopard. So even if Zero support is repaired for the bsd-port repository, it's not straight sailing from there to being able to use it with the macosx-port repository. Kurt, we should be up to date with the main repo, so are you saying that the Zero build is broken for jdk7 in general? Or just that there is some bitrot in the BSD port of it? -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From kurt at intricatesoftware.com Mon Jul 18 20:13:13 2011 From: kurt at intricatesoftware.com (Kurt Miller) Date: Mon, 18 Jul 2011 23:13:13 -0400 Subject: OpenJDK Zero PPC Build on OS X Leopard In-Reply-To: <20110719020839.GA55292@misty.eyesbeyond.com> References: <4E23A469.7080500@intricatesoftware.com> <201107181028.04177.kurt@intricatesoftware.com> <20110719020839.GA55292@misty.eyesbeyond.com> Message-ID: <4E24F649.8070809@intricatesoftware.com> Hi Greg, On 7/18/11 10:08 PM, Greg Lewis wrote: > Kurt, we should be up to date with the main repo, so are you saying that > the Zero build is broken for jdk7 in general? Yes, Zero support hasn't kept up with recent hotspot changes in the main tree. There are some patches on the zero-dev list that have been proposed to fix the build. Although the email says zero may continue to have problems actually working. http://mail.openjdk.java.net/pipermail/zero-dev/2011-July/000389.html Thanks, -Kurt From rhoover at apple.com Thu Jul 28 10:25:24 2011 From: rhoover at apple.com (roger hoover) Date: Thu, 28 Jul 2011 11:25:24 -0600 Subject: merging BSDPort into jdk mainline Message-ID: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> As the first of many steps to integrate the Mac OS X Port into mainline jdk8, we need to merge the BSDPort code (on which the Mac OS X Port is based) into the jdk8 mainline. I've started this discussion as it pertains to HotSpot on the hotspot-dev mailing list: http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-July/004331.html Please use the hotspot-dev list and the mentioned wiki page for discussion of merging BSDPort hotspot to mainline jdk. Thanks. roger From henri.gomez at gmail.com Thu Jul 28 11:57:57 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Thu, 28 Jul 2011 20:57:57 +0200 Subject: merging BSDPort into jdk mainline In-Reply-To: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> Message-ID: > As the first of many steps to integrate the Mac OS X Port into mainline jdk8, we need to merge the BSDPort code (on which the Mac OS X Port is based) into the jdk8 mainline. ? I've started this discussion as it pertains to HotSpot on the hotspot-dev mailing list: > > http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-July/004331.html > > Please use the hotspot-dev list and the mentioned wiki page for discussion of merging BSDPort hotspot to mainline jdk. ?Thanks. What did you means by merging bsd-port into mainline jdk8 ? From gary.meyer at apple.com Thu Jul 28 12:04:25 2011 From: gary.meyer at apple.com (Gary Meyer) Date: Thu, 28 Jul 2011 12:04:25 -0700 Subject: merging BSDPort into jdk mainline In-Reply-To: References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> Message-ID: <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> He means exactly what he said. JDK8 is an official product produced by Oracle, and the BSD-port code will be merged into that product. So that Mac OS X can become an officially supported platform. Gary. On Jul 28, 2011, at 11:57 AM, Henri Gomez wrote: >> As the first of many steps to integrate the Mac OS X Port into mainline jdk8, we need to merge the BSDPort code (on which the Mac OS X Port is based) into the jdk8 mainline. I've started this discussion as it pertains to HotSpot on the hotspot-dev mailing list: >> >> http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-July/004331.html >> >> Please use the hotspot-dev list and the mentioned wiki page for discussion of merging BSDPort hotspot to mainline jdk. Thanks. > > What did you means by merging bsd-port into mainline jdk8 ? > ~~~~~~~~~~~~~~~~~~~ Gary Meyer gary.meyer at apple.com From henri.gomez at gmail.com Thu Jul 28 12:08:22 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Thu, 28 Jul 2011 21:08:22 +0200 Subject: merging BSDPort into jdk mainline In-Reply-To: <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> Message-ID: > He means exactly what he said. ?JDK8 is an official product produced by Oracle, and the BSD-port code will be merged into that product. So that Mac OS X can become an officially supported platform. ok thanks, I wasn't aware that BSD code into JDK7 wasn't already in such case. From henri.gomez at gmail.com Thu Jul 28 12:14:04 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Thu, 28 Jul 2011 21:14:04 +0200 Subject: merging BSDPort into jdk mainline In-Reply-To: References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> Message-ID: >> He means exactly what he said. ?JDK8 is an official product produced by Oracle, and the BSD-port code will be merged into that product. So that Mac OS X can become an officially supported platform. > > ok thanks, I wasn't aware that BSD code into JDK7 wasn't already in such case. Another question about JDK7/8, bsd-port (and so macosx-port). What about support of processors arch like PPC and ARM via Zero project ? Could we expect JDK7 (or may be JDK8) to have Zero Project in the mainline ? Thanks From henri.gomez at gmail.com Thu Jul 28 12:41:43 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Thu, 28 Jul 2011 21:41:43 +0200 Subject: merging BSDPort into jdk mainline In-Reply-To: References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> Message-ID: >> Another question about JDK7/8, bsd-port (and so macosx-port). >> What about support of processors arch like PPC and ARM via Zero project ? >> Could we expect JDK7 (or may be JDK8) to have Zero Project in the mainline ? > > That's already the case. ?Zero was merged in some time ago. Sorry but I'm confuse. Did you mean Zero has been merged into JDK 7 or JDK 8 ? There was discussion on bsd-port (and macosx-port) list about supporting PowerPC on these builds (for previous PPC based Mac) and it seems there is something broken now on the Zero side preventing to use it on bsd-port (and sus macosx-port). From swingler at apple.com Thu Jul 28 13:13:22 2011 From: swingler at apple.com (Mike Swingler) Date: Thu, 28 Jul 2011 13:13:22 -0700 Subject: merging BSDPort into jdk mainline In-Reply-To: References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> Message-ID: <7148EAE0-47A5-4043-8F64-3412EEBF0EE2@apple.com> On Jul 28, 2011, at 12:14 PM, Henri Gomez wrote: >>> He means exactly what he said. JDK8 is an official product produced by Oracle, and the BSD-port code will be merged into that product. So that Mac OS X can become an officially supported platform. >> >> ok thanks, I wasn't aware that BSD code into JDK7 wasn't already in such case. > > Another question about JDK7/8, bsd-port (and so macosx-port). > What about support of processors arch like PPC and ARM via Zero project ? > Could we expect JDK7 (or may be JDK8) to have Zero Project in the mainline ? It is not the goal of anyone at Apple to support these architectures. I am not in a position to say if anyone at Oracle is interested in doing the work for ancient PPC Macs. If someone in the community would like to put in the effort, I would suggest they speak up now. Regards, Mike Swingler Java Engineering Apple Inc. From henri.gomez at gmail.com Thu Jul 28 15:10:45 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Fri, 29 Jul 2011 00:10:45 +0200 Subject: merging BSDPort into jdk mainline In-Reply-To: <7148EAE0-47A5-4043-8F64-3412EEBF0EE2@apple.com> References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> <7148EAE0-47A5-4043-8F64-3412EEBF0EE2@apple.com> Message-ID: > It is not the goal of anyone at Apple to support these architectures. I am not in a position to say if anyone at Oracle is interested in doing the work for ancient PPC Macs. If someone in the community would like to put in the effort, I would suggest they speak up now. I understand that PowerPC support is no more on Apple goals and I'm unsure about Oracle. Project Zero is a very good approach to help PPC and ARM users get recents OpenJDK on their machine. That's why I asked about Zero with OpenJDK 7/8 on mainline. There is many OSes around (Linux, BSD, Windows and OS/X) and many processors (x86, x86_64, PPC, ARM) so a serious matrix in some cases like Linux and BSD where all CPU archs are available. Zero is a perfect fit for these OS and even if OpenJDK 7 or 8 are not available for PPC under macosx-port, why not having them with bsd-port ? It's still unclear to me where is the glue between Hotspot, CPUs and OS and how to build an OpenJDK for an OS/CPU replacing native assembly support by Zero. From swingler at apple.com Thu Jul 28 18:30:14 2011 From: swingler at apple.com (Mike Swingler) Date: Thu, 28 Jul 2011 18:30:14 -0700 Subject: merging BSDPort into jdk mainline In-Reply-To: References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> <7148EAE0-47A5-4043-8F64-3412EEBF0EE2@apple.com> Message-ID: On Jul 28, 2011, at 3:10 PM, Henri Gomez wrote: >> It is not the goal of anyone at Apple to support these architectures. I am not in a position to say if anyone at Oracle is interested in doing the work for ancient PPC Macs. If someone in the community would like to put in the effort, I would suggest they speak up now. > > I understand that PowerPC support is no more on Apple goals and I'm > unsure about Oracle. > Project Zero is a very good approach to help PPC and ARM users get > recents OpenJDK on their machine. > That's why I asked about Zero with OpenJDK 7/8 on mainline. > > There is many OSes around (Linux, BSD, Windows and OS/X) and many > processors (x86, x86_64, PPC, ARM) so a serious matrix in some cases > like Linux and BSD where all CPU archs are available. Zero is a > perfect fit for these OS and even if OpenJDK 7 or 8 are not available > for PPC under macosx-port, why not having them with bsd-port ? Someone involved in the BSD-port would have to take on the responsibility of updating and maintaining this code. This is non-zero effort. > It's still unclear to me where is the glue between Hotspot, CPUs and > OS and how to build an OpenJDK for an OS/CPU replacing native assembly > support by Zero. Are there any active contributors to the Zero project you can ask? I haven't seen any recent work in their repository. I understand the desire, and I understand the demand, but unless someone wants to volunteer their time (or money to compel someone else's time) I don't see a bright future for it. Regards, Mike Swingler Java Engineering Apple Inc. From weijun.wang at oracle.com Thu Jul 28 19:03:15 2011 From: weijun.wang at oracle.com (Weijun Wang) Date: Fri, 29 Jul 2011 10:03:15 +0800 Subject: merging BSDPort into jdk mainline In-Reply-To: <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> Message-ID: <4E3214E3.3050406@oracle.com> If I understand correctly, merging BSDPort into jdk mainline means that the BSD-specific codes are not only in the bsd-port repo, but also inside the master jdk8 repo and thus will be synced to every other team repo (awt, tl,...). The direct result is that every openjdk contributor, no matter what team he/she is in, can work on a BSD system for his/her daily work. I hope the macosx-port will follow the way soon. Still cannot find a good enough reason to put aside my 2006 Core Duo MacBook and get a new one. :) -Max On 07/29/2011 03:04 AM, Gary Meyer wrote: > He means exactly what he said. JDK8 is an official product produced by Oracle, and the BSD-port code will be merged into that product. So that Mac OS X can become an officially supported platform. > Gary. > > On Jul 28, 2011, at 11:57 AM, Henri Gomez wrote: > >>> As the first of many steps to integrate the Mac OS X Port into mainline jdk8, we need to merge the BSDPort code (on which the Mac OS X Port is based) into the jdk8 mainline. I've started this discussion as it pertains to HotSpot on the hotspot-dev mailing list: >>> >>> http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-July/004331.html >>> >>> Please use the hotspot-dev list and the mentioned wiki page for discussion of merging BSDPort hotspot to mainline jdk. Thanks. >> >> What did you means by merging bsd-port into mainline jdk8 ? >> > > ~~~~~~~~~~~~~~~~~~~ > Gary Meyer > gary.meyer at apple.com > From swingler at apple.com Thu Jul 28 19:20:12 2011 From: swingler at apple.com (Mike Swingler) Date: Thu, 28 Jul 2011 19:20:12 -0700 Subject: merging BSDPort into jdk mainline In-Reply-To: <4E3214E3.3050406@oracle.com> References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> <4E3214E3.3050406@oracle.com> Message-ID: <1B1CA9B9-DC2B-4C6D-87D3-116EB2878798@apple.com> That's the plan. :-) Since the macosx-port is based on the bsd-port, we are starting with the bsd-port changes first, and logically HotSpot is the first (and also the largest) aspect of this. Regards, Mike Swingler Java Engineering Apple Inc. On Jul 28, 2011, at 7:03 PM, Weijun Wang wrote: > If I understand correctly, merging BSDPort into jdk mainline means that the BSD-specific codes are not only in the bsd-port repo, but also inside the master jdk8 repo and thus will be synced to every other team repo (awt, tl,...). The direct result is that every openjdk contributor, no matter what team he/she is in, can work on a BSD system for his/her daily work. > > I hope the macosx-port will follow the way soon. Still cannot find a good enough reason to put aside my 2006 Core Duo MacBook and get a new one. :) > > -Max > > > On 07/29/2011 03:04 AM, Gary Meyer wrote: >> He means exactly what he said. JDK8 is an official product produced by Oracle, and the BSD-port code will be merged into that product. So that Mac OS X can become an officially supported platform. >> Gary. >> >> On Jul 28, 2011, at 11:57 AM, Henri Gomez wrote: >> >>>> As the first of many steps to integrate the Mac OS X Port into mainline jdk8, we need to merge the BSDPort code (on which the Mac OS X Port is based) into the jdk8 mainline. I've started this discussion as it pertains to HotSpot on the hotspot-dev mailing list: >>>> >>>> http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-July/004331.html >>>> >>>> Please use the hotspot-dev list and the mentioned wiki page for discussion of merging BSDPort hotspot to mainline jdk. Thanks. >>> >>> What did you means by merging bsd-port into mainline jdk8 ? From kelly.ohair at oracle.com Fri Jul 29 09:17:04 2011 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Fri, 29 Jul 2011 18:17:04 +0200 Subject: merging BSDPort into jdk mainline In-Reply-To: <1B1CA9B9-DC2B-4C6D-87D3-116EB2878798@apple.com> References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> <4E3214E3.3050406@oracle.com> <1B1CA9B9-DC2B-4C6D-87D3-116EB2878798@apple.com> Message-ID: <67EC230B-E3F2-4E43-8314-48DA73A48ABE@oracle.com> All with the understanding that the current BSD and Mac port repository changesets will not be preserved in jdk8, new changesets that follow the standard jcheck rules, and with reviewers specified, and effectively approved by the teams that are impacted. That means the build team accepting the makefiles changes, hotspot accepting the hotspot changes, etc. I'm not sure I see a big issue here, just stating what I think needs to happen. We want an openjdk8 master to have it all, and it should be buildable and work on all these platforms. We don;t have the hardware or setups to completely police this yet, making sure it stays building and working on all these platforms, but that will eventually happen. I'm really looking forward to having the official jdk8 repos build on my Mac laptop. :^) -kto On Jul 29, 2011, at 4:20 AM, Mike Swingler wrote: > That's the plan. :-) > > Since the macosx-port is based on the bsd-port, we are starting with the bsd-port changes first, and logically HotSpot is the first (and also the largest) aspect of this. > > Regards, > Mike Swingler > Java Engineering > Apple Inc. > > On Jul 28, 2011, at 7:03 PM, Weijun Wang wrote: > >> If I understand correctly, merging BSDPort into jdk mainline means that the BSD-specific codes are not only in the bsd-port repo, but also inside the master jdk8 repo and thus will be synced to every other team repo (awt, tl,...). The direct result is that every openjdk contributor, no matter what team he/she is in, can work on a BSD system for his/her daily work. >> >> I hope the macosx-port will follow the way soon. Still cannot find a good enough reason to put aside my 2006 Core Duo MacBook and get a new one. :) >> >> -Max >> >> >> On 07/29/2011 03:04 AM, Gary Meyer wrote: >>> He means exactly what he said. JDK8 is an official product produced by Oracle, and the BSD-port code will be merged into that product. So that Mac OS X can become an officially supported platform. >>> Gary. >>> >>> On Jul 28, 2011, at 11:57 AM, Henri Gomez wrote: >>> >>>>> As the first of many steps to integrate the Mac OS X Port into mainline jdk8, we need to merge the BSDPort code (on which the Mac OS X Port is based) into the jdk8 mainline. I've started this discussion as it pertains to HotSpot on the hotspot-dev mailing list: >>>>> >>>>> http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-July/004331.html >>>>> >>>>> Please use the hotspot-dev list and the mentioned wiki page for discussion of merging BSDPort hotspot to mainline jdk. Thanks. >>>> >>>> What did you means by merging bsd-port into mainline jdk8 ? >