Closed
Bug 1125921
Opened 11 years ago
Closed 11 years ago
add win64 mozconfigs
Categories
(Release Engineering :: Release Automation, defect)
Tracking
(firefox37 fixed, firefox38 fixed)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
Attachments
(5 files)
3.83 KB,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
584 bytes,
patch
|
rail
:
review-
|
Details | Diff | Splinter Review |
447 bytes,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
902 bytes,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
5.18 KB,
patch
|
lmandel
:
approval-mozilla-aurora+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
We need release (en-US + l10n) ones in the gecko repo at the very least. We probably need en-US ones in buildbot-configs to make release sanity happy too.
Assignee | ||
Comment 1•11 years ago
|
||
The big thing here is the addition of the l10n mozconfig. The small thing here is the cleanup of vs2013 mozconfig stuff (basically, putting it all in common-opt for both win32 and win64).
l10n release mozconfigs are in buildbot. I have another patch for that.
Assignee | ||
Comment 2•11 years ago
|
||
I'm not 100% certain than these will pass release sanity, but it'll be easier to deal with failures like that later...
Attachment #8554685 -
Flags: review?(rail)
Updated•11 years ago
|
Attachment #8554680 -
Flags: review?(rail) → review+
Comment 3•11 years ago
|
||
Comment on attachment 8554685 [details] [diff] [review]
add l10n mozconfig
I'm pretty sure you don't need this, see http://hg.mozilla.org/build/tools/file/beae324192d5/scripts/l10n/create-release-repacks.py#l278
Let's try without this patch first at least.
Attachment #8554685 -
Flags: review?(rail) → review-
Assignee | ||
Updated•11 years ago
|
Attachment #8554680 -
Flags: checked-in+
Assignee | ||
Comment 4•11 years ago
|
||
OK, the latest nightlies are failing with:
#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
int main() {
CONFIGURE_STATIC_ASSERT(0)
; return 0; }
configure:8254: checking for 64-bit OS
configure:8263: cl -c -TC -nologo -D_HAS_EXCEPTIONS=0 conftest.c 1>&5
conftest.c
configure: error: You are targeting i386 but using the 64-bit compiler.
*** Fix above errors and then restart with\
"c:/builds/moz2_slave/m-cen-w64-l10n-ntly-0000000000/build/mozilla-central/mozmake.exe -f client.mk build"
client.mk:361: recipe for target 'configure' failed
configure: error: You are targeting i386 but using the 64-bit compiler.
Progress!
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Ben Hearsum [:bhearsum] from comment #4)
> OK, the latest nightlies are failing with:
> #define CONFIGURE_STATIC_ASSERT(condition)
> CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
> #define CONFIGURE_STATIC_ASSERT_IMPL(condition, line)
> CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
> #define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int
> static_assert_line_##line[(condition) ? 1 : -1]
>
> int main() {
> CONFIGURE_STATIC_ASSERT(0)
> ; return 0; }
> configure:8254: checking for 64-bit OS
> configure:8263: cl -c -TC -nologo -D_HAS_EXCEPTIONS=0 conftest.c 1>&5
> conftest.c
> configure: error: You are targeting i386 but using the 64-bit compiler.
> *** Fix above errors and then restart with\
>
> "c:/builds/moz2_slave/m-cen-w64-l10n-ntly-0000000000/build/mozilla-central/
> mozmake.exe -f client.mk build"
> client.mk:361: recipe for target 'configure' failed
> configure: error: You are targeting i386 but using the 64-bit compiler.
>
> Progress!
Looks like this is because we don't have the proper target (and possibly host set). Here's an excerpt from the 64-bit build log:
--target=x86_64-pc-mingw32
--host=x86_64-pc-mingw32
checking host system type... x86_64-pc-mingw32
checking target system type... x86_64-pc-mingw32
checking build system type... x86_64-pc-mingw32
And here's what l10n has:
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking build system type... i686-pc-mingw32
Assignee | ||
Comment 6•11 years ago
|
||
Missed this extra include. This file has these in it:
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
Attachment #8555365 -
Flags: review?(rail)
Updated•11 years ago
|
Attachment #8555365 -
Flags: review?(rail) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8555365 [details] [diff] [review]
include thing with target/host definitions
https://hg.mozilla.org/mozilla-central/rev/08e41ea36f6d
Attachment #8555365 -
Flags: checked-in+
Assignee | ||
Comment 8•11 years ago
|
||
More bustage:
c:\mozilla-build\python27\python2.7.exe: can't open file 'c:/builds/moz2_slave/try-w64-0000000000000000000000/build/sccache/sccache.py': [Errno 2] No such file or directory
configure: failed program was:
#line 4179 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
printf("Hello World\n");
; return 0; }
configure: error: $(CC) test failed. You must have MS VC++ in your path to build.
*** Fix above errors and then restart with\
"c:/builds/moz2_slave/try-w64-0000000000000000000000/build/mozmake.exe -f client.mk build"
c:/builds/moz2_slave/try-w64-0000000000000000000000/build/client.mk:361: recipe for target 'configure' failed
mozmake.exe[2]: *** [configure] Error 1
mozmake.exe[2]: Leaving directory 'c:/builds/moz2_slave/try-w64-0000000000000000000000/build'
c:/builds/moz2_slave/try-w64-0000000000000000000000/build/client.mk:375: recipe for target 'c:/builds/moz2_slave/try-w64-0000000000000000000000/build/obj-firefox/Makefile' failed
mozmake.exe[1]: Leaving directory 'c:/builds/moz2_slave/try-w64-0000000000000000000000/build'
mozmake.exe[1]: *** [c:/builds/moz2_slave/try-w64-0000000000000000000000/build/obj-firefox/Makefile] Error 2
client.mk:171: recipe for target 'build' failed
Seems to be happening on all try pushes that include win64.
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Ben Hearsum [:bhearsum] from comment #8)
> More bustage:
> c:\mozilla-build\python27\python2.7.exe: can't open file
> 'c:/builds/moz2_slave/try-w64-0000000000000000000000/build/sccache/sccache.
> py': [Errno 2] No such file or directory
It looks like sccache is grabbed from tooltool. Perhaps that step isn't running for 64-bit builds....
Assignee | ||
Comment 10•11 years ago
|
||
Assignee | ||
Comment 11•11 years ago
|
||
I think this will fix the pushes to try. I don't know why non-try builds work, tbh. Maybe there's some buildbot-configs differences too...
Attachment #8555489 -
Flags: review?(rail)
Updated•11 years ago
|
Attachment #8555489 -
Flags: review?(rail) → review+
Comment 12•11 years ago
|
||
(In reply to Ben Hearsum [:bhearsum] from comment #11)
> Created attachment 8555489 [details] [diff] [review]
> fix win64 sccache
>
> I think this will fix the pushes to try. I don't know why non-try builds
> work, tbh. Maybe there's some buildbot-configs differences too...
sccache is not enabled on windows builds on non-try.
Assignee | ||
Updated•11 years ago
|
Attachment #8555489 -
Flags: checked-in+
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 14•11 years ago
|
||
This is a roll-up patch of all of the mozconfig+tooltool config changes that were needed so far for mozilla-central. There may be additional patches needed (it's not clear yet), but there's no reason not to land this in the meantime. All of this code has been previously reviewed, so not setting r?.
Attachment #8555956 -
Flags: approval-mozilla-aurora?
Comment 15•11 years ago
|
||
Comment on attachment 8555956 [details] [diff] [review]
roll up patch for aurora
Aurora+
Attachment #8555956 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 16•11 years ago
|
||
Comment on attachment 8555956 [details] [diff] [review]
roll up patch for aurora
Landed this on aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/0244a7d16f88
Attachment #8555956 -
Flags: checked-in+
Assignee | ||
Comment 17•11 years ago
|
||
I think we're all done here now. If there's any follow-up work required we'll track it in a new bug.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
status-firefox37:
--- → fixed
status-firefox38:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•