Re: OpenJDK on Solaris Dev Express 1/2008?

2008-06-03 Thread Christian Thalinger
On Mon, 2008-06-02 at 08:43 -0700, Kelly O'Hair wrote: > If SXDE contains Sun Studio 12 (SS12), you may have some problems with > compiling > hotspot. I've integrated some hotspot changes to deal with SS12 issues > http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/a49545cab84a > (hasn't been int

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew Haley
David Herron wrote: > Sam K. Raju wrote: >> Hi All, >> >> I had download the OpenJDK source code yesterday and tried to build >> it but I got compiler error. >> >> Somebody please help me to resolve this error. Please find error >> message in the attachment. >> >> Thanks, >> SAM >>

Re: OpenJDK on Solaris Dev Express 1/2008?

2008-06-03 Thread Kelly O'Hair
I'm not sure what the state of the Makefiles are for building with gcc on Solaris. It has been done in the past, from the artifacts I see in the Makefiles, however, it won't 'just build', it will take some changes. In general we focus on one compiler set per OS, the one that has the most potentia

Re: OpenJDK on Solaris Dev Express 1/2008?

2008-06-03 Thread Christian Thalinger
On Tue, 2008-06-03 at 08:28 -0700, Kelly O'Hair wrote: > I'm not sure what the state of the Makefiles are for building with gcc > on Solaris. It has been done in the past, from the artifacts I see in the > Makefiles, however, it won't 'just build', it will take some changes. > > In general we focu

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Martin Buchholz
sh is a horrible programming language whose primary virtue is portability -- every Unix system since the dark ages has it. Much of that is lost when replacing #!/bin/sh with #!/bin/bash. Might as well upgrade to a "real" programming language. Martin On Tue, Jun 3, 2008 at 1:22 AM, Andrew Haley <[

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew Haley
Martin Buchholz wrote: > On Tue, Jun 3, 2008 at 1:22 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: >> But if one of our scripts actually needs bash (not just sh) why not use >> #!/bin/bash ? > sh is a horrible programming language whose primary virtue is > portability -- every Unix system since the

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Kelly O'Hair
As far as I know, only Ubuntu (and only 8.04?) depends on bash. No other OS seems to have a problem using plain old antique sh. --- Ideally, these sh scripts used in the build process should be changed to be something else, maybe small Java apps. Someday. -kto Andrew Haley wrote: Martin Buchh

Relying on /bin/sh compatibility ? ... Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread David Herron
Andrew Haley wrote: Martin Buchholz wrote: On Tue, Jun 3, 2008 at 1:22 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: But if one of our scripts actually needs bash (not just sh) why not use #!/bin/bash ? sh is a horrible programming language whose primary virtue is portability -- e

Re: Relying on /bin/sh compatibility ? ... Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew John Hughes
> BTW does anybody know where to get a SHCK? (/bin/sh > Compatibility Kit) How can we be sure any /bin/sh interpreter is actually > compatible with /bin/sh ?? > > - David Herron > > > > I hear the license terms mean people can't really talk about the SHCK... -- Andrew :-) Support Free Java

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew John Hughes
2008/6/3 Kelly O'Hair <[EMAIL PROTECTED]>: > As far as I know, only Ubuntu (and only 8.04?) depends on bash. > No other OS seems to have a problem using plain old antique sh. > > --- > > Ideally, these sh scripts used in the build process should be changed > to be something else, maybe small Java a

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Martin Buchholz
On Tue, Jun 3, 2008 at 10:09 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: > Martin Buchholz wrote: > Sure, but this bug seems to suggest that we *already* rely on > /bin/bash, but we pretend not to by assuming that /bin/sh runs > bash. If we rely on bash, let's be straight about it. What the JDK

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Kelly O'Hair
Java (BOOTJDK) is and will always be a requirement to build the JDK, can't see that ever going away. Many build tools are already written in Java (see jdk/make/tools) so I don't see how changing sh scripts to Java changes the build dependencies. As far as Ant goes, I have mixed feelings about it

Re: Relying on /bin/sh compatibility ? ... Re: OpenJDK Build error on Ubuntu 8.04

2008-06-03 Thread Andrew Haley
David Herron wrote: > Andrew Haley wrote: >> Martin Buchholz wrote: >> >>> On Tue, Jun 3, 2008 at 1:22 AM, Andrew Haley <[EMAIL PROTECTED]> wrote: >>> But if one of our scripts actually needs bash (not just sh) why not use #!/bin/bash ? >>> sh is a horrible programming l

Re: OpenJDK on Solaris Dev Express 1/2008?

2008-06-03 Thread Erik Trimble
Kelly O'Hair wrote: I'm not sure what the state of the Makefiles are for building with gcc on Solaris. It has been done in the past, from the artifacts I see in the Makefiles, however, it won't 'just build', it will take some changes. In general we focus on one compiler set per OS, the one that