From bryan at varnernet.com Thu Jan 3 07:03:03 2008 From: bryan at varnernet.com (Bryan Varner) Date: Thu, 3 Jan 2008 10:03:03 -0500 Subject: Proposal: Haiku port of OpenJDK In-Reply-To: <985bee770712201543m7937c70fu7dfc1c552252764a@mail.gmail.com> References: <985bee770712201543m7937c70fu7dfc1c552252764a@mail.gmail.com> Message-ID: Porters, Unfortunately, it's been several weeks since I last heard anything in response to the proposal to port OpenJDK to Haiku. This saddens me. I've been unable to contact Dalibor for some time, and understand that this is a busy time of year for many individuals (myself included!) with Holiday events and what not. Since Dalibor has been incommunicado, I thought it best to approach the existing members of the porter-dev group as a whole, and plead for support / representation. We have at least four, if not five developers itching to join the OpenJDK project with the goal of porting to Haiku. This is at _least_ four more potential members to the porters-dev group! I should think growing the community of porters, expanding the knowledge in this group, and marching ever closer to platform ubiquity would be in all the members best interest. As Dalibor put it, > I'd be very happy to see the Haiku porting project inside OpenJDK. If > no one else > stands up, then I'll submit it formally early next week to announce & > discuss list, > and call for a vote to sponsor the proposal within this group. If there is anyone else willing to rise up and submit a proposal to the announce & discuss list? I am willing and available to help in any capacity that I can. Feel free to contact me on or off-list if you'd like me to help. Regards, -Bryan Varner From dalibor.topic at googlemail.com Thu Jan 3 10:49:55 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Thu, 03 Jan 2008 19:49:55 +0100 Subject: Proposal: Haiku port of OpenJDK In-Reply-To: References: <985bee770712201543m7937c70fu7dfc1c552252764a@mail.gmail.com> Message-ID: <477D2E53.90705@gmail.com> Bryan Varner wrote: > Porters, > > Unfortunately, it's been several weeks since I last heard anything in > response to the proposal to port OpenJDK to Haiku. This saddens me. > > I'm sorry about that, it's all my mistake. I thought about sending in the proposal to announce early next week, as a 'holiday gift' for the start of the holiday season, but then I realized that since 3 out of 4 members of the group, working at Sun, are in theory on vacation for two weeks during the holiday season and presumably away from their mail, and the official voting period for a proposal is two weeks ... that could have made things a bit messy. And I don't want the good proposal to fail to reach the necessary votes because of a race condition issue. I screwed up communicating that, though, and then tuned out during the holidays myself, and the rest is history... > I've been unable to contact Dalibor for some time, and understand that this > is a busy time of year for many individuals (myself included!) with Holiday > events and what not. Since Dalibor has been incommunicado, I thought it > best to approach the existing members of the porter-dev group as a whole, > and plead for support / representation. > Indeed, and I was pinged on IRC by aph a couple of hours ago what was going on ... so it definitely worked great to get me to get things done. I've sent a proposal out to announce now, if it doesn't make its way through the moderation queue in the next 24h, I'll try to get hold of someone who can make it happen. As soon as it shows up there, I'll ask the group members (mr, tmarble, robogeek, me) to vote on it. I know that tmarble & robogeek at least are on #openjdk again, so I can poke them until they vote or start to /ignore me ... ;) > We have at least four, if not five developers itching to join the OpenJDK > project with the goal of porting to Haiku. This is at _least_ four more > potential members to the porters-dev group! I should think growing the > community of porters, expanding the knowledge in this group, and marching > ever closer to platform ubiquity would be in all the members best interest. > > Indeed. > As Dalibor put it, > > >> I'd be very happy to see the Haiku porting project inside OpenJDK. If >> no one else >> stands up, then I'll submit it formally early next week to announce & >> discuss list, >> and call for a vote to sponsor the proposal within this group. >> > > If there is anyone else willing to rise up and submit a proposal to the > announce & discuss list? I am willing and available to help in any capacity > that I can. Feel free to contact me on or off-list if you'd like me to > help. > Thank you very much for your patience & reminders to get this done. I'm sorry for the screwup. cheers, dalibor topic From bwooldridge at alterpoint.com Thu Jan 3 17:28:52 2008 From: bwooldridge at alterpoint.com (Brett Wooldridge) Date: Thu, 3 Jan 2008 19:28:52 -0600 Subject: Feasibility of integrating an Aqua interface Message-ID: Emmanuel, I just stumbled across this thread and your solicitation for input: > As I get very close to a toolkit that can work correctly with most features > (I implemented almost all AWT peers classes already), I prefer to go on a > little further before anything public. > > At this time, I plan to put it on my website under GNU GPL license, but I'm > opened to any idea about the best place and the best license. Because many people including myself (the company I work for) builds commercial applications on top of Java I'd love it if you licensed under a less restrictive (more commercial friendly) license like LGPL, BSD or Apache. Just my input, thanks for the work! Brett Wooldridge -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20080103/bcf5d11a/attachment.html From dalibor.topic at googlemail.com Fri Jan 4 07:01:33 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Fri, 04 Jan 2008 16:01:33 +0100 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] Message-ID: <477E4A4D.1060301@kaffe.org> Dear members of the porters group, it is my pleasure to call you to vote in my role as the group's moderator. The issue being voted on is * Should the porters group sponsor the project to port OpenJDK to the Haiku OS? Please vote with yes or no. The voting period is two weeks. cheers, dalibor topic -------------- next part -------------- An embedded message was scrubbed... From: Dalibor Topic Subject: Project Proposal: Haiku port of OpenJDK Date: Thu, 03 Jan 2008 19:31:27 +0100 Size: 3468 Url: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20080104/4f47a326/attachment.eml From Tom.Marble at Sun.COM Fri Jan 4 10:26:00 2008 From: Tom.Marble at Sun.COM (Tom Marble) Date: Fri, 04 Jan 2008 12:26:00 -0600 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] In-Reply-To: <477E4A4D.1060301@kaffe.org> References: <477E4A4D.1060301@kaffe.org> Message-ID: <477E7A38.1060002@sun.com> Dalibor Topic wrote: > * Should the porters group sponsor the project to port OpenJDK > to the Haiku OS? Vote: yes --Tom From dalibor.topic at googlemail.com Fri Jan 4 10:56:12 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Fri, 4 Jan 2008 19:56:12 +0100 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] In-Reply-To: <477E4A4D.1060301@kaffe.org> References: <477E4A4D.1060301@kaffe.org> Message-ID: <985bee770801041056od71a1aew38d7c54d6e492880@mail.gmail.com> On Jan 4, 2008 4:01 PM, Dalibor Topic wrote: > * Should the porters group sponsor the project to port OpenJDK > to the Haiku OS? Vote: yes. cheers, dalibor topic From David.Herron at Sun.COM Fri Jan 4 11:00:38 2008 From: David.Herron at Sun.COM (David Herron) Date: Fri, 04 Jan 2008 11:00:38 -0800 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] In-Reply-To: <477E7A38.1060002@sun.com> References: <477E4A4D.1060301@kaffe.org> <477E7A38.1060002@sun.com> Message-ID: <477E8256.4090009@sun.com> Tom Marble wrote: > Dalibor Topic wrote: > >> * Should the porters group sponsor the project to port OpenJDK >> to the Haiku OS? >> > Vote: yes > > --Tom > And here I thought I'd already voted... so, again: YES! - David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20080104/cd9d30f1/attachment.html From dalibor.topic at googlemail.com Fri Jan 4 11:05:19 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Fri, 4 Jan 2008 20:05:19 +0100 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] In-Reply-To: <477E8256.4090009@sun.com> References: <477E4A4D.1060301@kaffe.org> <477E7A38.1060002@sun.com> <477E8256.4090009@sun.com> Message-ID: <985bee770801041105l3f6e33e6mfa843b28bde6c7b5@mail.gmail.com> On Jan 4, 2008 8:00 PM, David Herron wrote: > > Tom Marble wrote: > > Dalibor Topic wrote: > > > * Should the porters group sponsor the project to port OpenJDK > to the Haiku OS? > > Vote: yes > > --Tom > > > And here I thought I'd already voted... so, again: YES! > > - David Vote early, vote often! :) Thank you for your vote. cheers, dalibor topic From dalibor.topic at googlemail.com Fri Jan 4 11:05:42 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Fri, 4 Jan 2008 20:05:42 +0100 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] In-Reply-To: <477E7A38.1060002@sun.com> References: <477E4A4D.1060301@kaffe.org> <477E7A38.1060002@sun.com> Message-ID: <985bee770801041105u1f7941e3t4624af37086979c4@mail.gmail.com> On Jan 4, 2008 7:26 PM, Tom Marble wrote: > Dalibor Topic wrote: > > * Should the porters group sponsor the project to port OpenJDK > > to the Haiku OS? > Vote: yes > > --Tom > Thank you for your vote. cheers, dalibor topic From msa at allman.ms Fri Jan 11 20:41:57 2008 From: msa at allman.ms (Michael Allman) Date: Fri, 11 Jan 2008 20:41:57 -0800 (PST) Subject: hotspot dtrace support in soylatte Message-ID: <20080111202458.T58857@yvyyl.pfbsg.arg> Hello All, After working on this problem for a few weeks, I was hoping this could be a great big happy announcement that I've ported the Solaris Hotspot dtrace probes to Soylatte on Leopard. However, I have to admit I am stuck and at a loss for how to proceed. If this were a Java problem, I'd have it solved by now. But frankly, at this level of C/C++ I don't know WTF I'm doing, and what I have done is more like a half blind merge of code from os/solaris to os/bsd. So apologies for coming here with little to offer. FWIW, this is the error I get where I'm stuck: Compiling dtrace.d /usr/sbin/dtrace -C -I. -h -o dtrace.o -s dtrace.d \ classLoadingService.o hashtable.o java.o jni.o memoryManager.o objectMonitor_bsd.o runtimeService.o sharedRuntime.o synchronizer.o thread.o vmCMSOperations.o vmGCOperations.o ciEnv.o compileBroker.o nmethod.o ||\ STATUS=$?;\ if [ x"$STATUS" = x"1" -a \ x`uname -r` = x"5.10" -a \ x`uname -p` = x"sparc" ]; then\ echo "*****************************************************************";\ echo "* If you are building server compiler, and the error message is ";\ echo "* \"incorrect ELF machine type...\", you have run into solaris bug ";\ echo "* 6213962, \"dtrace -G doesn't work on sparcv8+ object files\".";\ echo "* Either patch/upgrade your system (>= S10u1_15), or set the ";\ echo "* environment variable HOTSPOT_DISABLE_DTRACE_PROBES to disable ";\ echo "* dtrace probes for this build.";\ echo "*****************************************************************";\ fi;\ exit $STATUS dtrace: failed to compile script dtrace.d: line 963: extraneous argument 'nmethod.o' ($15 is not referenced) I had to hack quite a few things just to get this far. I can probably provide a patch against Landon Fuller's branch at http://hg.bikemonkey.org/javasrc_1_6_jrl_darwin/ to anyone who's seriously interested, but I think that someone with the right skills and motivation could probably reproduce my work --- and more to the point, do it correctly --- on their own in a matter of hours. Perhaps someone with dtrace expertise can explain the problem here. I fear it's a limitation of Leopard's port of DTrace. But anyway, what would be extra super would be someone who knows WTF they're doing taking a look at soylatte and dtrace on Leopard and letting me know if this port has any chance of working. Thanks. Michael From msa at allman.ms Sat Jan 12 18:05:24 2008 From: msa at allman.ms (Michael Allman) Date: Sat, 12 Jan 2008 18:05:24 -0800 (PST) Subject: hotspot dtrace support in soylatte In-Reply-To: <20080111202458.T58857@yvyyl.pfbsg.arg> References: <20080111202458.T58857@yvyyl.pfbsg.arg> Message-ID: <20080112174539.L66569@yvyyl.pfbsg.arg> K. After reading up some more, including some rtfm, I believe the essential problem with porting the solaris hotspot dtrace probes to leopard is that they use a "basic" syntax (using the DTRACE_PROBE() macros) that dtrace on leopard does not support. More more info, see the thread on the missing "-G" option starting here: http://mail.opensolaris.org/pipermail/dtrace-discuss/2007-October/004845.html and continuing here: http://mail.opensolaris.org/pipermail/dtrace-discuss/2007-November/004912.html So it seems that before the hotspot dtrace probes can be ported to leopard, they must be converted to use the newer syntax with "dtrace -h" as described here http://blogs.sun.com/ahl/entry/user_land_tracing_gets_better Does anyone know if this project is underway somewhere else? Cheers, Michael On Fri, 11 Jan 2008, Michael Allman wrote: > Hello All, > > After working on this problem for a few weeks, I was hoping this could be a > great big happy announcement that I've ported the Solaris Hotspot dtrace > probes to Soylatte on Leopard. However, I have to admit I am stuck and at a > loss for how to proceed. If this were a Java problem, I'd have it solved by > now. But frankly, at this level of C/C++ I don't know WTF I'm doing, and > what I have done is more like a half blind merge of code from os/solaris to > os/bsd. So apologies for coming here with little to offer. > > FWIW, this is the error I get where I'm stuck: > > Compiling dtrace.d > /usr/sbin/dtrace -C -I. -h -o dtrace.o -s dtrace.d \ > classLoadingService.o hashtable.o java.o jni.o memoryManager.o > objectMonitor_bsd.o runtimeService.o sharedRuntime.o synchronizer.o thread.o > vmCMSOperations.o vmGCOperations.o ciEnv.o compileBroker.o nmethod.o ||\ > STATUS=$?;\ > if [ x"$STATUS" = x"1" -a \ > x`uname -r` = x"5.10" -a \ > x`uname -p` = x"sparc" ]; then\ > echo > "*****************************************************************";\ > echo "* If you are building server compiler, and the error message is ";\ > echo "* \"incorrect ELF machine type...\", you have run into solaris bug > ";\ > echo "* 6213962, \"dtrace -G doesn't work on sparcv8+ object files\".";\ > echo "* Either patch/upgrade your system (>= S10u1_15), or set the ";\ > echo "* environment variable HOTSPOT_DISABLE_DTRACE_PROBES to disable ";\ > echo "* dtrace probes for this build.";\ > echo > "*****************************************************************";\ > fi;\ > exit $STATUS > dtrace: failed to compile script dtrace.d: line 963: extraneous argument > 'nmethod.o' ($15 is not referenced) > > I had to hack quite a few things just to get this far. I can probably > provide a patch against Landon Fuller's branch at > http://hg.bikemonkey.org/javasrc_1_6_jrl_darwin/ to anyone who's seriously > interested, but I think that someone with the right skills and motivation > could probably reproduce my work --- and more to the point, do it correctly > --- on their own in a matter of hours. > > Perhaps someone with dtrace expertise can explain the problem here. I fear > it's a limitation of Leopard's port of DTrace. But anyway, what would be > extra super would be someone who knows WTF they're doing taking a look at > soylatte and dtrace on Leopard and letting me know if this port has any > chance of working. > > Thanks. > > Michael > From werner.randelshofer at bluewin.ch Mon Jan 14 13:28:54 2008 From: werner.randelshofer at bluewin.ch (Werner Randelshofer) Date: Mon, 14 Jan 2008 22:28:54 +0100 Subject: How to request J2SE API enhancements for an OpenJDK port Message-ID: Dear members of the porters group, I am currently investigating the feasibility of a Swing Aqua Look and Fool for the OpenJDK port for Mac OS X SoyLatte. Starting with Mac OS X 10.5, the Aqua user interface is resolution independent.[1] This feature effectively decouples the user interface from device pixels, allowing to scale the user interface uniformly and contiguously. The coordinate system of components is based on a floating point coordinate system. I guess Mac OS X and Windows Vista define resolution independence in conceptually the same way. But the implementation in Windows XP and in Java AWT is different: it assumes non-uniform and discrete scaling. I would love to have an API in AWT for resolution independence ? la OS X/Vista, so that we can properly implement it in SoyLatte, without having to implement magic tricks behind the back of AWT, like Apple is currently doing with J2SE5 on Mac OS 10.5. Na?vely, I tried to submit a feature request in the Java bug reporter, but it tells me, that I can't request features for platforms which are not supported by Sun. Do others have made experience with requesting J2SE API enhancements for OpenJDK ports? What process do I have to use? (apparently the bug reporter is not the right way to go). -Werner [1] http://developer.apple.com/documentation/UserExperience/Conceptual/HiDPIOverview/ From revol at free.fr Mon Jan 14 13:48:26 2008 From: revol at free.fr (=?windows-1252?q?Fran=E7ois?= Revol) Date: Mon, 14 Jan 2008 22:48:26 +0100 CET Subject: How to request J2SE API enhancements for an OpenJDK port In-Reply-To: Message-ID: <10405498797-BeMail@laptop> > Starting with Mac OS X 10.5, the Aqua user interface is resolution > independent.[1] > This feature effectively decouples the user interface from device > pixels, allowing to scale the user interface uniformly and > contiguously. The coordinate system of components is based on a > floating point coordinate system. Interesting. Though scaling the display is not implemented in Haiku, at least at the user level, its coordinate system allows this as it is also float based, so it'd be interesting to see how this goes... Fran?ois. From dalibor.topic at googlemail.com Tue Jan 15 05:40:33 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Tue, 15 Jan 2008 14:40:33 +0100 Subject: How to request J2SE API enhancements for an OpenJDK port In-Reply-To: References: Message-ID: <985bee770801150540m7e9b2f5dn181a30dce590f0e4@mail.gmail.com> On Jan 14, 2008 10:28 PM, Werner Randelshofer wrote: > Dear members of the porters group, > > I would love to have an API in AWT for resolution independence ? la OS > X/Vista, so that we can properly implement it in SoyLatte, without > having to implement magic tricks behind the back of AWT, like Apple is > currently doing with J2SE5 on Mac OS 10.5. I would suggest starting a discussion on support for resolution independence in AWT on the mailing list of the AWT group, awt-dev. cheers, dalibor topic From werner.randelshofer at bluewin.ch Tue Jan 15 10:07:18 2008 From: werner.randelshofer at bluewin.ch (Werner Randelshofer) Date: Tue, 15 Jan 2008 19:07:18 +0100 Subject: How to request J2SE API enhancements for an OpenJDK port In-Reply-To: <985bee770801150540m7e9b2f5dn181a30dce590f0e4@mail.gmail.com> References: <985bee770801150540m7e9b2f5dn181a30dce590f0e4@mail.gmail.com> Message-ID: Dear Talibor, I have just posted a request on the awt-dev mailing list. Thank you very much for your advice. :) -Werner On 15.01.2008, at 14:40, Dalibor Topic wrote: > I would suggest starting a discussion on support for resolution > independence in AWT > on the mailing list of the AWT group, awt-dev. From mr at sun.com Thu Jan 17 12:24:20 2008 From: mr at sun.com (Mark Reinhold) Date: Thu, 17 Jan 2008 12:24:20 -0800 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] In-Reply-To: dalibor.topic@googlemail.com; Fri, 04 Jan 2008 16:01:33 +0100; <477E4A4D.1060301@kaffe.org> Message-ID: <20080117202420.AB4DC278A4B@eggemoggin.niobe.net> > Date: Fri, 04 Jan 2008 16:01:33 +0100 > From: dalibor.topic at googlemail.com > * Should the porters group sponsor the project to port OpenJDK > to the Haiku OS? Vote: yes - Mark From dalibor.topic at googlemail.com Thu Jan 17 14:27:48 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Thu, 17 Jan 2008 23:27:48 +0100 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] In-Reply-To: <477E4A4D.1060301@kaffe.org> References: <477E4A4D.1060301@kaffe.org> Message-ID: <985bee770801171427k314161d9v35e843052d1797cb@mail.gmail.com> On Jan 4, 2008 4:01 PM, Dalibor Topic wrote: > Dear members of the porters group, > > it is my pleasure to call you to vote in my role as the group's > moderator. The issue being voted on is > > * Should the porters group sponsor the project to port OpenJDK > to the Haiku OS? > > Please vote with yes or no. The voting period is two weeks. The vote has passed. The members of the porters group have cast 4 votes for sponsoring the project, with no votes against it. The porters group therefore has decided to sponsor the project. I'd like to thank all the members of the group for their votes, and everyone for their contributions in the discussion of the proposal, and I'd like to congratulate the Haiku OS OpenJDK porters team, and welcome them into OpenJDK family of projects. cheers, dalibor topic From bryan at varnernet.com Thu Jan 17 15:37:11 2008 From: bryan at varnernet.com (Bryan Varner) Date: Thu, 17 Jan 2008 18:37:11 -0500 Subject: Call for vote [Fwd: Project Proposal: Haiku port of OpenJDK] In-Reply-To: <985bee770801171427k314161d9v35e843052d1797cb@mail.gmail.com> References: <477E4A4D.1060301@kaffe.org> <985bee770801171427k314161d9v35e843052d1797cb@mail.gmail.com> Message-ID: <478FE6A7.4060704@varnernet.com> > I'd like to thank all the members of the group for their votes, and > everyone for their contributions in the discussion of the proposal, and > I'd like to congratulate the Haiku OS OpenJDK porters team, and > welcome them into OpenJDK family of projects. As would I. Thanks for the support, everyone. We'll try to make you proud. ;-) -Bryan From ldutra at atech.br Thu Jan 24 06:19:55 2008 From: ldutra at atech.br (=?UTF-8?Q?Leandro_Guimar=C3=A3es_Faria_Corcete_DUTRA?=) Date: Thu, 24 Jan 2008 12:19:55 -0200 Subject: GNU/Linux SPARC port? Message-ID: Forgive me if this is a stupid person, I already Googled around and searched this mailing list and the build one. I have an user wanting to run her application on a Sun Ultra 25 with SV ? only under GNU/Linux (Debian), not Solaris. Problem is, her application was coded on Java 1.6 and OpenGL; the latest reference I found to Java on GNU/Linux SPARC was Blackdown 1.4.1, and even so I didn?t find a working mirror. Is there any running code, even if ? quality? I have already check the build documentation, it does mention GNU/Linux x86 and AMD64 and Solaris SPARC, x86 and AMD64, but no GNU/Linux SPARC. Alternatively, is the porting effort trivial enough so a medium-skilled C or C++ programmer could do it in a few days? If so, is there a porting guide? Please answer including me, as I am not subscribed to the list. -- Leandro Guimar?es Faria Corcete DUTRA Atech Funda??o Aplica??o de Tecnologias Cr?ticas SP, BR msnim:chat?contact=leandro at dutra.fastmail.fm xmpp:leandro.gfc.dutra at gmail.com +55 (11) 3040 7300 r151 - - - - - Politica de Privacidade: Esta mensagem pode conter informacao confidencial e/ou privilegiada. Se voce nao for o destinatario ou a pessoa autorizada a receber esta mensagem, nao pode usar, copiar ou divulgar as informacoes nela contidas ou tomar qualquer acao baseada nessas informacoes. Se voce recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperacao. Privacy Policy: This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. From dalibor.topic at googlemail.com Thu Jan 24 11:00:20 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Thu, 24 Jan 2008 20:00:20 +0100 Subject: GNU/Linux SPARC port? In-Reply-To: References: Message-ID: <985bee770801241100k224e8149pe3f4de0eddde6bbf@mail.gmail.com> On Jan 24, 2008 3:19 PM, Leandro Guimar?es Faria Corcete DUTRA wrote: > Forgive me if this is a stupid person, I already Googled around and > searched this mailing list and the build one. > There was a thread starting with http://mail.openjdk.java.net/pipermail/hotspot-dev/2007-September/000138.html on hotspot-dev. > I have an user wanting to run her application on a Sun Ultra 25 with SV > ? only under GNU/Linux (Debian), not Solaris. Problem is, her > application was coded on Java 1.6 and OpenGL; the latest reference I > found to Java on GNU/Linux SPARC was Blackdown 1.4.1, and even so I > didn't find a working mirror. I believe Blackdown development has pretty much stopped a while ago, unfortunately. > Is there any running code, even if ? quality? Not within OpenJDK repositories, at least. Gary Benson is working on a portable interpreter for IcedTea/OpenJDK, so you may be able to use that once its finished. > I have already check the > build documentation, it does mention GNU/Linux x86 and AMD64 and Solaris > SPARC, x86 and AMD64, but no GNU/Linux SPARC. Alternatively, is the > porting effort trivial enough so a medium-skilled C or C++ programmer > could do it in a few days? If so, is there a porting guide? Yes, for IcedTea (once you get set up): http://gbenson.livejournal.com/2007/11/16/ For OpenJDK porters, Kelly has put together a shopping list of basics you'll need: http://blogs.sun.com/kto/entry/building_and_porting_the_openjdk I thnk the easiest way to find out how hard it is is to try it, and keep the mailing lists of the components you are struggling with posted. good luck, dalibor topic From gnu_andrew at member.fsf.org Thu Jan 24 12:13:48 2008 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Thu, 24 Jan 2008 20:13:48 +0000 Subject: GNU/Linux SPARC port? In-Reply-To: <985bee770801241100k224e8149pe3f4de0eddde6bbf@mail.gmail.com> References: <985bee770801241100k224e8149pe3f4de0eddde6bbf@mail.gmail.com> Message-ID: <17c6771e0801241213q4cd49a40qdf42678bbe35c816@mail.gmail.com> On 24/01/2008, Dalibor Topic wrote: > On Jan 24, 2008 3:19 PM, Leandro Guimar?es Faria Corcete DUTRA > wrote: > > Forgive me if this is a stupid person, I already Googled around and > > searched this mailing list and the build one. > > > > There was a thread starting with > http://mail.openjdk.java.net/pipermail/hotspot-dev/2007-September/000138.html > on hotspot-dev. > > > I have an user wanting to run her application on a Sun Ultra 25 with SV > > ? only under GNU/Linux (Debian), not Solaris. Problem is, her > > application was coded on Java 1.6 and OpenGL; the latest reference I > > found to Java on GNU/Linux SPARC was Blackdown 1.4.1, and even so I > > didn't find a working mirror. > > I believe Blackdown development has pretty much stopped a while ago, > unfortunately. > > > Is there any running code, even if ? quality? > > Not within OpenJDK repositories, at least. Gary Benson is working on a > portable interpreter > for IcedTea/OpenJDK, so you may be able to use that once its finished. > > > I have already check the > > build documentation, it does mention GNU/Linux x86 and AMD64 and Solaris > > SPARC, x86 and AMD64, but no GNU/Linux SPARC. Alternatively, is the > > porting effort trivial enough so a medium-skilled C or C++ programmer > > could do it in a few days? If so, is there a porting guide? > > Yes, for IcedTea (once you get set up): > http://gbenson.livejournal.com/2007/11/16/ > > For OpenJDK porters, Kelly has put together a shopping list of basics > you'll need: http://blogs.sun.com/kto/entry/building_and_porting_the_openjdk > > I thnk the easiest way to find out how hard it is is to try it, and > keep the mailing lists > of the components you are struggling with posted. > > good luck, > dalibor topic > Dalibor, I'm quite surprised you didn't at least mention Kaffe, surely this has a port to GNU/Linux + SPARC ;) FWIW, as was said before, this seems like one of the easiest ports as the two bits are there -- SPARC support for Solaris and GNU/Linux support for x86 and x86_64, unlike PPC where the CPU side has had to be implemented from scratch. -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net From dalibor.topic at googlemail.com Thu Jan 24 12:24:46 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Thu, 24 Jan 2008 21:24:46 +0100 Subject: GNU/Linux SPARC port? In-Reply-To: <17c6771e0801241213q4cd49a40qdf42678bbe35c816@mail.gmail.com> References: <985bee770801241100k224e8149pe3f4de0eddde6bbf@mail.gmail.com> <17c6771e0801241213q4cd49a40qdf42678bbe35c816@mail.gmail.com> Message-ID: <985bee770801241224l3e9af12wde8e2473e588850f@mail.gmail.com> On Jan 24, 2008 9:13 PM, Andrew John Hughes wrote: > > Dalibor, I'm quite surprised you didn't at least mention Kaffe, surely > this has a port to GNU/Linux + SPARC ;) It does, but if the application was written for Java 1.6 specicially, chance are pretty good it won't run as GNU Classpath's coverage of 1.6 APIs is pretty spotty. cheers, dalibor topic From gnu_andrew at member.fsf.org Thu Jan 24 13:49:22 2008 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Thu, 24 Jan 2008 21:49:22 +0000 Subject: GNU/Linux SPARC port? In-Reply-To: <985bee770801241224l3e9af12wde8e2473e588850f@mail.gmail.com> References: <985bee770801241100k224e8149pe3f4de0eddde6bbf@mail.gmail.com> <17c6771e0801241213q4cd49a40qdf42678bbe35c816@mail.gmail.com> <985bee770801241224l3e9af12wde8e2473e588850f@mail.gmail.com> Message-ID: <17c6771e0801241349r7546afa9n1ce47a099c8a1fa3@mail.gmail.com> On 24/01/2008, Dalibor Topic wrote: > On Jan 24, 2008 9:13 PM, Andrew John Hughes wrote: > > > > Dalibor, I'm quite surprised you didn't at least mention Kaffe, surely > > this has a port to GNU/Linux + SPARC ;) > > It does, but if the application was written for Java 1.6 specicially, chance > are pretty good it won't run as GNU Classpath's coverage of 1.6 > APIs is pretty spotty. > > cheers, > dalibor topic > Yeah I suppose I'm still just too keen to always push Classpath... ;) Would be interesting to know how it fares though and it's a possible solution now I suppose :) -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net From gbenson at redhat.com Fri Jan 25 02:10:13 2008 From: gbenson at redhat.com (Gary Benson) Date: Fri, 25 Jan 2008 10:10:13 +0000 Subject: GNU/Linux SPARC port? In-Reply-To: <985bee770801241100k224e8149pe3f4de0eddde6bbf@mail.gmail.com> References: <985bee770801241100k224e8149pe3f4de0eddde6bbf@mail.gmail.com> Message-ID: <20080125101013.GB3943@redhat.com> Dalibor Topic wrote: > On Jan 24, 2008 3:19 PM, Leandro Guimar?es Faria Corcete DUTRA > wrote: > > I have already check the build documentation, it does mention > > GNU/Linux x86 and AMD64 and Solaris SPARC, x86 and AMD64, but no > > GNU/Linux SPARC. Alternatively, is the porting effort trivial > > enough so a medium-skilled C or C++ programmer could do it in a > > few days? If so, is there a porting guide? > > Yes, for IcedTea (once you get set up): > http://gbenson.livejournal.com/2007/11/16/ Maybe not a few days, but linux sparc should be the easiest port possible since both the os-specific code (in hotspot/src/os/linux) and the cpu-specific code (in hotspot/src/cpu/sparc) already exist, so all you need to create is the hotspot/src/os_cpu/linux_sparc. If I were doing it I'd use the templater mentioned in the guide Dalibor linked to create just that directory and then start filling in the blanks... Cheers, Gary From dalibor.topic at googlemail.com Fri Jan 25 12:37:02 2008 From: dalibor.topic at googlemail.com (Dalibor Topic) Date: Fri, 25 Jan 2008 21:37:02 +0100 Subject: updated web page to reference haiku os openjdk porting project Message-ID: <985bee770801251237i59b93dd5mf080fbd2456e7d55@mail.gmail.com> Hi, I'm sorry for the delay on this, but I've finally updated the web page to reflect the new porting project. If there is other content you'd like to see referenced from that page, I'd be happy to update it further. cheers, dalibor topic