Re: b31 multiple build failures on x86 Linux

2008-07-24 Thread Andrew John Hughes
On 22/07/2008, Andrew Haley <[EMAIL PROTECTED]> wrote: > Kelly O'Hair wrote: > > > > > > Jeffrey Baker wrote: > >> On Tue, Jul 22, 2008 at 12:17 PM, Kelly O'Hair <[EMAIL PROTECTED]> > >> wrote: > >>> Jeffrey Baker wrote: > > [snip] > >> > Second problem: the build dumped core in test_

Re: b31 multiple build failures on x86 Linux

2008-07-24 Thread Kelly O'Hair
Great! Good news... -kto Alan Bateman wrote: Jesse Glick wrote: : http://bugs.sun.com/view_bug.do?bug_id=6681798 Sherman has changes in the pipe that replaces the current sed based pre-processor. That will avoid these shell/escaping problems. -Alan.

Re: b31 multiple build failures on x86 Linux

2008-07-24 Thread Alan Bateman
Jesse Glick wrote: : http://bugs.sun.com/view_bug.do?bug_id=6681798 Sherman has changes in the pipe that replaces the current sed based pre-processor. That will avoid these shell/escaping problems. -Alan.

Re: b31 multiple build failures on x86 Linux

2008-07-24 Thread Jesse Glick
Kelly O'Hair wrote: You might be able to 'make SH=/bin/bash' to get around this, but it's just a guess. What works for me (Ubuntu 8.04 w/ all updates): export SPP_CMD='/bin/bash spp.sh' make Cf. http://bugs.sun.com/view_bug.do?bug_id=6681798

Re: b31 multiple build failures on x86 Linux

2008-07-23 Thread David Holmes - Sun Microsystems
Sorry - you're right Kelly. On Solaris fastdebug.make has been using DEBUG_CFLAGS since 2000, but on linux it has never had it! That said perhaps the "fast" in "fastdebug" was actually intended to address this ie perhaps the linux makefile is "correct" ? I've never really understood the detail

Re: b31 multiple build failures on x86 Linux

2008-07-23 Thread Kelly O'Hair
Looking at fastdebug build log files, no -g or -gstabs is provided on any linux builds as far as I can see. I suspect that hotspot/make/linux/makefiles/fastdebug.make is missing the addition of this DEBUG_CFLAGS variable to CFLAGS like the jvmg.make and debug.make files. Adding it to CFLAGS adds

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread Rob Ross
Would getting the hotspot "project" to compile be a good first step at porting the JDK to a new platform? I'm still trying to find the entry point to this long road. If not hotspot, what else would be a good first effort at porting something? Also, on a quick perusal, it sure seems like the

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread David Holmes - Sun Microsystems
Kelly O'Hair said the following on 07/23/08 05:17: Jeffrey Baker wrote: Third problem: fastdebug_build target doesn't seem to propagate the -g flag. All of hotspot was built with -fPIC -fno-rtti -fno-exceptions -fcheck-new -m32 -march=i586 -pipe -O3 -fno-strict-aliasing -Wpointer-arith -Wconver

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread Kelly O'Hair
Jeffrey Baker wrote: On Tue, Jul 22, 2008 at 1:53 PM, Kelly O'Hair <[EMAIL PROTECTED]> wrote: Jeffrey Baker wrote: What is the officially blessed compiler? This one appears to be gcc 4.2.3, but I have numerous other revisions of gcc kicking around, including 4.1 and 4.2. You won't like this

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread Jeffrey Baker
On Tue, Jul 22, 2008 at 1:53 PM, Kelly O'Hair <[EMAIL PROTECTED]> wrote: > Jeffrey Baker wrote: >> What is the officially blessed compiler? This one appears to be gcc >> 4.2.3, but I have numerous other revisions of gcc kicking around, >> including 4.1 and 4.2. > > You won't like this, but it's 3.

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread Kelly O'Hair
Should I add a warning message that says: "You are using gcc 4.2, we don't like it very much, you should use 4.1 or 4.3." :^) -kto Andrew Haley wrote: Kelly O'Hair wrote: Jeffrey Baker wrote: On Tue, Jul 22, 2008 at 12:17 PM, Kelly O'Hair <[EMAIL PROTECTED]> wrote: Jeffrey Baker wrote:

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread Andrew Haley
Kelly O'Hair wrote: > > > Jeffrey Baker wrote: >> On Tue, Jul 22, 2008 at 12:17 PM, Kelly O'Hair <[EMAIL PROTECTED]> >> wrote: >>> Jeffrey Baker wrote: > [snip] >> Second problem: the build dumped core in test_gamma with an error in ciTypeFlow.hpp:395. I filed this bug at sun.com with

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread Kelly O'Hair
Jeffrey Baker wrote: On Tue, Jul 22, 2008 at 12:17 PM, Kelly O'Hair <[EMAIL PROTECTED]> wrote: Jeffrey Baker wrote: [snip] Second problem: the build dumped core in test_gamma with an error in ciTypeFlow.hpp:395. I filed this bug at sun.com with Review ID 1299675. I worked around this by

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread Jeffrey Baker
On Tue, Jul 22, 2008 at 12:17 PM, Kelly O'Hair <[EMAIL PROTECTED]> wrote: > Jeffrey Baker wrote: >> >> I noted multiple build failures on x86 Linux (Ubuntu 8.04) using the >> b31 source archive, building the fastdebug_build target. >> >> The first failure occurs due to -Werror. There are a number

Re: b31 multiple build failures on x86 Linux

2008-07-22 Thread Kelly O'Hair
Jeffrey Baker wrote: I noted multiple build failures on x86 Linux (Ubuntu 8.04) using the b31 source archive, building the fastdebug_build target. The first failure occurs due to -Werror. There are a number of unsafe casts of char * in hotspot, and these cause the build to fail with -Werror.