Problem building b24 on Win32
Ted Neward
ted at tedneward.com
Thu Feb 28 12:38:50 UTC 2008
The fix *does* manage to let me build from the top-level successfully,
however it doesn't recognize my choice of ALT_OUTPUT_DIR at all; everything
still goes into jdk7/build. (I can live with that, for now.) I have the 4.7M
fastdebug.log build output capture, if you want to see it, but glancing
through it at some of the make invocations, it seems that the ALT_OUTPUT_DIR
variable isn't being passed around successfully to the various sub-makes.
Still, now I can at least show building a complete JDK top-to-bottom.
Thanks, Kelly (and Dave and Tim)!
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: Wednesday, February 27, 2008 2:15 PM
> To: Ted Neward
> Cc: 'Phil Issler'; build-dev at openjdk.java.net
> Subject: Re: Problem building b24 on Win32
>
> I'm trying this fix in the top level repository:
>
> bonsai<315> hg diff
> diff --git a/make/Defs-internal.gmk b/make/Defs-internal.gmk
> --- a/make/Defs-internal.gmk
> +++ b/make/Defs-internal.gmk
> @@ -208,7 +208,6 @@ endif
>
> # Common make arguments (supplied to all component builds)
> COMMON_BUILD_ARGUMENTS = \
> - JDK_TOPDIR=$(ABS_JDK_TOPDIR) \
> JDK_MAKE_SHARED_DIR=$(ABS_JDK_TOPDIR)/make/common/shared \
> EXTERNALSANITYCONTROL=true \
> TARGET_CLASS_VERSION=$(TARGET_CLASS_VERSION) \
>
> Just delete that one line.
>
> My builds haven't finished yet so I don't know for sure this
> fixes the problem.
>
> -kto
>
> Ted Neward wrote:
> > If there's any tests I can run here to help track this down, let me
> know....
> >
> > 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 Kelly O'Hair
> >> Sent: Wednesday, February 27, 2008 11:44 AM
> >> To: Phil Issler
> >> Cc: build-dev at openjdk.java.net
> >> Subject: Re: Problem building b24 on Win32
> >>
> >> I (and others) have been able to reproduce this on our own, but
> >> I'm still not sure what the problem is.
> >>
> >> Suspects are:
> >> * GNU make VPATH issue (in the makefiles or make itself)
> >> * C:/ vs. /cygdrive/c path issue
> >> * buggy find.exe? (Not sure why this would cause this problem)
> >> * something related to OUTPUTDIR and the short paths
> >>
> >> Just so people know, it is being investigated, just proving tricky
> >> to isolate.
> >>
> >> -kto
> >>
> >> Phil Issler wrote:
> >>> 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
> >> No virus found in this incoming message.
> >> Checked by AVG Free Edition.
> >> Version: 7.5.516 / Virus Database: 269.21.1/1302 - Release Date:
> >> 2/27/2008 4:34 PM
> >>
> >
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.516 / Virus Database: 269.21.1/1302 - Release Date:
> 2/27/2008
> > 4:34 PM
> >
> >
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.1/1302 - Release Date:
> 2/27/2008 4:34 PM
>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.1/1302 - Release Date: 2/27/2008
4:34 PM
More information about the build-dev
mailing list