Last Comment Bug 471090 - (tracking_win64) [meta] Windows x64 build tracking bug
(tracking_win64)
: [meta] Windows x64 build tracking bug
Status: NEW
: meta
Product: Core
Classification: Components
Component: General (show other bugs)
: Trunk
: x86_64 Windows XP
: -- enhancement with 116 votes (vote)
: ---
Assigned To: Makoto Kato [:m_kato] (PTO 6/20-21, 6/24)
:
Mentors:
: 419644 566558 1165708 (view as bug list)
Depends on: 482143 597738 640757 1145082 1175598 1243933 226218 239499 384746 452912 469654 472025 472032 472608 472609 475225 475226 475227 475229 478190 483118 495662 501877 512866 521193 534813 535495 536725 538056 540999 548035 556455 560477 561740 564739 564754 567707 567720 567937 568467 568949 569268 569375 570133 570882 572162 575041 576247 580248 582758 585695 595053 595766 597430 597911 598615 599733 601355 604302 604323 604967 606473 610423 616918 626480 630658 633047 633804 635923 646484 647278 661910 663748 666980 668208 669384 670697 670915 671000 671567 675135 679334 679473 680818 681238 692327 814009 1004970 1025640 1187005 1197940 1197943 1198368 1240637
Blocks: support-win64 support-win64-thunderbird 569576
  Show dependency treegraph
 
Reported: 2008-12-24 19:28 PST by Makoto Kato [:m_kato] (PTO 6/20-21, 6/24)
Modified: 2016-05-05 04:19 PDT (History)
129 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Makoto Kato [:m_kato] (PTO 6/20-21, 6/24) 2008-12-24 19:28:46 PST
This is tracking bug for building Windows x64 binary.
Comment 1 Makoto Kato [:m_kato] (PTO 6/20-21, 6/24) 2009-01-07 21:42:56 PST
*** Bug 419644 has been marked as a duplicate of this bug. ***
Comment 2 Makoto Kato [:m_kato] (PTO 6/20-21, 6/24) 2010-04-10 03:08:16 PDT
Although I have fixed upstream version of liboggplay, we cannot build current code of liboggplay into m-c for x64.

More detail is http://git.xiph.org/?p=liboggplay.git;a=commit;h=b876b35e854ab45dcfb61114d0348b5d34819983 and https://trac.annodex.net/ticket/498.

Also, liboggplay will be removed due to some reasons.  So I add it to track bug.
Comment 3 Armen Zambrano [:armenzg] - Engineering productivity 2010-04-22 14:02:29 PDT
Hi,
If I wanted to build 64 bit builds for Windows on our current build machines; How could I do it?
I assume I can't build the 64 bit build on a 32 bit machine; correct?

Is this the page I should follow if I want to build it on my computer?
http://wiki.mozilla-x86-64.com/How_To_Build_Windows_x64_Build

NOTE: Our build machines run Windows 2003.
Comment 4 Makoto Kato [:m_kato] (PTO 6/20-21, 6/24) 2010-04-22 22:15:12 PDT
Armenzg, you need x64 version of Windows.  Unfortunately, this don't support x64 build on 32-bit Windows.  Because we need a hack like WinCE build.  (we need more wrapper tools to support cross compile).

If you use Windows XP / 2003 x64, you need more hack for mozilla-build (See Bug 506323).  I recommend that you use Windows Vista or 2008 x64 version.

To build this, you need --host and --target in mozconfig.  And you have to use start-msvc8-x64.bat for VC2005SP1.  *-x64.bat is to build x64 binaries.
Comment 5 Armen Zambrano [:armenzg] - Engineering productivity 2010-04-23 07:35:42 PDT
Thanks Makoto.

Discarded:
* cross compilation from 32 bit machine (at this point)

OSes to produce 64 bit builds:
* Vista
* 2008 x64 version
* XP/2003 x64. Bug 506323.

What about Windows 7 64 bit? Can we build in there?

I have to choose an OS that will meet our builds needs (OPSI) and see what works for IT.

Is this the only thing needed on XP/2003x64 to make MozillaBuild be able to create 64 bit builds?
> Also, if you use Windows XP x64 or 2003 x64, call \windows\syswow64\cmd.exe
> at first. MSYS only runs on 32-bit cmd.exe. 

Is this the mozconfig needed?
> . $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

What can you let me know about the following problem? How often does it happen? Does this happen on only some of the OSes? Is there a bug filed for this?

> bash not response?
>
> When you run bash on some x64 environment, ssh-agent will hang. So if you hang > bash, you need remove c:\mozilla-build\msys\etc\profile.d\profile-sshagent.sh.
Comment 6 Shawn Wilsher :sdwilsh 2010-04-23 11:02:16 PDT
(In reply to comment #5)
> What about Windows 7 64 bit? Can we build in there?
I've produced 64-bit builds on win7 professional 64-bit

> What can you let me know about the following problem? How often does it happen?
> Does this happen on only some of the OSes? Is there a bug filed for this?
I've never hit that.
Comment 7 Makoto Kato [:m_kato] (PTO 6/20-21, 6/24) 2010-04-23 23:00:13 PDT
> What can you let me know about the following problem? How often does it happen?
> Does this happen on only some of the OSes? Is there a bug filed for this?

This is for old version (1.2 or 1.3) of mozilla-build.  Please ignore this if using latest version.
Comment 8 Karsten Tinnefeld 2010-04-26 16:17:00 PDT
Installer seems to be too 32-bit still. firefox-3.6.3.en-US.win64-x86_64.installer.exe by default installs to "C:\Program Files (x86)\Namoroka (64-bit)\", should be "C:\Program Files\Namoroka (64-bit)\".
Comment 9 Kevin Brosnan 2010-05-18 00:49:09 PDT
*** Bug 566558 has been marked as a duplicate of this bug. ***
Comment 10 A. 2010-05-27 06:28:54 PDT
where can i find the build?
Comment 11 Armen Zambrano [:armenzg] - Engineering productivity 2010-05-27 08:17:01 PDT
(In reply to comment #10)
> where can i find the build?
A. I will soon be producing the builds every night. I will be doing an announcement in http://groups.google.com/group/mozilla.dev.planning/topics very soon.
Comment 12 amolsarmalkar 2010-08-05 02:22:37 PDT
Hi  Makoto Kato ,

I am trying to create Geck 2.0 for 64 bit sytems.For that ,I tried to build firefox code on 32 bit vista.In Mozconfig, I am wrting "enable application = xulrunner".It indeed gives errors related to WinCE.

Also I am getting following error:
configure: error: cannot run C compiled programs
If you meant to cross compile, use `--host'.

I have decided to build the source code on 64 bit Vista.Besides I will install windows 7 SDk ,Visual studio 2008 on that machine.Will it be fine to proceed with this?
Comment 13 amolsarmalkar 2010-08-05 03:04:17 PDT
Hi  Makoto Kato ,

I am trying to create Geck 2.0 for 64 bit sytems.For that ,I tried to build firefox code on 32 bit vista.In Mozconfig, I am wrting "enable application = xulrunner".It indeed gives errors related to WinCE.

Also I am getting following error:
configure: error: cannot run C compiled programs
If you meant to cross compile, use `--host'.

I have decided to build the source code on 64 bit Vista.Besides I will install windows 7 SDk ,Visual studio 2008 on that machine.Will it be fine to proceed with this?
Comment 14 Armen Zambrano [:armenzg] - Engineering productivity 2010-09-14 08:04:47 PDT
(In reply to comment #13)
> Hi  Makoto Kato ,
> 
> I am trying to create Geck 2.0 for 64 bit sytems.For that ,I tried to build
> firefox code on 32 bit vista.In Mozconfig, I am wrting "enable application =
> xulrunner".It indeed gives errors related to WinCE.
> 
> Also I am getting following error:
> configure: error: cannot run C compiled programs
> If you meant to cross compile, use `--host'.
> 
This is what I use for the Firefox builds:
> ac_add_options --target=x86_64-pc-mingw32
> ac_add_options --host=x86_64-pc-mingw32
http://hg.mozilla.org/users/armenzg_mozilla.com/buildbot-configs/file/tip/mozilla2/win64/mozilla-central/nightly/mozconfig

> I have decided to build the source code on 64 bit Vista.Besides I will install
> windows 7 SDk ,Visual studio 2008 on that machine.Will it be fine to proceed
> with this?

That is the same setting that I use.
Comment 15 mistria 2012-11-27 02:23:29 PST
The following page contains a build of XulRunner 10 for Windows 64 bits: http://wiki.mozilla-x86-64.com/Download

As an Eclipse/SWT developer, I'd like to embed a version of XulRunner in my RCP app that would work with Windows 64 bits.
Comment 16 Gingerbread Man 2015-05-17 08:56:44 PDT
*** Bug 1165708 has been marked as a duplicate of this bug. ***
Comment 17 User Dderss 2015-06-14 07:12:10 PDT
Depends on: bug #1173846
Comment 18 Neustradamus 2016-05-05 04:19:50 PDT
Any news of this bug?
Thunderbird has not, it will be resolved in 45.1 ? (it is not in 45.0)

Note You need to log in before you can comment on or make changes to this bug.