encumbrances update
Ted Neward
ted at tedneward.com
Sat Aug 4 08:57:53 UTC 2007
Hate to say it, guys, but this build seems *more* broken than the last. I
can't even get a fraction of the distance through the build:
cd ../../hotspot/make ; \
make ALT_SLASH_JAVA=J: ARCH_DATA_MODEL=32
ALT_OUTPUTDIR=C:/Prg/JDK-P
R~2/hotspot/outputdir ALT_EXPORT_PATH=C:/Prg/JDK-PR~2/hotspot/import
PREVIOUS_JD
K_VERSION=1.5.0 ALT_BOOTDIR=C:/Prg/jdk1.6.0
FULL_VERSION="1.7.0-private-fastdebu
g-b00" JDK_VERSION=1.7.0 COOKED_BUILD_NUMBER=0 JDK_MKTG_VERSION=7
JDK_MAJOR_VERS
ION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 all_fastdebug
make[3]: Entering directory `/cygdrive/c/Prg/OpenJDK/openjdk/hotspot/make'
make VM_TARGET=fastdebug generic_build2
make[4]: Entering directory `/cygdrive/c/Prg/OpenJDK/openjdk/hotspot/make'
mkdir -p C:/Prg/JDK-PR~2/hotspot/outputdir
cd C:/Prg/JDK-PR~2/hotspot/outputdir; \
MAKEFLAGS= MFLAGS= nmake /NOLOGO -f
c:/Prg/OpenJDK/openjdk/hotspot/build/windows/build.make \
Variant=compiler2 \
WorkSpace=c:\\Prg\\OpenJDK\\openjdk\\hotspot \
BootStrapDir=C:\\Prg\\jdk1.6.0 \
BuildUser=Ted \
BuildID=1.7.0-private-fastdebug-b00 HS_MKTG_VERSION=7
HS_
MAJOR_VER=1 HS_MINOR_VER=7 HS_MICRO_VER=0 HS_BUILD_NUMBER=0
JAVA_HOME=C:\\Prg\\jdk1.6.0 GAMMADIR=c:\\Prg\\OpenJDK\\openjdk\\hotspot
MAKE_VERBOSE=y fastdebug
Not building SA: BUILD_WIN_SA != 1
/usr/bin/expr: syntax error
*** WARNING *** unrecognized link.exe version (). Use FORCE_LINK_VER to
override
automatic detection.
cd windows_i486_compiler2
nmake -nologo -f
c:\Prg\OpenJDK\openjdk\hotspot\build\windows\makefiles\
top.make BUILD_FLAVOR=fastdebug ARCH=i486
nmake in .\generated
cd generated && nmake /NOLOGO /f
c:\Prg\OpenJDK\openjdk\hotspot\build\wi
ndows\makefiles\generated.make DIR=.\generated BUILD_FLAVOR=fastdebug
link.exe kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib a
dvapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib Wsock32.lib
winmm.lib /
nologo /machine:I386 /opt:REF /opt:ICF,8 /map /debug /subsystem:console
/out:ad
lc.exe main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj
filebuff.o
bj forms.obj formsopt.obj formssel.obj opcodes.obj output_c.obj output_h.obj
link: extra operand `gdi32.lib'
Try `link --help' for more information.
NMAKE : fatal error U1077: 'link.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'c:\Prg\MSVS2003\Vc7\bin\nmake.exe' : return code
'0x
2'
Stop.
make[4]: *** [generic_build2] Error 2
make[4]: Leaving directory `/cygdrive/c/Prg/OpenJDK/openjdk/hotspot/make'
make[3]: *** [fastdebug] Error 2
make[3]: Leaving directory `/cygdrive/c/Prg/OpenJDK/openjdk/hotspot/make'
make[2]: *** [hotspot-build] Error 2
make[2]: Leaving directory `/cygdrive/c/Prg/OpenJDK/openjdk/control/make'
make[1]: *** [generic_debug_build] Error 2
make[1]: Leaving directory `/cygdrive/c/Prg/OpenJDK/openjdk/control/make'
make: *** [fastdebug_build] Error 2
Not sure why the link version isn't being recognized, or that "gdi32.lib" is
thought to be an 'extra operand'.... sanity works just fine. Anybody got any
ideas? Or should I just blow the tree away and do a fresh fetch from SVN?
Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
> -----Original Message-----
> From: Phil.Race at Sun.COM [mailto:Phil.Race at Sun.COM]
> Sent: Friday, August 03, 2007 9:00 PM
> To: Ted Neward
> Cc: 'Igor Nekrestyanov'; 'Dan Fabulich'; discuss at openjdk.java.net;
> 'Anthony Petrov'; build-dev at openjdk.java.net
> Subject: Re: encumbrances update
>
> freetypecheck.c(42) : warning C4003: not enough actual parameters for
> macro
> 'QUO
> TEME'
>
> Did it really print a newline in the middle of that name ?
>
> your make/tools/freetypecheck/freetypecheck.c may be corrupt.
>
> the macro is defined there and its hard to imagine how it could be
> affected by anything exernal.
>
> -phil.
>
> Ted Neward wrote:
> > OK... Using a private drop of Ivan's freetype build, with an "SVN
> update" of
> > the source base, I get this:
> >
> > CYGWIN:Ted at XPJAVA:/cygdrive/c/Prg/OpenJDK/openjdk/control/make
> > $ make sanity
> > make[1]: Entering directory `/cygdrive/c/Prg/OpenJDK/openjdk/j2se/make'
> > make[2]: Entering directory
> > `/cygdrive/c/Prg/OpenJDK/openjdk/j2se/make/tools/fre
> > etypecheck'
> > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
> 80x86
> > Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
> >
> > freetypecheck.c
> > freetypecheck.c(42) : warning C4003: not enough actual parameters for
> macro
> > 'QUO
> > TEME'
> > freetypecheck.c(42) : error C2059: syntax error : ')'
> > freetypecheck.c(45) : warning C4003: not enough actual parameters for
> macro
> > 'QUO
> > TEME'
> > freetypecheck.c(45) : error C2059: syntax error : ')'
> > freetypecheck.c(49) : error C2143: syntax error : missing ')' before '&'
> > freetypecheck.c(49) : error C2143: syntax error : missing '{' before '&'
> > freetypecheck.c(49) : error C2059: syntax error : '&'
> > freetypecheck.c(49) : error C2059: syntax error : ')'
> > freetypecheck.c(50) : error C2059: syntax error : ','
> > freetypecheck.c(50) : error C2143: syntax error : missing ')' before '&'
> > freetypecheck.c(50) : error C2143: syntax error : missing '{' before '&'
> > freetypecheck.c(50) : error C2059: syntax error : '&'
> > freetypecheck.c(50) : error C2059: syntax error : ')'
> > freetypecheck.c(51) : error C2059: syntax error : ','
> > freetypecheck.c(51) : error C2143: syntax error : missing ')' before
> > 'string'
> > freetypecheck.c(51) : error C2143: syntax error : missing '{' before
> > 'string'
> > freetypecheck.c(51) : error C2059: syntax error : '<Unknown>'
> > freetypecheck.c(51) : error C2059: syntax error : ')'
> > freetypecheck.c(53) : error C2143: syntax error : missing ')' before
> > 'string'
> > freetypecheck.c(53) : error C2143: syntax error : missing '{' before
> > 'string'
> > freetypecheck.c(53) : error C2059: syntax error : '<Unknown>'
> > freetypecheck.c(53) : error C2059: syntax error : ')'
> > freetypecheck.c(54) : error C2059: syntax error : 'if'
> > freetypecheck.c(54) : warning C4003: not enough actual parameters for
> macro
> > 'QUO
> > TEME'
> > freetypecheck.c(58) : error C2059: syntax error : 'return'
> > freetypecheck.c(59) : error C2059: syntax error : '}'
> > make[2]: ***
> > [c:/Prg/OpenJDK/openjdk/control/build/WINDOW~1/tmp/freetype_version
> > check] Error 2
> > make[2]: Leaving directory
> > `/cygdrive/c/Prg/OpenJDK/openjdk/j2se/make/tools/free
> > typecheck'
> > make[1]: [sane-freetype] Error 2 (ignored)
> > /bin/sh:
> > c:/Prg/OpenJDK/openjdk/control/build/WINDOW~1/tmp/freetype_versioncheck
> > .exe: No such file or directory
> > make[1]: Leaving directory `/cygdrive/c/Prg/OpenJDK/openjdk/j2se/make'
> >
> > Somebody have an idea what's going on here? (Obviously, freetypecheck.c
> > isn't building, but I'm not sure why, beyond the obvious "there's a
> macro
> > without enough parameters" as declared on line 42....)
> >
> > 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 Igor Nekrestyanov
> >> Sent: Thursday, August 02, 2007 12:39 PM
> >> To: Dan Fabulich
> >> Cc: discuss at openjdk.java.net; Anthony Petrov; Phil Race; build-
> >> dev at openjdk.java.net
> >> Subject: Re: encumbrances update
> >>
> >>
> >>
> >>>> My tests are not "ideal" for number of reasons:
> >>>> 2) I was using binary plugs created from my personal workspace.
> >>>> I believe they should be the same as those to be published with
> >>>> b17 code drop but this is my assumption.
> >>>>
> >>> We know for certain that this assumption is FALSE. No binary plug
> >>> given to the public has ever built successfully on Windows; since your
> >>> personal plugs have been working for you for months, we can conclude
> >>> that there's something critically different between your plugs and the
> >>> plugs we get.
> >>>
> >> Prior to introduction of the "binary plugs" in the makefile (starting
> >> from the b16)
> >> it was easy to use our internal product builds to import encumbered
> bits
> >> for openjdk build.
> >> So, internal openjdk builds were easier.
> >>
> >> However, since b16 we need to export image of binary plugs from the
> >> product build and
> >> use these exported images for openjdk build.
> >> I think (but i am not 100% sure) that same procedure is used to export
> >> binary plug bits for people outside of @sun.com.
> >> So now there is fewer chance to have discrepancies (and after all
> >> t2k.lib is not needed anymore :) ).
> >>
> >>> But who knows? Maybe we'll get lucky this time. :-)
> >>>
> >> I can hardly wait to get feedback on build status.
> >> Hopefully this will be success report :)
> >>
> >>>> BTW, for windows build you will need to build freetype.dll (i tried
> >>>> only dll built with visualc). I believe that freetype build system
> >>>> does not generate .dll on windows and therefore some manual tweaking
> >>>> of freetype makefiles (and sources) might be necessary.
> >>>>
> >>> Sounds like fun! :-) Will the documentation include a patch? Or just
> >>> some tips on how to make a .DLL? What source files needed to change?
> >>>
> >> No, there is no patch or detailed instruction in the openjdk docs.
> >>
> >> You can follow "official" freetype approach -
> >> http://freetype.freedesktop.org/wiki/FreeType_DLL.
> >> I believe it worked for me to prepare 32 bit binary.
> >> Perhaps someday they will finally simplify it and we can just run make
> :)
> >>
> >> In addition to described changes you may also want to tweak ftoptions.h
> >> to enable subpixel rendering.
> >>
> >> -igor
> >>
> >> No virus found in this incoming message.
> >> Checked by AVG Free Edition.
> >> Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date:
> 8/2/2007
> >> 2:22 PM
> >>
> >>
> >
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007
> > 2:22 PM
> >
> >
> >
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007
> 2:22 PM
>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007
2:22 PM
More information about the build-dev
mailing list