Closed Bug 635923 Opened 13 years ago Closed 13 years ago

Cannot build xulrunner on Windows 64-bit

Categories

(Core Graveyard :: Embedding: MFC Embed, defect)

x86_64
Windows Server 2008
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla7

People

(Reporter: armenzg, Assigned: m_kato)

References

Details

(Whiteboard: [win64][xulrunner])

Attachments

(1 file)

This is the mozconfig used:
http://hg.mozilla.org/users/armenzg_mozilla.com/buildbot-configs/file/tip/mozilla2/win64/mozilla-central/xulrunner/mozconfig

> ac_add_options --target=x86_64-pc-mingw32
> ac_add_options --host=x86_64-pc-mingw32
> 
> export MOZILLA_OFFICIAL=1
> export JAVA_HOME=/d/jdk1.6.0_14
> 
> # For NSS symbols
> ac_add_options --enable-debug-symbols
> 
> ac_add_options --enable-application=xulrunner
> ac_add_options --enable-jemalloc
> ac_add_options --disable-installer
> ac_add_options --disable-tests
> 
> # This is for determining to use -j4 or -j1 depending on the machine type
> . $topsrcdir/configs/mozilla2/win32/include/choose-make-flags



creating xulrunner/tools/redit/Makefile
make[5]: Entering directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox/xulrunner/tools/redit'
Creating /e/builds/moz2_slave/cen-win64-xr/build/obj-firefox/xulrunner/tools/redit/.deps
make[5]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox/xulrunner/tools/redit'
make[4]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox/xulrunner'
make[3]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox'
make libs_tier_app
make[3]: Entering directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox'
libs_tier_app
make[4]: Entering directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox'
make[4]: `embedding/tests/Makefile' is up to date.
make[4]: `xulrunner/Makefile' is up to date.
make[4]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox'
make[4]: Entering directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox/embedding/tests'
make[5]: Entering directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox/embedding/tests/winEmbed'
winEmbed.cpp
d:/mozilla-build/python/python2.6.exe -O e:/builds/moz2_slave/cen-win64-xr/build/build/cl.py cl -FowinEmbed.obj -c   -DXPCOM_GLUE -DXPI_NAME=winembed -DOSTYPE=\"WINNT6.1\" -DOSARCH=WINNT -I/e/builds/moz2_slave/cen-win64-xr/build/embedding/tests/winEmbed -I/e/builds/moz2_slave/cen-win64-xr/build/embedding/tests/winEmbed -I. -I../../../dist/include -I../../../dist/include/nsprpub  -Ie:/builds/moz2_slave/cen-win64-xr/build/obj-firefox/dist/include/nspr -Ie:/builds/moz2_slave/cen-win64-xr/build/obj-firefox/dist/include/nss         -GR- -TP -nologo -Zc:wchar_t- -W3 -Gy -Fdgenerated.pdb -wd4800  -DNDEBUG -DTRIMMED -Zi -Zi -UDEBUG -DNDEBUG -O1 -MD            -FI ../../../dist/include/mozilla-config.h -DMOZILLA_CLIENT /e/builds/moz2_slave/cen-win64-xr/build/embedding/tests/winEmbed/winEmbed.cpp
winEmbed.cpp

e:\builds\moz2_slave\cen-win64-xr\build\obj-firefox\dist\include\nsStringAPI.h(1277) : warning C4244: 'argument' : conversion from '__int64' to 'PRUint32', possible loss of data

e:\builds\moz2_slave\cen-win64-xr\build\obj-firefox\dist\include\nsStringAPI.h(1315) : warning C4244: 'argument' : conversion from '__int64' to 'PRUint32', possible loss of data

e:/builds/moz2_slave/cen-win64-xr/build/embedding/tests/winEmbed/winEmbed.cpp(900) : error C2065: 'GWL_USERDATA' : undeclared identifier

e:/builds/moz2_slave/cen-win64-xr/build/embedding/tests/winEmbed/winEmbed.cpp(1080) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data

e:/builds/moz2_slave/cen-win64-xr/build/embedding/tests/winEmbed/winEmbed.cpp(1156) : warning C4244: 'return' : conversion from 'WPARAM' to 'PRUint32', possible loss of data

make[5]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox/embedding/tests/winEmbed'
make[4]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox/embedding/tests'
make[3]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox'
make[2]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox'
make[1]: Leaving directory `/e/builds/moz2_slave/cen-win64-xr/build/obj-firefox'
make[5]: *** [winEmbed.obj] Error 2
make[4]: *** [libs] Error 2
make[3]: *** [libs_tier_app] Error 2
make[2]: *** [tier_app] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
I dunno where winEmbed bugs get filed, (/dev/null?) but that's what this is.
Component: Build Config → Embedding: MFC Embed
QA Contact: build-config → mfcembed
Who shall I poke about this?
Assignee: nobody → m_kato
OS: Mac OS X → Windows 7
Hardware: x86 → x86_64
Attached patch fixSplinter Review
Comment on attachment 539984 [details] [diff] [review]
fix

Or should I remove winEmbed?
Attachment #539984 - Flags: review?(benjamin)
OS: Windows 7 → Windows Server 2008
Attachment #539984 - Flags: review?(benjamin) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/24a32ce76a5d
Status: NEW → ASSIGNED
Whiteboard: [win64][xulrunner] → [win64][xulrunner][inbound]
Target Milestone: --- → mozilla7
Merged:
http://hg.mozilla.org/mozilla-central/rev/24a32ce76a5d
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [win64][xulrunner][inbound] → [win64][xulrunner]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: