From kurt at intricatesoftware.com Wed May 1 06:02:04 2013 From: kurt at intricatesoftware.com (kurt at intricatesoftware.com) Date: Wed, 01 May 2013 13:02:04 +0000 Subject: hg: bsd-port/bsd-port/jdk: - Adjust include order to avoid unintended includes caused by Message-ID: <20130501130259.DB3CE4872C@hg.openjdk.java.net> Changeset: 120a0326f76d Author: kurt Date: 2013-05-01 09:00 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/120a0326f76d - Adjust include order to avoid unintended includes caused by /usr/local/include (cups) coming before jdk specific include dirs. ! make/sun/awt/mawt.gmk From kurt at intricatesoftware.com Wed May 1 06:10:49 2013 From: kurt at intricatesoftware.com (Kurt Miller) Date: Wed, 1 May 2013 09:10:49 -0400 Subject: Build dir in rpath Message-ID: <201305010910.49988.kurt@intricatesoftware.com> There is a bsd-port only change to include the build dir in the rpath of the jdk libs. For example: $ objdump -p jre/lib/amd64/libjava.so | grep RPATH RPATH $ORIGIN:/home/truk/jdk/bsd-port/build/bsd-amd64/lib/amd64/server As far as I can tell this is not needed and should be removed. The following diff removes it and works okay on OpenBSD. Christos, Greg could you confirm this doesn't break the builds on FreeBSD and NetBSD? Thanks, -Kurt diff -r 120a0326f76d make/common/Defs-bsd.gmk --- a/make/common/Defs-bsd.gmk Wed May 01 09:00:47 2013 -0400 +++ b/make/common/Defs-bsd.gmk Wed May 01 09:02:42 2013 -0400 @@ -399,7 +399,7 @@ # the library itself should not. # VM_NAME = server -JVMLIB = -Xlinker -rpath -Xlinker $(LIBDIR)/$(LIBARCH)/$(VM_NAME) -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm +JVMLIB = -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm JAVALIB = -ljava $(JVMLIB) # From glewis at eyesbeyond.com Sun May 5 10:01:55 2013 From: glewis at eyesbeyond.com (Greg Lewis) Date: Sun, 5 May 2013 10:01:55 -0700 Subject: Build dir in rpath In-Reply-To: <201305010910.49988.kurt@intricatesoftware.com> References: <201305010910.49988.kurt@intricatesoftware.com> Message-ID: <20130505170155.GA14364@misty.eyesbeyond.com> G'day Kurt, On Wed, May 01, 2013 at 09:10:49AM -0400, Kurt Miller wrote: > There is a bsd-port only change to include the build dir in the rpath of the jdk libs. > For example: > > $ objdump -p jre/lib/amd64/libjava.so | grep RPATH > RPATH $ORIGIN:/home/truk/jdk/bsd-port/build/bsd-amd64/lib/amd64/server > > As far as I can tell this is not needed and should be removed. The following diff > removes it and works okay on OpenBSD. Christos, Greg could you confirm this > doesn't break the builds on FreeBSD and NetBSD? Doesn't break FreeBSD. > diff -r 120a0326f76d make/common/Defs-bsd.gmk > --- a/make/common/Defs-bsd.gmk Wed May 01 09:00:47 2013 -0400 > +++ b/make/common/Defs-bsd.gmk Wed May 01 09:02:42 2013 -0400 > @@ -399,7 +399,7 @@ > # the library itself should not. > # > VM_NAME = server > -JVMLIB = -Xlinker -rpath -Xlinker $(LIBDIR)/$(LIBARCH)/$(VM_NAME) -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm > +JVMLIB = -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm > JAVALIB = -ljava $(JVMLIB) > > # -- 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 May 5 10:02:20 2013 From: glewis at eyesbeyond.com (Greg Lewis) Date: Sun, 5 May 2013 10:02:20 -0700 Subject: current status In-Reply-To: <20130426192555.41F1F97129@rebar.astron.com> References: <20130426192555.41F1F97129@rebar.astron.com> Message-ID: <20130505170220.GB14364@misty.eyesbeyond.com> On Fri, Apr 26, 2013 at 03:25:55PM -0400, Christos Zoulas wrote: > Hi, > > I was wondering if anyone was planning to merge the security changes recently > committed by Oracle to the bsd-port head? > > Best, > > christos Done. In case the Apr 30th commits weren't clear on that :). -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From christos at zoulas.com Sun May 5 12:03:43 2013 From: christos at zoulas.com (Christos Zoulas) Date: Sun, 5 May 2013 15:03:43 -0400 Subject: current status In-Reply-To: <20130505170220.GB14364@misty.eyesbeyond.com> References: <20130426192555.41F1F97129@rebar.astron.com> <20130505170220.GB14364@misty.eyesbeyond.com> Message-ID: <7DB9AFF5-2C31-4D7A-8CCC-4CD00EBE0959@zoulas.com> Many thanks! christos On May 5, 2013, at 1:02 PM, Greg Lewis wrote: > On Fri, Apr 26, 2013 at 03:25:55PM -0400, Christos Zoulas wrote: >> Hi, >> >> I was wondering if anyone was planning to merge the security changes recently >> committed by Oracle to the bsd-port head? >> >> Best, >> >> christos > > Done. In case the Apr 30th commits weren't clear on that :). > > > -- > Greg Lewis Email : glewis at eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis at FreeBSD.org From christos at zoulas.com Sun May 5 12:05:55 2013 From: christos at zoulas.com (Christos Zoulas) Date: Sun, 5 May 2013 15:05:55 -0400 Subject: Build dir in rpath In-Reply-To: <20130505170155.GA14364@misty.eyesbeyond.com> References: <201305010910.49988.kurt@intricatesoftware.com> <20130505170155.GA14364@misty.eyesbeyond.com> Message-ID: I need to test netbsd, but go ahead, don't wait for me. christos On May 5, 2013, at 1:01 PM, Greg Lewis wrote: > G'day Kurt, > > On Wed, May 01, 2013 at 09:10:49AM -0400, Kurt Miller wrote: >> There is a bsd-port only change to include the build dir in the rpath of the jdk libs. >> For example: >> >> $ objdump -p jre/lib/amd64/libjava.so | grep RPATH >> RPATH $ORIGIN:/home/truk/jdk/bsd-port/build/bsd-amd64/lib/amd64/server >> >> As far as I can tell this is not needed and should be removed. The following diff >> removes it and works okay on OpenBSD. Christos, Greg could you confirm this >> doesn't break the builds on FreeBSD and NetBSD? > > Doesn't break FreeBSD. > >> diff -r 120a0326f76d make/common/Defs-bsd.gmk >> --- a/make/common/Defs-bsd.gmk Wed May 01 09:00:47 2013 -0400 >> +++ b/make/common/Defs-bsd.gmk Wed May 01 09:02:42 2013 -0400 >> @@ -399,7 +399,7 @@ >> # the library itself should not. >> # >> VM_NAME = server >> -JVMLIB = -Xlinker -rpath -Xlinker $(LIBDIR)/$(LIBARCH)/$(VM_NAME) -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm >> +JVMLIB = -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm >> JAVALIB = -ljava $(JVMLIB) >> >> # > > -- > 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 May 6 06:13:29 2013 From: kurt at intricatesoftware.com (Kurt Miller) Date: Mon, 06 May 2013 09:13:29 -0400 Subject: Build dir in rpath In-Reply-To: <20130505170155.GA14364@misty.eyesbeyond.com> References: <201305010910.49988.kurt@intricatesoftware.com> <20130505170155.GA14364@misty.eyesbeyond.com> Message-ID: <5187AC79.2070201@intricatesoftware.com> On 05/05/13 13:01, Greg Lewis wrote: > G'day Kurt, > > On Wed, May 01, 2013 at 09:10:49AM -0400, Kurt Miller wrote: >> There is a bsd-port only change to include the build dir in the rpath of the jdk libs. >> For example: >> >> $ objdump -p jre/lib/amd64/libjava.so | grep RPATH >> RPATH $ORIGIN:/home/truk/jdk/bsd-port/build/bsd-amd64/lib/amd64/server >> >> As far as I can tell this is not needed and should be removed. The following diff >> removes it and works okay on OpenBSD. Christos, Greg could you confirm this >> doesn't break the builds on FreeBSD and NetBSD? > > Doesn't break FreeBSD. Great. Thanks! -Kurt From kurt at intricatesoftware.com Mon May 6 06:20:29 2013 From: kurt at intricatesoftware.com (Kurt Miller) Date: Mon, 06 May 2013 09:20:29 -0400 Subject: Build dir in rpath In-Reply-To: References: <201305010910.49988.kurt@intricatesoftware.com> <20130505170155.GA14364@misty.eyesbeyond.com> Message-ID: <5187AE1D.4070605@intricatesoftware.com> On 05/05/13 15:05, Christos Zoulas wrote: > I need to test netbsd, but go ahead, don't wait for me. Ok, will do. -Kurt From kurt at intricatesoftware.com Mon May 6 06:24:11 2013 From: kurt at intricatesoftware.com (kurt at intricatesoftware.com) Date: Mon, 06 May 2013 13:24:11 +0000 Subject: hg: bsd-port/bsd-port/jdk: - Remove build dir from rpath. Message-ID: <20130506132455.2FDA848835@hg.openjdk.java.net> Changeset: 04ea4c2d0fd8 Author: kurt Date: 2013-05-06 09:22 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/04ea4c2d0fd8 - Remove build dir from rpath. ! make/common/Defs-bsd.gmk From tpisellijr at mac.com Mon May 6 08:43:03 2013 From: tpisellijr at mac.com (Tony Piselli) Date: Mon, 06 May 2013 15:43:03 +0000 (GMT) Subject: compile error on mac ppc box Message-ID: <046db95f-b8d3-4d50-b502-9ecf631511a0@me.com> Hi Volker, Using the AIX-Linux-PPC project I've started to add BSD/Mac/PPC support in. I've been able to identify PPC boxes and in particular the 64 bit cpu (ppc970) and have gotten to the point where the build makes it into the hotspot project. Looking at the AIX hotspot code it appears that things are coded for the xlc compiler tool set whereas the Linux/PPC code appears to be coded for the gcc tool set. The last version of tools from Apple for PPC (Mac OS 10.5.8 and XCode 3.1.4) included the gcc and LLVM tool sets. Based on this I'm going to guess that I should use the Linux/PPC code (hotspot/src/os_cpu/linux_ppc/vm) as the starting point for BSD/PPC support and not the AIX code? Searching around on the web I did find references to xlc tools for Mac OS but it doesn't appear to be available and I'm not sure if that would be the best way to go since it wasn't part of the Apple provided tools. Thanks, Tony On Apr 03, 2013, at 03: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 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/bsd-port-dev/attachments/20130506/56bfab7d/attachment-0001.html From annulen at yandex.ru Mon May 6 09:06:13 2013 From: annulen at yandex.ru (Konstantin Tokarev) Date: Mon, 06 May 2013 20:06:13 +0400 Subject: compile error on mac ppc box In-Reply-To: <046db95f-b8d3-4d50-b502-9ecf631511a0@me.com> References: <046db95f-b8d3-4d50-b502-9ecf631511a0@me.com> Message-ID: <1937891367856373@web12g.yandex.ru> 06.05.2013, 19:44, "Tony Piselli" : > Hi Volker, > Using the AIX-Linux-PPC project I've started to add BSD/Mac/PPC support in. I've been able to identify PPC boxes and in particular the 64 bit cpu (ppc970) and have gotten to the point where the build makes it into the hotspot project. Looking at the AIX hotspot code it appears that things are coded for the xlc compiler tool set whereas the Linux/PPC code appears to be coded for the gcc tool set. Do you mean they use different assembler dialects? If so, you should stay with gcc one (i.e., Linux). -- Regards, Konstantin From tpisellijr at mac.com Mon May 6 10:48:35 2013 From: tpisellijr at mac.com (Tony Piselli) Date: Mon, 06 May 2013 17:48:35 +0000 (GMT) Subject: compile error on mac ppc box In-Reply-To: <1937891367856373@web12g.yandex.ru> Message-ID: <1b0ae350-bad2-4ac5-958d-79b1f162e234@me.com> Konstantin, Yes, I'm referring to new directories I created under hotspot/src/os_cpu named bsd_ppc/vm. For both aix_ppc/vm and linux_ppc/vm there are 12 files which have ppc specific implementations/definitions such as atomic_aix_ppc.inline.hpp and atomic_linux_ppc.inline.hpp. I've added atomic_bsd_ppc.inline.hpp to the folders I've created and will base it off of the linux version. Thanks, Tony On May 06, 2013, at 12:06 PM, Konstantin Tokarev wrote: 06.05.2013, 19:44, "Tony Piselli" : > Hi Volker, > Using the AIX-Linux-PPC project I've started to add BSD/Mac/PPC support in. I've been able to identify PPC boxes and in particular the 64 bit cpu (ppc970) and have gotten to the point where the build makes it into the hotspot project. Looking at the AIX hotspot code it appears that things are coded for the xlc compiler tool set whereas the Linux/PPC code appears to be coded for the gcc tool set. Do you mean they use different assembler dialects? If so, you should stay with gcc one (i.e., Linux). -- Regards, Konstantin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20130506/733a977a/attachment.html From kurt at intricatesoftware.com Mon May 6 13:29:25 2013 From: kurt at intricatesoftware.com (kurt at intricatesoftware.com) Date: Mon, 06 May 2013 20:29:25 +0000 Subject: hg: bsd-port/bsd-port/jdk: 2 new changesets Message-ID: <20130506203005.D8E9F4884B@hg.openjdk.java.net> Changeset: 200b3ec72317 Author: kurt Date: 2013-05-06 15:35 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/200b3ec72317 - Correct logic inversion. Originally this was !FontUtilities.isLinuxOrBSD. Adjust logic to match that. ! src/share/classes/sun/awt/FontConfiguration.java Changeset: 0b40083e165d Author: kurt Date: 2013-05-06 15:36 -0400 URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/0b40083e165d - Add missing symbol for getTempDir to mapfile-bsd ! make/com/sun/tools/attach/mapfile-bsd From calderon.christian760 at gmail.com Fri May 24 15:36:30 2013 From: calderon.christian760 at gmail.com (Christian Calderon) Date: Fri, 24 May 2013 15:36:30 -0700 Subject: PPC64 mac port with hotspot Message-ID: Hello! I subscribe to the openjdk PPC64 AIX/Linux mailing list, and a while back I saw someone ask about using parts of their code with bsd port in order to get a mac os x port with hotspot going. Has anything been done with this? I have a powermac G5 quad that is dual booting linux and os x 10.5.8 right now, and it would be really cool if the openjdk bsd port binary for mac os x had the JIT compiler! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20130524/43c0f057/attachment.html From gnu.andrew at redhat.com Thu May 30 13:05:59 2013 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Thu, 30 May 2013 16:05:59 -0400 (EDT) Subject: BSD fontconfig file In-Reply-To: <345093524.1223258.1369944325083.JavaMail.root@redhat.com> Message-ID: <1552526144.1223778.1369944359658.JavaMail.root@redhat.com> An issue was raised in this discussion: http://mail.openjdk.java.net/pipermail/2d-dev/2013-May/003393.html with the presence of a bsd.fontconfig.properties file that appears to be unused in the Makefiles. Is this used or can it be removed? Thanks, -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 From kurt at intricatesoftware.com Fri May 31 19:41:58 2013 From: kurt at intricatesoftware.com (Kurt Miller) Date: Fri, 31 May 2013 22:41:58 -0400 Subject: BSD fontconfig file In-Reply-To: <1552526144.1223778.1369944359658.JavaMail.root@redhat.com> References: <1552526144.1223778.1369944359658.JavaMail.root@redhat.com> Message-ID: <51A95F76.10203@intricatesoftware.com> On 05/30/13 16:05, Andrew Hughes wrote: > An issue was raised in this discussion: > > http://mail.openjdk.java.net/pipermail/2d-dev/2013-May/003393.html > > with the presence of a bsd.fontconfig.properties file that appears > to be unused in the Makefiles. Is this used or can it be removed? Hi Andrew, We do use it in bsd-port see around line 440 in: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/file/0b40083e165d/make/sun/awt/Makefile Thanks, -Kurt