Closed Bug 1277189 Opened 8 years ago Closed 8 years ago

Upgrade to NDK r11c on builders to avoid x86 miscompile

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

task
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
Tracking Status
firefox50 --- fixed

People

(Reporter: xidorn, Assigned: froydnj)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1165460 +++

It seems crash in bug 1273048 is due to a miscompile from the NDK compiler, and according to glandium from IRC, NDK r11c would bring us a compiler which has the fix of that issue.
James, do you want to take care of this?
Flags: needinfo?(snorp)
BTW, do we have any plan to use Clang rather than GCC for Android build? It seems GCC is deprecated in the NDK since r11 and would no longer get upgrade for anything other than some miscompile and ICE cases.
(In reply to Xidorn Quan [:xidorn] (PTO June 6 ~ 10) from comment #2)
> BTW, do we have any plan to use Clang rather than GCC for Android build? It
> seems GCC is deprecated in the NDK since r11 and would no longer get upgrade
> for anything other than some miscompile and ICE cases.

Nathan and I have talked about it. He thinks it should be doable. He also updated the NDK last, so maybe he has a script for this?
Flags: needinfo?(snorp) → needinfo?(nfroyd)
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #3)
> (In reply to Xidorn Quan [:xidorn] (PTO June 6 ~ 10) from comment #2)
> > BTW, do we have any plan to use Clang rather than GCC for Android build? It
> > seems GCC is deprecated in the NDK since r11 and would no longer get upgrade
> > for anything other than some miscompile and ICE cases.
> 
> Nathan and I have talked about it. He thinks it should be doable. He also
> updated the NDK last, so maybe he has a script for this?

Yeah, I'll whip together a tarball and upgrade.  I'm also working on getting clang support more polished, though it sounds like a lot of the hard parts are being done in glandium's mega-rewrite of the build system. ;)
Assignee: nobody → nfroyd
Flags: needinfo?(nfroyd)
Oh, the clang-on-android bug is bug 1163171, if anybody wants to follow along.
Here are the tooltool changes.  Apparently we should have moved x86 to r11b,
but didn't; this patch corrects that mistake.
Attachment #8761373 - Flags: review?(snorp)
Attachment #8761373 - Flags: review?(snorp) → review+
https://hg.mozilla.org/mozilla-central/rev/c9231cfab7da
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: