Closed Bug 1125921 Opened 11 years ago Closed 11 years ago

add win64 mozconfigs

Categories

(Release Engineering :: Release Automation, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(firefox37 fixed, firefox38 fixed)

RESOLVED FIXED
Tracking Status
firefox37 --- fixed
firefox38 --- fixed

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(5 files)

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.
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: nobody → bhearsum
Status: NEW → ASSIGNED
Attachment #8554680 - Flags: review?(rail)
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)
Attachment #8554680 - Flags: review?(rail) → review+
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-
Attachment #8554680 - Flags: checked-in+
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!
Depends on: 1126383
(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
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)
Attachment #8555365 - Flags: review?(rail) → review+
Attachment #8555365 - Flags: checked-in+
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.
(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....
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)
Attachment #8555489 - Flags: review?(rail) → review+
(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.
Attachment #8555489 - Flags: checked-in+
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 on attachment 8555956 [details] [diff] [review] roll up patch for aurora Aurora+
Attachment #8555956 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Attachment #8555956 - Flags: checked-in+
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: