From doko at ubuntu.com Tue Jan 3 04:28:20 2012 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 03 Jan 2012 13:28:20 +0100 Subject: RFC: Shark LLVM 3.0svn support In-Reply-To: <4E5DE932.7050908@zafena.se> References: <4E5DE932.7050908@zafena.se> Message-ID: <4F02F464.7020206@ubuntu.com> On 08/31/2011 09:56 AM, Xerxes R?nby wrote: > Hi all Zero/Shark hackers! > > The attached patches updates Shark to handle the latest LLVM API changes in the > LLVM 3.0svn codebase. I had to apply the attached patch to fix a build error with -Werror (enabled by default). LLVM_CFLAGS now sets __STDC_FORMAT_MACROS. Then the build continues until cd linux_amd64_shark/product && ./test_gamma java full version "1.6.0_24-b24" java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b24~pre3-0ubuntu1) OpenJDK 64-Bit Shark VM (build 20.0-b12, mixed mode) 1. A1 B5 C8 D6 E3 F7 G2 H4 [...] 40. A4 B7 C1 D8 E5 F2 G6 H3 41. A4 B7 C3 D8 E2 F5 G1 LLVM ERROR: Program used external function 'llvm.atomic.cmp.swap.i64.p0i64' which could not be resolved! Using java runtime at: /home/packages/openjdk/b24/openjdk-6-6b24~pre3/build/zerovm/bootstrap/jdk1.6.0/jre make[7]: *** [productshark] Error 1 make[7]: Leaving directory `/home/packages/openjdk/b24/openjdk-6-6b24~pre3/build/zerovm/openjdk.build/hotspot/outputdir' make[6]: *** [generic_buildshark] Error 2 doko: http://llvm.org/viewvc/llvm-project?view=rev&revision=141333 the support got removed in october doko: ...and argh.. chris lattner then flushed the auto upgrade logic in late november... 4 days before the release :P http://llvm.org/viewvc/llvm-project?view=rev&revision=145176 ok good news are that there exist some new llvm ir instructions that we can use instead of these removed intrinsics -------------- next part -------------- A non-text attachment was scrubbed... Name: llvm-3.0-buildfix.patch Type: text/x-diff Size: 223 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20120103/a739de82/llvm-3.0-buildfix.patch From doko at ubuntu.com Tue Jan 3 06:45:46 2012 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 03 Jan 2012 15:45:46 +0100 Subject: RFC: Shark LLVM 3.0svn support In-Reply-To: <4F02F464.7020206@ubuntu.com> References: <4E5DE932.7050908@zafena.se> <4F02F464.7020206@ubuntu.com> Message-ID: <4F03149A.3000109@ubuntu.com> On 01/03/2012 01:28 PM, Matthias Klose wrote: > doko: http://llvm.org/viewvc/llvm-project?view=rev&revision=141333 the > support got removed in october > doko: ...and argh.. chris lattner then flushed the auto upgrade logic > in late november... 4 days before the release :P > http://llvm.org/viewvc/llvm-project?view=rev&revision=145176 > ok good news are that there exist some new llvm ir instructions that we > can use instead of these removed intrinsics the ARM port doesn't use these, so don't use them for >= 3.0 either. not optimal, but with this shark builds using llvm-3.0. Matthias -------------- next part -------------- A non-text attachment was scrubbed... Name: shark-removed-intrinsics.patch Type: text/x-diff Size: 1531 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20120103/b2e844f4/shark-removed-intrinsics.patch From rajeswarikonda at gmail.com Thu Jan 19 21:36:30 2012 From: rajeswarikonda at gmail.com (Rajeswari Konda) Date: Fri, 20 Jan 2012 11:06:30 +0530 Subject: Need information - Zero for MIPS Architecture (Big endian) Message-ID: Hi, We are working on NSN project, we need the OpenJDK for MIPS Architecture (big endian). As part of that we have considered the Zero as one option to sstart with. But i am curious to know the fact that does any one used Zero on MIPS H/W in past? If, so is it working for big endian mode ? I am naive to the OpenJDK, could some one point me to the link which gives full details of Zero. Where can i download all required build environment softwares ? Appreciate the help. Rajeswari. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20120120/b429151f/attachment.html From doko at ubuntu.com Fri Jan 20 05:15:28 2012 From: doko at ubuntu.com (Matthias Klose) Date: Fri, 20 Jan 2012 14:15:28 +0100 Subject: Need information - Zero for MIPS Architecture (Big endian) In-Reply-To: References: Message-ID: <4F1968F0.6060805@ubuntu.com> On 20.01.2012 06:36, Rajeswari Konda wrote: > Hi, > > We are working on NSN project, we need the OpenJDK for MIPS Architecture > (big endian). > As part of that we have considered the Zero as one option to sstart with. > > But i am curious to know the fact that does any one used Zero on MIPS H/W > in past? > If, so is it working for big endian mode ? > > I am naive to the OpenJDK, could some one point me to the link which gives > full details of Zero. > Where can i download all required build environment softwares ? > > Appreciate the help. IcedTea is built on mips and mipsel on Debian for some years now. it seems to build, and most packages do build with OpenJDK6. Packages are available for OpenJDK7 as well. Best thing would be to download IcedTea, look for build requirements in the docs, or run the configury checking for build requirements. Matthias From ChrisPhi at LGonQn.Org Fri Jan 27 12:19:52 2012 From: ChrisPhi at LGonQn.Org (Chris Phillips) Date: Fri, 27 Jan 2012 15:19:52 -0500 Subject: FYI: Mail Drain plunging? Message-ID: <4F2306E8.40309@LGonQn.Org> FYI: Just received a slew of old emails from oct-dec 2011 (5?) all have headers showing they were delivered today: >Received: from openjdk-mail.foundry.sun.com (mail.openjdk.java.net [192.9.170.174]) by sca-git1.sun.com (8.13.8+Sun/8.13.8) with ESMTP id q0RJTxoD024329; Fri, 27 Jan 2012 11:29:59 -0800 (PST) X But they are old... Cheers! Chris From dalibor.topic at oracle.com Fri Jan 27 18:08:19 2012 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Fri, 27 Jan 2012 18:08:19 -0800 Subject: FYI: Mail Drain plunging? In-Reply-To: <4F2306E8.40309@LGonQn.Org> References: <4F2306E8.40309@LGonQn.Org> Message-ID: <4F235893.1000801@oracle.com> The moderation queue is officially unstuck ;) cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Gesch?ftsf?hrer: J?rgen Kunz Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: Alexander van der Ven, Astrid Kepper, Val Maher Green Oracle Oracle is committed to developing practices and products that help protect the environment From henri.gomez at gmail.com Sat Jan 28 02:00:40 2012 From: henri.gomez at gmail.com (Henri Gomez) Date: Sat, 28 Jan 2012 11:00:40 +0100 Subject: Build shark against llvm 3.0 on mac os x In-Reply-To: References: Message-ID: 2011/12/5 Edward Wang : > Hi, > > I tried to build shark against 3.0 on mac os x. I started with > repository http://hg.openjdk.java.net/jdk7u/jdk7u-osx/, applied shark > llvm 3.0 patch mentioned here: http://labb.zafena.se/?p=459 and did > bunch of other adjustments. I made some progress before hit the wall. > It began to complain something like "RicochetFrame is not a member of > MethodHandles". Not like other cpus' methodHandles implementation, > hotspot/src/cpu/zero/vm/methodHandles_zero.hpp is just a placeholder, > which says: > ? ?#define TARGET_ARCH_NYI_6939861 1 > > So, my question is does anyone try to build shark on os x before? Any > suggestions? > > And in ZeroSharkFaq wiki, there's a line says "Zero is currently > Linux- and GCC-specific". I begin to doubt whether my effort of > building shark on os x will be any good to openjdk community :) You should continue, OSX users with PPC have no other choice :( Did you automate/script build process so I could take a look ? From edward.yu.wang at gmail.com Sat Jan 28 18:49:08 2012 From: edward.yu.wang at gmail.com (Edward Wang) Date: Sun, 29 Jan 2012 10:49:08 +0800 Subject: Build shark against llvm 3.0 on mac os x In-Reply-To: References: Message-ID: Henri, I'm glad you are interested in the same topic. I made a gist for you, with necessary script and instruments in it: https://gist.github.com/1696874 Hope it helps. Regards, Edward On Sat, Jan 28, 2012 at 6:00 PM, Henri Gomez wrote: > 2011/12/5 Edward Wang : >> Hi, >> >> I tried to build shark against 3.0 on mac os x. I started with >> repository http://hg.openjdk.java.net/jdk7u/jdk7u-osx/, applied shark >> llvm 3.0 patch mentioned here: http://labb.zafena.se/?p=459 and did >> bunch of other adjustments. I made some progress before hit the wall. >> It began to complain something like "RicochetFrame is not a member of >> MethodHandles". Not like other cpus' methodHandles implementation, >> hotspot/src/cpu/zero/vm/methodHandles_zero.hpp is just a placeholder, >> which says: >> ? ?#define TARGET_ARCH_NYI_6939861 1 >> >> So, my question is does anyone try to build shark on os x before? Any >> suggestions? >> >> And in ZeroSharkFaq wiki, there's a line says "Zero is currently >> Linux- and GCC-specific". I begin to doubt whether my effort of >> building shark on os x will be any good to openjdk community :) > > You should continue, OSX users with PPC have no other choice :( > Did you automate/script build process so I could take a look ? From henri.gomez at gmail.com Mon Jan 30 00:28:17 2012 From: henri.gomez at gmail.com (Henri Gomez) Date: Mon, 30 Jan 2012 09:28:17 +0100 Subject: Build shark against llvm 3.0 on mac os x In-Reply-To: References: Message-ID: Well, if we could make it works, it could be candidate to be included in http://code.google.com/p/openjdk-osx-build/ builds and packages :) 2012/1/29 Edward Wang : > Henri, > > I'm glad you are interested in the same topic. I made a gist for you, > with necessary script and instruments in it: > ? ?https://gist.github.com/1696874 > > Hope it helps. > > Regards, > Edward > > On Sat, Jan 28, 2012 at 6:00 PM, Henri Gomez wrote: >> 2011/12/5 Edward Wang : >>> Hi, >>> >>> I tried to build shark against 3.0 on mac os x. I started with >>> repository http://hg.openjdk.java.net/jdk7u/jdk7u-osx/, applied shark >>> llvm 3.0 patch mentioned here: http://labb.zafena.se/?p=459 and did >>> bunch of other adjustments. I made some progress before hit the wall. >>> It began to complain something like "RicochetFrame is not a member of >>> MethodHandles". Not like other cpus' methodHandles implementation, >>> hotspot/src/cpu/zero/vm/methodHandles_zero.hpp is just a placeholder, >>> which says: >>> ? ?#define TARGET_ARCH_NYI_6939861 1 >>> >>> So, my question is does anyone try to build shark on os x before? Any >>> suggestions? >>> >>> And in ZeroSharkFaq wiki, there's a line says "Zero is currently >>> Linux- and GCC-specific". I begin to doubt whether my effort of >>> building shark on os x will be any good to openjdk community :) >> >> You should continue, OSX users with PPC have no other choice :( >> Did you automate/script build process so I could take a look ?