I have managed to build it but I have not been able to actually run it. It plainly crashes before running.
Find below the tool-chain, mozconfig, logs and builds in case you think you can help me figure out what I am doing wrong.
Documentation followed:
- http://wiki.mozilla-x86-64.com/Build:MozillaBuild_For_x64
- https://developer.mozilla.org/en/Windows_Build_Prerequisites
- MS Win2008 x86_64
- MS VS2010 Pro
- Win7 SDK
- MozillaBuild 1.4
. $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir ac_add_options --target=x86_64-pc-mingw32 ac_add_options --host=x86_64-pc-mingw32 ac_add_options --disable-ogg
Logs:
Binaries:
- firefox-3.7a5pre.en-US.win64-x86_64.installer.exe
- firefox-3.7a5pre.en-US.win64-x86_64.zip
- firefox-3.7a5pre.en-US.win64-x86_64.tests.zip
- firefox-3.7a5pre.en-US.win64-x86_64.txt
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
Run with debugging from VS2010 and you should catch a null pointer in xul.dll somewhere. The location might help you determine if you forgot a define or something if the point of execution is in a code block it shouldn't be, or it might be a 64-bit bug.
ReplyDeleteIf you're feeling bold:
ReplyDeletehttps://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg
Works for win32 anyway.
Yep, debug and see what happens.
ReplyDeleteI don't have your crash symbols, hence I cannot easily debug the build. ;)
But I can reproduce the crash with your build on Win XP x64. (Crashes somewhere in libxul originating from a libmozjs call)
The tool-chain is pretty bleeding-edge.
I'd suggest you try to build using MSVC8 (or at least 9) first.
I just performed a clean build using:
Win XP x64 (basically Server 2003)
Win 7 + Win 2003R2 SDKs
MSVC8
interlocked intrinsics "patch"/fix
No patches to central
Works as expected it seems. crashtest went through. mochitest-chrome had some random failures, but mostly was clean.
Next I'll try a MSVC 2010 build.
.mozconfig:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
mk_add_options MOZ_MAKE_FLAGS=-j4
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
ac_add_options --enable-application=browser
ac_add_options --enable-debugger-info-modules=all
ac_add_options --enable-tests
Crashing in what appears to be the same place when building with MSVC2010.
ReplyDeleteSo to answer your question: You didn't do anything wrong, it's either buggy code or a buggy compiler ;)
This is weird. Nils Maier has made two comments but I can't see them.
ReplyDeleteNils thanks for checking that out! (He tried building with MSVC8 and with MSVC10) And for those who can't see the comments he finishes saying: "You didn't do anything wrong, it's either buggy code or a buggy compiler ;)"
CF and The MAZZTer, I could try to be bold and debug it myself but I bet that the people that are good at this will prefer me to spend the time at automating the reference machine :)