Cannot build xulrunner on Windows 64-bit

RESOLVED FIXED in mozilla7

Status

Core Graveyard
Embedding: MFC Embed
RESOLVED FIXED
6 years ago
11 months ago

People

(Reporter: Armen - back on June 11th, Assigned: m_kato)

Tracking

(Blocks: 1 bug)

Trunk
mozilla7
x86_64
Windows Server 2008
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [win64][xulrunner])

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
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
(Reporter)

Updated

6 years ago
Blocks: 471090
(Reporter)

Comment 2

6 years ago
Who shall I poke about this?
(Assignee)

Updated

6 years ago
Assignee: nobody → m_kato
OS: Mac OS X → Windows 7
Hardware: x86 → x86_64
(Assignee)

Comment 3

6 years ago
Created attachment 539984 [details] [diff] [review]
fix
(Assignee)

Comment 4

6 years ago
Comment on attachment 539984 [details] [diff] [review]
fix

Or should I remove winEmbed?
Attachment #539984 - Flags: review?(benjamin)
(Reporter)

Updated

6 years ago
OS: Windows 7 → Windows Server 2008
Attachment #539984 - Flags: review?(benjamin) → review+
(Assignee)

Comment 5

6 years ago
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
Last Resolved: 6 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.