From aph at redhat.com Sun Nov 3 09:59:10 2013 From: aph at redhat.com (Andrew Haley) Date: Sun, 03 Nov 2013 17:59:10 +0000 Subject: enable Shark support in JAVA In-Reply-To: References: Message-ID: <52768EEE.8080804@redhat.com> On 10/31/2013 03:10 PM, sonia verma wrote: > adding zero-dev in loop. > > > On Thu, Oct 31, 2013 at 8:38 PM, sonia verma wrote: > >> Hi ALL, >> >> I have integrated Java in one of the board having Powerpc architecture >> using meta-java. By default it cam with Zero port support which only works >> in interpreter mode. >> >> I need to enable Shark support in that. Can any one please help me with >> the procedure to compile JAVA with Shark support. Well, what help do you need? You're going to have to find LLVM for PowerPC and start doing some integration work. Andrew. From aph at redhat.com Thu Nov 7 00:42:12 2013 From: aph at redhat.com (Andrew Haley) Date: Thu, 07 Nov 2013 08:42:12 +0000 Subject: Delay in starting Java based Opendaylight controller In-Reply-To: References: Message-ID: <527B5264.1030701@redhat.com> On 10/31/2013 12:40 PM, sonia verma wrote: > I have ported Opendaylight controller in one board having powerpc > architeture e500 kernel 3.8 supporting java: > java version "1.7.0_25" > OpenJDK Runtime Environment (IcedTea 2.3.12) (25b30-2.3.12) > OpenJDK Zero VM (build 23.7-b01, interpreted mode) > > When I run ./run.sh in order to start Opendaylight.it takes approximately > about 10 min for the controller to start properly so as to establish > connection with the OVS. > However when i run it on x-86,it is fine and is able to connect with the > OVS within no time.The java -version at x-86 is as follows.. > > java -version > java version "1.7.0_25" > OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2) > OpenJDK Server VM (build 23.7-b01, mixed mode) > > I noticed that the java mode at x-86 is mixed mode whereas at that of my > board is interpreted mode. > Can this be the reason for delay in starting?if yes suggest me how to > migrate from inerpreted mode to mixed mode . > Or there is some another reason associated with that. Zero is bound to be much slower than x86 because there is no JIT compiler. Having said that, ten minutes is an extraordinarily long time. Is the process CPU-bound for that ten minutes? Andrew. From soniaverma9727 at gmail.com Thu Nov 7 00:52:44 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Thu, 7 Nov 2013 14:22:44 +0530 Subject: Delay in starting Java based Opendaylight controller In-Reply-To: <527B5264.1030701@redhat.com> References: <527B5264.1030701@redhat.com> Message-ID: Hi Andrew, Yes the system is CPU-bound. Also can you suggest me the JIT cross compiler for linux powerpc so as to fasten up the process. Is there any other way speeding up the process i.e without using any JIT compiler? Thanks On Thu, Nov 7, 2013 at 2:12 PM, Andrew Haley wrote: > On 10/31/2013 12:40 PM, sonia verma wrote: > > > I have ported Opendaylight controller in one board having powerpc > > architeture e500 kernel 3.8 supporting java: > > java version "1.7.0_25" > > OpenJDK Runtime Environment (IcedTea 2.3.12) (25b30-2.3.12) > > OpenJDK Zero VM (build 23.7-b01, interpreted mode) > > > > When I run ./run.sh in order to start Opendaylight.it takes approximately > > about 10 min for the controller to start properly so as to establish > > connection with the OVS. > > However when i run it on x-86,it is fine and is able to connect with the > > OVS within no time.The java -version at x-86 is as follows.. > > > > java -version > > java version "1.7.0_25" > > OpenJDK Runtime Environment (IcedTea 2.3.10) > (7u25-2.3.10-1ubuntu0.12.04.2) > > OpenJDK Server VM (build 23.7-b01, mixed mode) > > > > I noticed that the java mode at x-86 is mixed mode whereas at that of my > > board is interpreted mode. > > Can this be the reason for delay in starting?if yes suggest me how to > > migrate from inerpreted mode to mixed mode . > > Or there is some another reason associated with that. > > Zero is bound to be much slower than x86 because there is no JIT compiler. > Having said that, ten minutes is an extraordinarily long time. Is the > process CPU-bound for that ten minutes? > > Andrew. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131107/2ed1983b/attachment.html From aph at redhat.com Thu Nov 7 01:09:54 2013 From: aph at redhat.com (Andrew Haley) Date: Thu, 07 Nov 2013 09:09:54 +0000 Subject: Delay in starting Java based Opendaylight controller In-Reply-To: References: <527B5264.1030701@redhat.com> Message-ID: <527B58E2.9090303@redhat.com> On 11/07/2013 08:52 AM, sonia verma wrote: > Yes the system is CPU-bound. > Also can you suggest me the JIT cross compiler for linux powerpc so as to > fasten up the process. I'm forwarding this post to the ppc-aix-port-dev at openjdk.java.net list. > Is there any other way speeding up the process i.e without using any JIT > compiler? No. Andrew. From soniaverma9727 at gmail.com Thu Nov 7 01:58:29 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Thu, 7 Nov 2013 15:28:29 +0530 Subject: Delay in starting Java based Opendaylight controller In-Reply-To: <527B58E2.9090303@redhat.com> References: <527B5264.1030701@redhat.com> <527B58E2.9090303@redhat.com> Message-ID: Hi Andrew, I am also getting following errors after running ./run.sh g.osgi.framework.BundleException: The bundle "org.opendaylight.controller.samples.sample-toaster-consumer_1.0.0.SNAPSHOT [22]" could not be re" at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) 2013-11-07 18:06:31.593 UTC [org.opendaylight.controller.logging.bridge.internal.LogListenerImpl at 2848ae] ERROR o.o.c.logging.bridge.OSGI2SLF4J -" !ENTRY org.opendaylight.controller.sal-rest-connector 4 0 2013-11-07 18:06:31.624 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: The bundle "org.opendaylight.controller.sal-rest-connector_1.0.0.SNAPSHOT [26]" could not be resolved. Reaso" at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) 2013-11-07 18:06:31.627 UTC [org.opendaylight.controller.loggi Can you guide me regarding this. On Thu, Nov 7, 2013 at 2:39 PM, Andrew Haley wrote: > On 11/07/2013 08:52 AM, sonia verma wrote: > > > Yes the system is CPU-bound. > > Also can you suggest me the JIT cross compiler for linux powerpc so as to > > fasten up the process. > > I'm forwarding this post to the ppc-aix-port-dev at openjdk.java.net list. > > > Is there any other way speeding up the process i.e without using any JIT > > compiler? > > No. > > Andrew. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131107/23c9205d/attachment.html From volker.simonis at gmail.com Thu Nov 7 02:07:57 2013 From: volker.simonis at gmail.com (Volker Simonis) Date: Thu, 7 Nov 2013 11:07:57 +0100 Subject: Delay in starting Java based Opendaylight controller In-Reply-To: <527B58E2.9090303@redhat.com> References: <527B5264.1030701@redhat.com> <527B58E2.9090303@redhat.com> Message-ID: It seems like e500 is 'only' a 32-bit Power CPU. The PowerPC-AIX port is currently 64-bit only. There has been various people interested in doing a 32-bit based on our 64-bit port, but as far as I know nobody has started it until now. Regards, Volker On Thu, Nov 7, 2013 at 10:09 AM, Andrew Haley wrote: > On 11/07/2013 08:52 AM, sonia verma wrote: > >> Yes the system is CPU-bound. >> Also can you suggest me the JIT cross compiler for linux powerpc so as to >> fasten up the process. > > I'm forwarding this post to the ppc-aix-port-dev at openjdk.java.net list. > >> Is there any other way speeding up the process i.e without using any JIT >> compiler? > > No. > > Andrew. > > From soniaverma9727 at gmail.com Thu Nov 7 22:43:15 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Fri, 8 Nov 2013 12:13:15 +0530 Subject: enable Shark support in JAVA In-Reply-To: <52768EEE.8080804@redhat.com> References: <52768EEE.8080804@redhat.com> Message-ID: Hi Andrew I am not able find LLVM compiler for PowerPc.Due to this I'm not able to integrate JAVA in compiler mode on PowerPc board. Can you suggest any alternative for that. On Sun, Nov 3, 2013 at 11:29 PM, Andrew Haley wrote: > On 10/31/2013 03:10 PM, sonia verma wrote: > > adding zero-dev in loop. > > > > > > On Thu, Oct 31, 2013 at 8:38 PM, sonia verma >wrote: > > > >> Hi ALL, > >> > >> I have integrated Java in one of the board having Powerpc architecture > >> using meta-java. By default it cam with Zero port support which only > works > >> in interpreter mode. > >> > >> I need to enable Shark support in that. Can any one please help me with > >> the procedure to compile JAVA with Shark support. > > Well, what help do you need? You're going to have to find LLVM > for PowerPC and start doing some integration work. > > Andrew. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131108/12c89960/attachment.html From xerxes at zafena.se Fri Nov 8 00:34:55 2013 From: xerxes at zafena.se (=?ISO-8859-1?Q?Xerxes_R=E5nby?=) Date: Fri, 08 Nov 2013 09:34:55 +0100 Subject: enable Shark support in JAVA + list of alternative JVM for use in combination with OpenJDK on PowerPC In-Reply-To: References: <52768EEE.8080804@redhat.com> Message-ID: <527CA22F.8060102@zafena.se> Hi Sonia 2013-11-08 07:43, sonia verma wrote: > I am not able find LLVM compiler for PowerPc.Due to this I'm not able to integrate JAVA in compiler mode on PowerPc board. If you still want to test Shark you need to first build and test LLVM on powerpc. http://llvm.org/ It is wise to build and test LLVM manually on a PowerPC gnu/linux system before you spend time to update meta-java and oe to cross compile it. By running the llvm testsuite you will know if the jit work or not on powerpc. After you have made llvm pass its tests then try build openjdk + shark manually on a powerpc system. The last known build of shark was made about a year ago buy Roman Kenkke http://rkennke.wordpress.com/2012/11/28/the-return-of-the-shark-part-ii-howto/ Roman only tested shark on x86 thus it is expected that you will find things that needs to get fixed before the port work on powerpc again. The last known test builds of shark for powerpc was made around 2010 and both openjdk, llvm and the shark jvm code have changed since then. > Can you suggest any alternative for that. There is a PowerPC Hotspot JVM available for use with OpenJDK maintained by the ppc-aix-port (it also work on linux!), it includes a mixed-mode VM (with the C++ Interpreter and the C2 "Server" JIT compiler). http://openjdk.java.net/projects/ppc-aix-port/ https://wiki.openjdk.java.net/pages/viewpage.action?pageId=13041681 I recommend you to update meta-java to build this port for use on PowerPC. This is the most actively maintained OpenJDK PowerPC port. You may also want to take a look at using the JamVM, CACAO JVM or Avian on PowerPC. These JVM's are maintained outside the OpenJDK community, they are created to enable Java to run on various embedded and mobile platforms and are all designed to work in combination with the OpenJDK runtime classes. You can compile JamVM, Cacao or Avian into a libjvm.so that can replace the Zero libjvm.so to be used by your current OpenJDK build. They all give a magnitude better performance compared to using Zero. JamVM source & build instructions: http://git.berlios.de/cgi-bin/cgit.cgi/jamvm/ http://draenog.blogspot.se/2011/02/openjdkjamvm-git-repository.html JamVM is easy to compile and test. I have tested JamVM a lot and I find it stable for use by many different use-cases. JamVM is carefully designed to correctly execute non-trivial java code that make heavy use of reflection. JamVM also implements the new invoke dynamic bytecode JSR292 used by OpenJDK 7 & 8 and later. JamVM implements state of the art interpreter optimization techniques written in portable c, if you study JamVM source-code you will notice how the various interpreter optimizations all combine to implement a code copying JIT. CACAO JVM source & build instructions: http://www.cacaojvm.org/ CACAO implements a compile-only JIT. CACAO is a research JVM maintained by the university of Vienna. http://c1.complang.tuwien.ac.at/cacaowiki/ResearchTopics http://c1.complang.tuwien.ac.at/cacaowiki/StateOfArchitectures - CACAO will require work into JMM barriers before this JVM can be used reliably on multi-core PowerPC systems. Avian source & build instructions: http://oss.readytalk.com/avian/ http://oss.readytalk.com/avian/examples.html Avian fills a special niche where you can bundle the JVM with your application and only include a subset of the OpenJDK runtime classes needed create a standalone executable under 1mb of size. Cheers Xerxes > On Sun, Nov 3, 2013 at 11:29 PM, Andrew Haley > wrote: > > On 10/31/2013 03:10 PM, sonia verma wrote: > > adding zero-dev in loop. > > > > > > On Thu, Oct 31, 2013 at 8:38 PM, sonia verma >wrote: > > > >> Hi ALL, > >> > >> I have integrated Java in one of the board having Powerpc architecture > >> using meta-java. By default it cam with Zero port support which only works > >> in interpreter mode. > >> > >> I need to enable Shark support in that. Can any one please help me with > >> the procedure to compile JAVA with Shark support. > > Well, what help do you need? You're going to have to find LLVM > for PowerPC and start doing some integration work. > > Andrew. From soniaverma9727 at gmail.com Mon Nov 11 05:52:50 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Mon, 11 Nov 2013 19:22:50 +0530 Subject: Java with JIT Message-ID: Hi all, I'm trying run java with JIT compiler on my PowerPc board. I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2from the link -- http://cr.openjdk.java.net/~simonis/ppc-aix-port/. I have extracted the above tar file and ported on my board. However when I try to run my file associated with JAVA,the board displays that java is not executable. Therefore is there any way to Cross compile the above file for my board so as to install java on my board in JIT mode? Thanks in adance. Regards. Sonia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131111/8becd50b/attachment.html From volker.simonis at gmail.com Mon Nov 11 06:00:23 2013 From: volker.simonis at gmail.com (Volker Simonis) Date: Mon, 11 Nov 2013 15:00:23 +0100 Subject: Java with JIT In-Reply-To: References: Message-ID: You can not run a 64-bit executable on a 32-bit system. On Mon, Nov 11, 2013 at 2:52 PM, sonia verma wrote: > Hi all, > > > I'm trying run java with JIT compiler on my PowerPc board. > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 from the > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. > > I have extracted the above tar file and ported on my board. > > However when I try to run my file associated with JAVA,the board displays > that java is not executable. > Therefore is there any way to Cross compile the above file for my board so > as to install java on my board in JIT mode? > > > Thanks in adance. > > > > Regards. > Sonia > > > From soniaverma9727 at gmail.com Mon Nov 11 06:08:53 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Mon, 11 Nov 2013 19:38:53 +0530 Subject: Java with JIT In-Reply-To: References: Message-ID: Hi Volker The board 64 bit. On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis wrote: > You can not run a 64-bit executable on a 32-bit system. > > On Mon, Nov 11, 2013 at 2:52 PM, sonia verma > wrote: > > Hi all, > > > > > > I'm trying run java with JIT compiler on my PowerPc board. > > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 from the > > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. > > > > I have extracted the above tar file and ported on my board. > > > > However when I try to run my file associated with JAVA,the board displays > > that java is not executable. > > Therefore is there any way to Cross compile the above file for my board > so > > as to install java on my board in JIT mode? > > > > > > Thanks in adance. > > > > > > > > Regards. > > Sonia > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131111/dd3730b2/attachment.html From soniaverma9727 at gmail.com Mon Nov 11 06:10:06 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Mon, 11 Nov 2013 19:40:06 +0530 Subject: Java with JIT In-Reply-To: References: Message-ID: Hi Volker.. Sorry for the typo error.The board is 64 bit. Thanks On Mon, Nov 11, 2013 at 7:38 PM, sonia verma wrote: > Hi Volker > > The board 64 bit. > > > On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis wrote: > >> You can not run a 64-bit executable on a 32-bit system. >> >> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma >> wrote: >> > Hi all, >> > >> > >> > I'm trying run java with JIT compiler on my PowerPc board. >> > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 from >> the >> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. >> > >> > I have extracted the above tar file and ported on my board. >> > >> > However when I try to run my file associated with JAVA,the board >> displays >> > that java is not executable. >> > Therefore is there any way to Cross compile the above file for my board >> so >> > as to install java on my board in JIT mode? >> > >> > >> > Thanks in adance. >> > >> > >> > >> > Regards. >> > Sonia >> > >> > >> > >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131111/4e44604a/attachment.html From volker.simonis at gmail.com Mon Nov 11 06:18:13 2013 From: volker.simonis at gmail.com (Volker Simonis) Date: Mon, 11 Nov 2013 15:18:13 +0100 Subject: Java with JIT In-Reply-To: References: Message-ID: I'm not a Power expert, but in one of your last mails you wrote that you are using a "PowerPC e500" board and according to Wiki (http://en.wikipedia.org/wiki/PowerPC_e500) this is a "32-bit Power Architecture-based microprocessor core from Freescale Semiconductor". What does 'uname -m' print on on your system? On a 64-bit Linux-system it should be 'ppc64' . Volker On Mon, Nov 11, 2013 at 3:10 PM, sonia verma wrote: > > Hi Volker.. > > Sorry for the typo error.The board is 64 bit. > > > Thanks > > > On Mon, Nov 11, 2013 at 7:38 PM, sonia verma > wrote: >> >> Hi Volker >> >> The board 64 bit. >> >> >> On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis >> wrote: >>> >>> You can not run a 64-bit executable on a 32-bit system. >>> >>> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma >>> wrote: >>> > Hi all, >>> > >>> > >>> > I'm trying run java with JIT compiler on my PowerPc board. >>> > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 from >>> > the >>> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. >>> > >>> > I have extracted the above tar file and ported on my board. >>> > >>> > However when I try to run my file associated with JAVA,the board >>> > displays >>> > that java is not executable. >>> > Therefore is there any way to Cross compile the above file for my board >>> > so >>> > as to install java on my board in JIT mode? >>> > >>> > >>> > Thanks in adance. >>> > >>> > >>> > >>> > Regards. >>> > Sonia >>> > >>> > >>> > >> >> > From soniaverma9727 at gmail.com Mon Nov 11 06:21:48 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Mon, 11 Nov 2013 19:51:48 +0530 Subject: Java with JIT In-Reply-To: References: Message-ID: Thanks for your concern Volker. The board I'm using is 64 bit. uname -m ppc64 Can you help in Java compilation with JIT on it? On Mon, Nov 11, 2013 at 7:48 PM, Volker Simonis wrote: > I'm not a Power expert, but in one of your last mails you wrote that > you are using a "PowerPC e500" board and according to Wiki > (http://en.wikipedia.org/wiki/PowerPC_e500) this is a "32-bit Power > Architecture-based microprocessor core from Freescale Semiconductor". > > What does 'uname -m' print on on your system? On a 64-bit Linux-system > it should be 'ppc64' . > > Volker > > > On Mon, Nov 11, 2013 at 3:10 PM, sonia verma > wrote: > > > > Hi Volker.. > > > > Sorry for the typo error.The board is 64 bit. > > > > > > Thanks > > > > > > On Mon, Nov 11, 2013 at 7:38 PM, sonia verma > > wrote: > >> > >> Hi Volker > >> > >> The board 64 bit. > >> > >> > >> On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis < > volker.simonis at gmail.com> > >> wrote: > >>> > >>> You can not run a 64-bit executable on a 32-bit system. > >>> > >>> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma > > >>> wrote: > >>> > Hi all, > >>> > > >>> > > >>> > I'm trying run java with JIT compiler on my PowerPc board. > >>> > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 from > >>> > the > >>> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. > >>> > > >>> > I have extracted the above tar file and ported on my board. > >>> > > >>> > However when I try to run my file associated with JAVA,the board > >>> > displays > >>> > that java is not executable. > >>> > Therefore is there any way to Cross compile the above file for my > board > >>> > so > >>> > as to install java on my board in JIT mode? > >>> > > >>> > > >>> > Thanks in adance. > >>> > > >>> > > >>> > > >>> > Regards. > >>> > Sonia > >>> > > >>> > > >>> > > >> > >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131111/e452b6ac/attachment.html From volker.simonis at gmail.com Mon Nov 11 06:54:52 2013 From: volker.simonis at gmail.com (Volker Simonis) Date: Mon, 11 Nov 2013 15:54:52 +0100 Subject: Java with JIT In-Reply-To: References: Message-ID: If you have extracted openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 locally on your board, what message or error is ./openjdk1.7.0-ppc-aix-port-b03/bin/java -version printing? On my Linux system it displays: openjdk version "1.7.0-internal" OpenJDK Runtime Environment (build 1.7.0-internal-jvmtests_2012_12_15_21_58-b00) OpenJDK 64-Bit Server VM (build 23.2-b04, mixed mode) If I do 'file ./openjdk1.7.0-ppc-aix-port-b03/bin/java' I get: $ file ./openjdk1.7.0-ppc-aix-port-b03/bin/java ./openjdk1.7.0-ppc-aix-port-b03/bin/java: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped What output do you see if you run the 'file' utility on a 64-bit executable of you Linux distribution? And just out of interest, what does 'uname -a' and 'getconf LONG_BIT' print? If you can not run the Java-binary you downloaded you may have to compile it yourself. You can find the instructions at: http://hg.openjdk.java.net/ppc-aix-port/jdk7u/raw-file/tip/README-ppc.html Regards, Volker On Mon, Nov 11, 2013 at 3:21 PM, sonia verma wrote: > Thanks for your concern Volker. > > The board I'm using is 64 bit. > uname -m > ppc64 > > Can you help in Java compilation with JIT on it? > > > > > > > > > > > On Mon, Nov 11, 2013 at 7:48 PM, Volker Simonis > wrote: >> >> I'm not a Power expert, but in one of your last mails you wrote that >> you are using a "PowerPC e500" board and according to Wiki >> (http://en.wikipedia.org/wiki/PowerPC_e500) this is a "32-bit Power >> Architecture-based microprocessor core from Freescale Semiconductor". >> >> What does 'uname -m' print on on your system? On a 64-bit Linux-system >> it should be 'ppc64' . >> >> Volker >> >> >> On Mon, Nov 11, 2013 at 3:10 PM, sonia verma >> wrote: >> > >> > Hi Volker.. >> > >> > Sorry for the typo error.The board is 64 bit. >> > >> > >> > Thanks >> > >> > >> > On Mon, Nov 11, 2013 at 7:38 PM, sonia verma >> > wrote: >> >> >> >> Hi Volker >> >> >> >> The board 64 bit. >> >> >> >> >> >> On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis >> >> >> >> wrote: >> >>> >> >>> You can not run a 64-bit executable on a 32-bit system. >> >>> >> >>> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma >> >>> >> >>> wrote: >> >>> > Hi all, >> >>> > >> >>> > >> >>> > I'm trying run java with JIT compiler on my PowerPc board. >> >>> > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 >> >>> > from >> >>> > the >> >>> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. >> >>> > >> >>> > I have extracted the above tar file and ported on my board. >> >>> > >> >>> > However when I try to run my file associated with JAVA,the board >> >>> > displays >> >>> > that java is not executable. >> >>> > Therefore is there any way to Cross compile the above file for my >> >>> > board >> >>> > so >> >>> > as to install java on my board in JIT mode? >> >>> > >> >>> > >> >>> > Thanks in adance. >> >>> > >> >>> > >> >>> > >> >>> > Regards. >> >>> > Sonia >> >>> > >> >>> > >> >>> > >> >> >> >> >> > > > From soniaverma9727 at gmail.com Mon Nov 11 07:08:43 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Mon, 11 Nov 2013 20:38:43 +0530 Subject: Java with JIT In-Reply-To: References: Message-ID: Hi Volker.. When I extracted openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 > locally on my board,message is as follows > > ./openjdk1.7.0-ppc-aix-port-b03/bin/java -version > -sh: /openjdk1.7.0-ppc-aix-port-b03/bin/java: cannot execute binary file > > When I do 'file ./openjdk1.7.0-ppc-aix-port-b03/bin/java' I get: > file /openjdk1.7.0-ppc-aix-port-b03/bin/java /openjdk1.7.0-ppc-aix-port-b03/bin/java: 64-bit XCOFF executable or object module > > What I run the 'file' utility on a 64-bit > executable,message is as follows.... > > /openjdk1.7.0-ppc-aix-port-b03/bin# file java java: 64-bit XCOFF executable or object module > And regarding the below link, > http://hg.openjdk.java.net/ppc-aix-port/jdk7u/raw-file/tip/README-ppc.html > > I went through it but was not able to find clearly the commands associated with it. Can you elaborate regarding this. ding to Wiki >> (http://en.wikipedia.org/wiki/PowerPC_e500) this is a "32-bit Power >> Architecture-based microprocessor core from Freescale Semiconductor". >> >> What does 'uname -m' print on on your system? On a 64-bit Linux-system >> it should be 'ppc64' . >> >> Volker >> >> >> On Mon, Nov 11, 2013 at 3:10 PM, sonia verma >> wrote: >> > >> > Hi Volker.. >> > >> > Sorry for the typo error.The board is 64 bit. >> > >> > >> > Thanks >> > >> > >> > On Mon, Nov 11, 2013 at 7:38 PM, sonia verma >> > wrote: >> >> >> >> Hi Volker >> >> >> >> The board 64 bit. >> >> >> >> >> >> On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis >> >> >> >> wrote: >> >>> >> >>> You can not run a 64-bit executable on a 32-bit system. >> >>> >> >>> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma >> >>> >> >>> wrote: >> >>> > Hi all, >> >>> > >> >>> > >> >>> > I'm trying run java with JIT compiler on my PowerPc board. >> >>> > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 >> >>> > from >> >>> > the >> >>> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. >> >>> > >> >>> > I have extracted the above tar file and ported on my board. >> >>> > >> >>> > However when I try to run my file associated with JAVA,the board >> >>> > displays >> >>> > that java is not executable. >> >>> > Therefore is there any way to Cross compile the above file for my >> >>> > board >> >>> > so >> >>> > as to install java on my board in JIT mode? >> >>> > >> >>> > >> >>> > Thanks in adance. >> >>> > >> >>> > >> >>> > >> >>> > Regards. >> >>> > Sonia >> >>> > >> >>> > >> >>> > >> >> >> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131111/59118b58/attachment.html From soniaverma9727 at gmail.com Mon Nov 11 07:22:11 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Mon, 11 Nov 2013 20:52:11 +0530 Subject: Java with JIT In-Reply-To: References: Message-ID: Hi khem, Can you suggest me the ways of recompiling from the source. I'm unable to find that. On Mon, Nov 11, 2013 at 8:47 PM, Khem Raj wrote: > > > On Monday, November 11, 2013, sonia verma wrote: > >> Hi Volker.. >> >> >> When I extracted openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 >> >>> locally on my board,message is as follows >>> >>> ./openjdk1.7.0-ppc-aix-port-b03/bin/java -version >>> >> -sh: /openjdk1.7.0-ppc-aix-port-b03/bin/java: cannot execute binary file >>> >>> When I do 'file ./openjdk1.7.0-ppc-aix-port-b03/bin/java' I get: >>> >> >> file /openjdk1.7.0-ppc-aix-port-b03/bin/java >> /openjdk1.7.0-ppc-aix-port-b03/bin/java: 64-bit XCOFF executable or >> object module >> >> >> > > It's a binary for AIX operating system and you are trying to run it on > Linux it won't work as it is. You should recompile from source the whole > JDK for Linux in order for it to work > >> >>> What I run the 'file' utility on a 64-bit >>> executable,message is as follows.... >>> >>> /openjdk1.7.0-ppc-aix-port-b03/bin# file java >> java: 64-bit XCOFF executable or object module >> >> >>> And regarding the below link, >>> >>> http://hg.openjdk.java.net/ppc-aix-port/jdk7u/raw-file/tip/README-ppc.html >>> >>> >> I went through it but was not able to find clearly the commands >> associated with it. >> Can you elaborate regarding this. >> >> >> >> >> >> >> >> >> >> ding to Wiki >> >> (http://en.wikipedia.org/wiki/PowerPC_e500) this is a "32-bit Power >> >> Architecture-based microprocessor core from Freescale Semiconductor". >> >> >> >> What does 'uname -m' print on on your system? On a 64-bit Linux-system >> >> it should be 'ppc64' . >> >> >> >> Volker >> >> >> >> >> >> On Mon, Nov 11, 2013 at 3:10 PM, sonia verma > > >> >> wrote: >> >> > >> >> > Hi Volker.. >> >> > >> >> > Sorry for the typo error.The board is 64 bit. >> >> > >> >> > >> >> > Thanks >> >> > >> >> > >> >> > On Mon, Nov 11, 2013 at 7:38 PM, sonia verma < >> soniaverma9727 at gmail.com> >> >> > wrote: >> >> >> >> >> >> Hi Volker >> >> >> >> >> >> The board 64 bit. >> >> >> >> >> >> >> >> >> On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis >> >> >> >> >> >> wrote: >> >> >>> >> >> >>> You can not run a 64-bit executable on a 32-bit system. >> >> >>> >> >> >>> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma >> >> >>> >> >> >>> wrote: >> >> >>> > Hi all, >> >> >>> > >> >> >>> > >> >> >>> > I'm trying run java with JIT compiler on my PowerPc board. >> >> >>> > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 >> >> >>> > from >> >> >>> > the >> >> >>> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. >> >> >>> > >> >> >>> > I have extracted the above tar file and ported on my board. >> >> >>> > >> >> >>> > However when I try to run my file associated with JAVA,the board >> >> >>> > displays >> >> >>> > that java is not executable. >> >> >>> > Therefore is there any way to Cross compile the above file for my >> >> >>> > board >> >> >>> > so >> >> >>> > as to install java on my board in JIT mode? >> >> >>> > >> >> >>> > >> >> >>> > Thanks in adance. >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > Regards. >> >> >>> > Sonia >> >> >>> > >> >> >>> > >> >> >>> > >> >> >> >> >> >> >> >> > >> > >> > >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131111/f7e57428/attachment.html From volker.simonis at gmail.com Mon Nov 11 07:23:17 2013 From: volker.simonis at gmail.com (Volker Simonis) Date: Mon, 11 Nov 2013 16:23:17 +0100 Subject: Java with JIT In-Reply-To: References: Message-ID: Thank you Khem - you're right. Sonja, you downloaded the wrong version. Of course you need the Linux and not the AIX version. It's available from: http://openjdkpower.osuosl.org/OpenJDK/download/bootstrap/openjdk1.7.0-ppc-aix-port-linux-ppc64-b03.tar.bz2 Regards, Volker On Mon, Nov 11, 2013 at 4:17 PM, Khem Raj wrote: > > > On Monday, November 11, 2013, sonia verma wrote: >> >> Hi Volker.. >> >> >> When I extracted openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 >>> >>> locally on my board,message is as follows >>> >>> ./openjdk1.7.0-ppc-aix-port-b03/bin/java -version >>> >>> -sh: /openjdk1.7.0-ppc-aix-port-b03/bin/java: cannot execute binary file >>> >>> When I do 'file ./openjdk1.7.0-ppc-aix-port-b03/bin/java' I get: >> >> >> file /openjdk1.7.0-ppc-aix-port-b03/bin/java >> /openjdk1.7.0-ppc-aix-port-b03/bin/java: 64-bit XCOFF executable or object >> module >> >> > > > It's a binary for AIX operating system and you are trying to run it on Linux > it won't work as it is. You should recompile from source the whole JDK for > Linux in order for it to work >>> >>> >>> What I run the 'file' utility on a 64-bit >>> executable,message is as follows.... >>> >> /openjdk1.7.0-ppc-aix-port-b03/bin# file java >> java: 64-bit XCOFF executable or object module >> >>> >>> And regarding the below link, >>> >>> http://hg.openjdk.java.net/ppc-aix-port/jdk7u/raw-file/tip/README-ppc.html >>> >> >> I went through it but was not able to find clearly the commands associated >> with it. >> Can you elaborate regarding this. >> >> >> >> >> >> >> >> >> >> ding to Wiki >> >> (http://en.wikipedia.org/wiki/PowerPC_e500) this is a "32-bit Power >> >> Architecture-based microprocessor core from Freescale Semiconductor". >> >> >> >> What does 'uname -m' print on on your system? On a 64-bit Linux-system >> >> it should be 'ppc64' . >> >> >> >> Volker >> >> >> >> >> >> On Mon, Nov 11, 2013 at 3:10 PM, sonia verma >> >> wrote: >> >> > >> >> > Hi Volker.. >> >> > >> >> > Sorry for the typo error.The board is 64 bit. >> >> > >> >> > >> >> > Thanks >> >> > >> >> > >> >> > On Mon, Nov 11, 2013 at 7:38 PM, sonia verma >> >> > >> >> > wrote: >> >> >> >> >> >> Hi Volker >> >> >> >> >> >> The board 64 bit. >> >> >> >> >> >> >> >> >> On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis >> >> >> >> >> >> wrote: >> >> >>> >> >> >>> You can not run a 64-bit executable on a 32-bit system. >> >> >>> >> >> >>> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma >> >> >>> >> >> >>> wrote: >> >> >>> > Hi all, >> >> >>> > >> >> >>> > >> >> >>> > I'm trying run java with JIT compiler on my PowerPc board. >> >> >>> > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 >> >> >>> > from >> >> >>> > the >> >> >>> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. >> >> >>> > >> >> >>> > I have extracted the above tar file and ported on my board. >> >> >>> > >> >> >>> > However when I try to run my file associated with JAVA,the board >> >> >>> > displays >> >> >>> > that java is not executable. >> >> >>> > Therefore is there any way to Cross compile the above file for my >> >> >>> > board >> >> >>> > so >> >> >>> > as to install java on my board in JIT mode? >> >> >>> > >> >> >>> > >> >> >>> > Thanks in adance. >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > Regards. >> >> >>> > Sonia >> >> >>> > >> >> >>> > >> >> >>> > >> >> >> >> >> >> >> >> > >> > >> > >> > From soniaverma9727 at gmail.com Mon Nov 11 07:24:45 2013 From: soniaverma9727 at gmail.com (sonia verma) Date: Mon, 11 Nov 2013 20:54:45 +0530 Subject: Java with JIT In-Reply-To: References: Message-ID: Hi Volker, Thanks for your reply. You mean the above link would work? On Mon, Nov 11, 2013 at 8:53 PM, Volker Simonis wrote: > Thank you Khem - you're right. > > Sonja, you downloaded the wrong version. Of course you need the Linux > and not the AIX version. It's available from: > > > http://openjdkpower.osuosl.org/OpenJDK/download/bootstrap/openjdk1.7.0-ppc-aix-port-linux-ppc64-b03.tar.bz2 > > Regards, > Volker > > > On Mon, Nov 11, 2013 at 4:17 PM, Khem Raj wrote: > > > > > > On Monday, November 11, 2013, sonia verma wrote: > >> > >> Hi Volker.. > >> > >> > >> When I extracted openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 > >>> > >>> locally on my board,message is as follows > >>> > >>> ./openjdk1.7.0-ppc-aix-port-b03/bin/java -version > >>> > >>> -sh: /openjdk1.7.0-ppc-aix-port-b03/bin/java: cannot execute binary > file > >>> > >>> When I do 'file ./openjdk1.7.0-ppc-aix-port-b03/bin/java' I get: > >> > >> > >> file /openjdk1.7.0-ppc-aix-port-b03/bin/java > >> /openjdk1.7.0-ppc-aix-port-b03/bin/java: 64-bit XCOFF executable or > object > >> module > >> > >> > > > > > > It's a binary for AIX operating system and you are trying to run it on > Linux > > it won't work as it is. You should recompile from source the whole JDK > for > > Linux in order for it to work > >>> > >>> > >>> What I run the 'file' utility on a 64-bit > >>> executable,message is as follows.... > >>> > >> /openjdk1.7.0-ppc-aix-port-b03/bin# file java > >> java: 64-bit XCOFF executable or object module > >> > >>> > >>> And regarding the below link, > >>> > >>> > http://hg.openjdk.java.net/ppc-aix-port/jdk7u/raw-file/tip/README-ppc.html > >>> > >> > >> I went through it but was not able to find clearly the commands > associated > >> with it. > >> Can you elaborate regarding this. > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> ding to Wiki > >> >> (http://en.wikipedia.org/wiki/PowerPC_e500) this is a "32-bit Power > >> >> Architecture-based microprocessor core from Freescale Semiconductor". > >> >> > >> >> What does 'uname -m' print on on your system? On a 64-bit > Linux-system > >> >> it should be 'ppc64' . > >> >> > >> >> Volker > >> >> > >> >> > >> >> On Mon, Nov 11, 2013 at 3:10 PM, sonia verma < > soniaverma9727 at gmail.com> > >> >> wrote: > >> >> > > >> >> > Hi Volker.. > >> >> > > >> >> > Sorry for the typo error.The board is 64 bit. > >> >> > > >> >> > > >> >> > Thanks > >> >> > > >> >> > > >> >> > On Mon, Nov 11, 2013 at 7:38 PM, sonia verma > >> >> > > >> >> > wrote: > >> >> >> > >> >> >> Hi Volker > >> >> >> > >> >> >> The board 64 bit. > >> >> >> > >> >> >> > >> >> >> On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis > >> >> >> > >> >> >> wrote: > >> >> >>> > >> >> >>> You can not run a 64-bit executable on a 32-bit system. > >> >> >>> > >> >> >>> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma > >> >> >>> > >> >> >>> wrote: > >> >> >>> > Hi all, > >> >> >>> > > >> >> >>> > > >> >> >>> > I'm trying run java with JIT compiler on my PowerPc board. > >> >> >>> > I am downloading > openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 > >> >> >>> > from > >> >> >>> > the > >> >> >>> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. > >> >> >>> > > >> >> >>> > I have extracted the above tar file and ported on my board. > >> >> >>> > > >> >> >>> > However when I try to run my file associated with JAVA,the > board > >> >> >>> > displays > >> >> >>> > that java is not executable. > >> >> >>> > Therefore is there any way to Cross compile the above file for > my > >> >> >>> > board > >> >> >>> > so > >> >> >>> > as to install java on my board in JIT mode? > >> >> >>> > > >> >> >>> > > >> >> >>> > Thanks in adance. > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > Regards. > >> >> >>> > Sonia > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >> > >> >> >> > >> >> > > >> > > >> > > >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131111/228192ac/attachment-0001.html From volker.simonis at gmail.com Mon Nov 11 07:28:39 2013 From: volker.simonis at gmail.com (Volker Simonis) Date: Mon, 11 Nov 2013 16:28:39 +0100 Subject: Java with JIT In-Reply-To: References: Message-ID: It's right at the top of http://hg.openjdk.java.net/ppc-aix-port/jdk7u/raw-file/tip/README-ppc.html Just read "1.1 Building with the OpenJDK Linux/PPC64 port as bootstrap JDK" - it gives you a command line you can use. If you've never compiled a software package from source on Linux this is not the appropriate list to ask for how to do that. Regards, Volker On Mon, Nov 11, 2013 at 4:22 PM, sonia verma wrote: > Hi khem, > > Can you suggest me the ways of recompiling from the source. > I'm unable to find that. > > > > On Mon, Nov 11, 2013 at 8:47 PM, Khem Raj wrote: >> >> >> >> On Monday, November 11, 2013, sonia verma wrote: >>> >>> Hi Volker.. >>> >>> >>> When I extracted openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 >>>> >>>> locally on my board,message is as follows >>>> >>>> ./openjdk1.7.0-ppc-aix-port-b03/bin/java -version >>>> >>>> -sh: /openjdk1.7.0-ppc-aix-port-b03/bin/java: cannot execute binary file >>>> >>>> When I do 'file ./openjdk1.7.0-ppc-aix-port-b03/bin/java' I get: >>> >>> >>> file /openjdk1.7.0-ppc-aix-port-b03/bin/java >>> /openjdk1.7.0-ppc-aix-port-b03/bin/java: 64-bit XCOFF executable or >>> object module >>> >>> >> >> >> It's a binary for AIX operating system and you are trying to run it on >> Linux it won't work as it is. You should recompile from source the whole JDK >> for Linux in order for it to work >>>> >>>> >>>> What I run the 'file' utility on a 64-bit >>>> executable,message is as follows.... >>>> >>> /openjdk1.7.0-ppc-aix-port-b03/bin# file java >>> java: 64-bit XCOFF executable or object module >>> >>>> >>>> And regarding the below link, >>>> >>>> http://hg.openjdk.java.net/ppc-aix-port/jdk7u/raw-file/tip/README-ppc.html >>>> >>> >>> I went through it but was not able to find clearly the commands >>> associated with it. >>> Can you elaborate regarding this. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ding to Wiki >>> >> (http://en.wikipedia.org/wiki/PowerPC_e500) this is a "32-bit Power >>> >> Architecture-based microprocessor core from Freescale Semiconductor". >>> >> >>> >> What does 'uname -m' print on on your system? On a 64-bit Linux-system >>> >> it should be 'ppc64' . >>> >> >>> >> Volker >>> >> >>> >> >>> >> On Mon, Nov 11, 2013 at 3:10 PM, sonia verma >>> >> >>> >> wrote: >>> >> > >>> >> > Hi Volker.. >>> >> > >>> >> > Sorry for the typo error.The board is 64 bit. >>> >> > >>> >> > >>> >> > Thanks >>> >> > >>> >> > >>> >> > On Mon, Nov 11, 2013 at 7:38 PM, sonia verma >>> >> > >>> >> > wrote: >>> >> >> >>> >> >> Hi Volker >>> >> >> >>> >> >> The board 64 bit. >>> >> >> >>> >> >> >>> >> >> On Mon, Nov 11, 2013 at 7:30 PM, Volker Simonis >>> >> >> >>> >> >> wrote: >>> >> >>> >>> >> >>> You can not run a 64-bit executable on a 32-bit system. >>> >> >>> >>> >> >>> On Mon, Nov 11, 2013 at 2:52 PM, sonia verma >>> >> >>> >>> >> >>> wrote: >>> >> >>> > Hi all, >>> >> >>> > >>> >> >>> > >>> >> >>> > I'm trying run java with JIT compiler on my PowerPc board. >>> >> >>> > I am downloading openjdk1.7.0-ppc-aix-port-aix-ppc64-b03.tar.bz2 >>> >> >>> > from >>> >> >>> > the >>> >> >>> > link --http://cr.openjdk.java.net/~simonis/ppc-aix-port/. >>> >> >>> > >>> >> >>> > I have extracted the above tar file and ported on my board. >>> >> >>> > >>> >> >>> > However when I try to run my file associated with JAVA,the board >>> >> >>> > displays >>> >> >>> > that java is not executable. >>> >> >>> > Therefore is there any way to Cross compile the above file for >>> >> >>> > my >>> >> >>> > board >>> >> >>> > so >>> >> >>> > as to install java on my board in JIT mode? >>> >> >>> > >>> >> >>> > >>> >> >>> > Thanks in adance. >>> >> >>> > >>> >> >>> > >>> >> >>> > >>> >> >>> > Regards. >>> >> >>> > Sonia >>> >> >>> > >>> >> >>> > >>> >> >>> > >>> >> >> >>> >> >> >>> >> > >>> > >>> > >>> > From k0da at opensuse.org Thu Nov 21 01:07:15 2013 From: k0da at opensuse.org (Dinar Valeev) Date: Thu, 21 Nov 2013 10:07:15 +0100 Subject: Help needed with ppc64 zero Message-ID: Hi, I'm looking a way to figure out why I have following errors in openSUSE for junit for example: [ 1932s] Exception in thread "process reaper" java.lang.StackOverflowError [ 1932s] at java.util.concurrent.SynchronousQueue$TransferStack.snode(SynchronousQueue.java:316) [ 1932s] at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:358) [ 1932s] at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942) [ 1932s] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068) [ 1932s] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [ 1932s] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [ 1932s] at java.lang.Thread.run(Thread.java:744) Some times this leads to build failure, some times it is not for other java package. Thanks in advance, Dinar From gbenson at redhat.com Thu Nov 21 02:26:16 2013 From: gbenson at redhat.com (Gary Benson) Date: Thu, 21 Nov 2013 10:26:16 +0000 Subject: Help needed with ppc64 zero In-Reply-To: References: Message-ID: <20131121102616.GA15152@blade.nx> Dinar Valeev wrote: > Hi, I'm looking a way to figure out why I have following errors in > openSUSE for junit for example: > > [ 1932s] Exception in thread "process reaper" java.lang.StackOverflowError > [ 1932s] at java.util.concurrent.SynchronousQueue$TransferStack.snode(SynchronousQueue.java:316) > [ 1932s] at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:358) > [ 1932s] at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942) > [ 1932s] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068) > [ 1932s] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) > [ 1932s] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > [ 1932s] at java.lang.Thread.run(Thread.java:744) > > Some times this leads to build failure, some times it is not for other > java package. I ran into something similar a long time ago: http://gbenson.net/?p=60 Sadly I don't remember what my solution was. Possibly I made the stack 16 times bigger :) Cheers, Gary -- http://gbenson.net/ From k0da at opensuse.org Thu Nov 21 02:35:25 2013 From: k0da at opensuse.org (Dinar Valeev) Date: Thu, 21 Nov 2013 11:35:25 +0100 Subject: Help needed with ppc64 zero In-Reply-To: <20131121102616.GA15152@blade.nx> References: <20131121102616.GA15152@blade.nx> Message-ID: The error started to happen with update to 2.4.0, so it worked before. For ppc64 we set VMThreadStackSize to 1664 On Thu, Nov 21, 2013 at 11:26 AM, Gary Benson wrote: > Dinar Valeev wrote: >> Hi, I'm looking a way to figure out why I have following errors in >> openSUSE for junit for example: >> >> [ 1932s] Exception in thread "process reaper" java.lang.StackOverflowError >> [ 1932s] at java.util.concurrent.SynchronousQueue$TransferStack.snode(SynchronousQueue.java:316) >> [ 1932s] at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:358) >> [ 1932s] at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942) >> [ 1932s] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068) >> [ 1932s] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) >> [ 1932s] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> [ 1932s] at java.lang.Thread.run(Thread.java:744) >> >> Some times this leads to build failure, some times it is not for other >> java package. > > I ran into something similar a long time ago: > > http://gbenson.net/?p=60 > > Sadly I don't remember what my solution was. > Possibly I made the stack 16 times bigger :) > > Cheers, > Gary > > -- > http://gbenson.net/ From ChrisPhi at LGonQn.Org Thu Nov 21 02:59:07 2013 From: ChrisPhi at LGonQn.Org (Chris Phillips @ T O) Date: Thu, 21 Nov 2013 05:59:07 -0500 Subject: Help needed with ppc64 zero In-Reply-To: References: <20131121102616.GA15152@blade.nx> Message-ID: <528DE77B.2030108@LGonQn.Org> Hi On 21/11/13 05:35 AM, Dinar Valeev wrote: > The error started to happen with update to 2.4.0, so it worked before. > > For ppc64 we set VMThreadStackSize to 1664 > > On Thu, Nov 21, 2013 at 11:26 AM, Gary Benson wrote: >> Dinar Valeev wrote: >>> Hi, I'm looking a way to figure out why I have following errors in >>> openSUSE for junit for example: >>> >>> [ 1932s] Exception in thread "process reaper" java.lang.StackOverflowError >>> [ 1932s] at java.util.concurrent.SynchronousQueue$TransferStack.snode(SynchronousQueue.java:316) >>> [ 1932s] at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:358) >>> [ 1932s] at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942) >>> [ 1932s] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068) >>> [ 1932s] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) >>> [ 1932s] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> [ 1932s] at java.lang.Thread.run(Thread.java:744) >>> >>> Some times this leads to build failure, some times it is not for other >>> java package. >> I ran into something similar a long time ago: >> >> http://gbenson.net/?p=60 >> >> Sadly I don't remember what my solution was. >> Possibly I made the stack 16 times bigger :) >> >> Cheers, >> Gary >> >> -- >> http://gbenson.net/ > This is due to the following fix: > changeset: 4531:851f1e0cef3c > parent: 4523:dffc616548d2 > user: vladidan > date: Tue Apr 30 17:36:01 2013 -0400 > files: src/os/linux/vm/os_linux.cpp > src/os/linux/vm/os_linux.hpp > description: > 8013398: Adjust number of stack guard pages on systems with > large memory page size > Summary: Auto adjust number of stack guard pages on systems with > large memory page size > Reviewed-by: bobv, coleenp Attached is a work-around patch for ppc64 that removes the above fix for zero. I am testing a patch that allows it to work without removing the above, but its not ready yet. Chris -------------- next part -------------- diff -r 0505a797849f src/os/linux/vm/os_linux.cpp --- a/src/os/linux/vm/os_linux.cpp Wed Oct 23 05:23:32 2013 +0100 +++ b/src/os/linux/vm/os_linux.cpp Thu Oct 24 14:21:47 2013 +0000 @@ -4538,6 +4538,7 @@ initial_time_count = os::elapsed_counter(); pthread_mutex_init(&dl_mutex, NULL); +NOT_ZERO ( // If the pagesize of the VM is greater than 8K determine the appropriate // number of initial guard pages. The user can change this with the // command line arguments, if needed. @@ -4546,6 +4547,7 @@ StackRedPages = 1; StackShadowPages = round_to((StackShadowPages*Linux::vm_default_page_size()), vm_page_size()) / vm_page_size(); } +) } // To install functions for atexit system call @@ -4598,9 +4600,16 @@ // size. Add a page for compiler2 recursion in main thread. // Add in 2*BytesPerWord times page size to account for VM stack during // class initialization depending on 32 or 64 bit VM. +NOT_ZERO ( os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed, (size_t)(StackYellowPages+StackRedPages+StackShadowPages) * Linux::page_size() + (2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::vm_default_page_size()); +) +ZERO_ONLY ( + os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed, + (size_t)(StackYellowPages+StackRedPages+StackShadowPages+ + 2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::page_size()); +) size_t threadStackSizeInBytes = ThreadStackSize * K; if (threadStackSizeInBytes != 0 && From volker.simonis at gmail.com Thu Nov 21 03:29:56 2013 From: volker.simonis at gmail.com (Volker Simonis) Date: Thu, 21 Nov 2013 12:29:56 +0100 Subject: Help needed with ppc64 zero In-Reply-To: References: Message-ID: You could also try our native Linux/PPC64 port:) http://openjdk.java.net/projects/ppc-aix-port https://wiki.openjdk.java.net/display/PPCAIXPort http://hg.openjdk.java.net/ppc-aix-port/jdk7u http://hg.openjdk.java.net/ppc-aix-port/jdk8 Regards, Volker On Thu, Nov 21, 2013 at 10:07 AM, Dinar Valeev wrote: > Hi, I'm looking a way to figure out why I have following errors in > openSUSE for junit for example: > > [ 1932s] Exception in thread "process reaper" java.lang.StackOverflowError > [ 1932s] at > java.util.concurrent.SynchronousQueue$TransferStack.snode(SynchronousQueue.java:316) > [ 1932s] at > java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:358) > [ 1932s] at > java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942) > [ 1932s] at > java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068) > [ 1932s] at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) > [ 1932s] at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > [ 1932s] at java.lang.Thread.run(Thread.java:744) > > Some times this leads to build failure, some times it is not for other > java package. > > Thanks in advance, > Dinar > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20131121/18151b7c/attachment.html