Problem building b24 on Win32

Ted Neward ted at tedneward.com
Thu Feb 21 18:52:38 UTC 2008


Also, it *really* looks like there's some kind of disconnect between
invoking the top-level make (in the jdk7 directory) and what gets invoked to
the child makefiles; for example, look at this invocation of make in the
jdk7/jdk directory when I invoke make from the jdk7 directory with
"ALT_OUTPUTDIR=C:/Prg/OpenJDK/output" set:

make sanity all images JDK_TOPDIR=c:/Prg/OpenJDK/jdk7/jdk
JDK_MAKE_SHARED_DIR=c:/Prg/OpenJDK/jdk7/jdk/make/common/shared
EXTERNALSANITYCONTROL=true TARGET_CLASS_VERSION=5 MILESTONE=internal
BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00
FULL_VERSION=1.7.0-internal-fastdebug-Ted_21_feb_2008_10_27-b00
PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7
JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0
ARCH_DATA_MODEL=32 VARIANT=DBG FASTDEBUG=true DEBUG_CLASSFILES=true
COOKED_BUILD_NUMBER=0 ANT_HOME="c:/Prg/apache-ant-1.7.0"
FINDBUGS_HOME="C:/Prg/findbugs-1.2.1"
ALT_OUTPUTDIR=c:/Prg/OpenJDK/jdk7/build/WINDOW~2 BUILD_HOTSPOT=false

Notice that ALT_OUTPUTDIR isn't set even close to what it should be, from
what I can tell.

In about two weeks I'm going to start standing up in front of audiences and
tell them about how to hack on the JDK in general and on the OpenJDK sources
in particular, and I'd *really* like to have the build working on Windows
end-to-end. I can build the jdk subtree by going into that directory by hand
and kicking off a make (see below), but I don't know what I'm missing by
doing so, and certainly I don't get the warm-n-fuzzy feeling of having it
done from the top-level makefile.

If somebody at Sun who's responsible for building the Windows product and
debug/fastdebug builds can just take a few minutes to either confirm or deny
this behavior on their machine and maybe spend a few minutes in email
conversation with me on this, I'd *really* appreciate it, particularly since
the next release drop isn't going to be out for a while.

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
 

> -----Original Message-----
> From: build-dev-bounces at openjdk.java.net [mailto:build-dev-
> bounces at openjdk.java.net] On Behalf Of Ted Neward
> Sent: Wednesday, February 20, 2008 9:03 PM
> To: Kelly.Ohair at Sun.COM
> Cc: build-dev at openjdk.java.net; 'Phil Issler'
> Subject: RE: Problem building b24 on Win32
> 
> Interesting follow-up on this:
> 
> If I go into jdk/make, and do a "make OPENJDK=true fastdebug debug",
> everything builds fine. It's only from the top-level Makefile that the
> problem appears, it looks like.
> 
> Ted Neward
> Java, .NET, XML Services
> Consulting, Teaching, Speaking, Writing
> http://www.tedneward.com
> 
> 
> > -----Original Message-----
> > From: Kelly.Ohair at Sun.COM [mailto:Kelly.Ohair at Sun.COM]
> > Sent: Friday, February 08, 2008 11:33 AM
> > To: Ted Neward
> > Cc: 'Phil Issler'; build-dev at openjdk.java.net
> > Subject: Re: Problem building b24 on Win32
> >
> > Did you try adding COMPANY_NAME=CompanyTed to the gnumake command
> line?
> >
> > rc.exe does not like empty macro values.
> >
> > -kto
> >
> >
> > Ted Neward wrote:
> > > Does anybody have any ideas on how to debug and/or fix this?
> > >
> > > Ted Neward
> > > Java, .NET, XML Services
> > > Consulting, Teaching, Speaking, Writing
> > > http://www.tedneward.com
> > >
> > >
> > >> -----Original Message-----
> > >> From: build-dev-bounces at openjdk.java.net [mailto:build-dev-
> > >> bounces at openjdk.java.net] On Behalf Of Phil Issler
> > >> Sent: Saturday, February 02, 2008 6:31 PM
> > >> To: build-dev at openjdk.java.net
> > >> Subject: Problem building b24 on Win32
> > >>
> > >>
> > >> I'm getting an error during a fastdebug_build of OpenJDK b24.
> > >>
> > >> corba, jaxb, jaxws, hotspot all build OK, then I receive the
> > following
> > >> during the build of jdk:
> > >>
> > >> <snip>
> > >> C:/Prg/MSVS2003/Common7/Tools/../../Vc7/Bin/rc /l 0x409 /r  -d
> > >> "J2SE_BUILD_ID=1.7.0-internal-fastdebug-Phil_02_feb_2008_15_31-
> b00"
> > -d
> > >> "J2SE_COMPANY=" -d "J2SE_COMPONENT=OpenJDK Platform SE binary" -d
> > >> "J2SE_VER=7.0.0.0" -d "J2SE_COPYRIGHT=Copyright \xA9 2007" -d
> > >> "J2SE_NAME=OpenJDK Platform SE 7 " -d "J2SE_FVER=7,0,0,0" /D
> > >> "J2SE_FNAME=hpi.dll" /D "J2SE_INTERNAL_NAME=hpi" /D
> > "J2SE_FTYPE=0x2L"
> > >> -
> > >>
> >
> Foc:/Prg/OpenJDK/jdk7/build/WINDOW~2/tmp/java/hpi/windows_threads/obj_g
> > >> O/hpi.res
> > >> c:/Prg/OpenJDK/jdk7/jdk/src/windows/resource/version.rc
> > >> c:/Prg/OpenJDK/jdk7/jdk/src/windows/resource/version.rc(58) :
> > warning
> > >> RC4003: not enough actual parameters for macro 'STR'
> > >> make[6]: *** No rule to make target
> > >>
> >
> `c:/Prg/OpenJDK/jdk7/build/WINDOW~2/tmp/java/hpi/windows_threads/obj_gO
> > >> /linker_md.obj',
> > >> needed by `c:/Prg/OpenJDK/jdk7
> > >>
> > /build/WINDOW~2/tmp/java/hpi/windows_threads/obj_gO/.files_compiled'.
> > >> Stop.
> > >> make[6]: Leaving directory
> > >> `/cygdrive/c/Prg/OpenJDK/jdk7/jdk/make/java/hpi/windows'
> > >> make[5]: *** [all] Error 1
> > >> make[5]: Leaving directory
> > >> `/cygdrive/c/Prg/OpenJDK/jdk7/jdk/make/java/hpi'
> > >> make[4]: *** [all] Error 1
> > >> make[4]: Leaving directory
> > `/cygdrive/c/Prg/OpenJDK/jdk7/jdk/make/java'
> > >> make[3]: *** [all] Error 1
> > >> make[3]: Leaving directory `/cygdrive/c/Prg/OpenJDK/jdk7/jdk/make'
> > >> make[2]: *** [jdk-build] Error 2
> > >> make[2]: Leaving directory `/cygdrive/c/Prg/OpenJDK/jdk7'
> > >> make[1]: *** [generic_debug_build] Error 2
> > >> make[1]: Leaving directory `/cygdrive/c/Prg/OpenJDK/jdk7'
> > >> make: *** [fastdebug_build] Error 2
> > >>
> > >> Not sure what to try at this point.  Any suggestions welcome.
> > >>
> > >> Phil Issler
> > >> --
> > >> View this message in context: http://www.nabble.com/Problem-
> > building-
> > >> b24-on-Win32-tp15249930p15249930.html
> > >> Sent from the OpenJDK Build Infrastructure mailing list archive at
> > >> Nabble.com.
> > >>
> > >> No virus found in this incoming message.
> > >> Checked by AVG Free Edition.
> > >> Version: 7.5.516 / Virus Database: 269.19.19/1256 - Release Date:
> > >> 2/2/2008 1:50 PM
> > >>
> > >
> > > No virus found in this outgoing message.
> > > Checked by AVG Free Edition.
> > > Version: 7.5.516 / Virus Database: 269.19.21/1263 - Release Date:
> > 2/6/2008
> > > 8:14 PM
> > >
> > >
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.516 / Virus Database: 269.19.21/1266 - Release Date:
> > 2/8/2008 10:06 AM
> >
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.20.8/1289 - Release Date:
> 2/20/2008
> 10:26 AM
> 
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.20.8/1289 - Release Date:
> 2/20/2008 10:26 AM
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.9/1291 - Release Date: 2/21/2008
11:05 AM
 




More information about the build-dev mailing list