Closed
Bug 1129499
Opened 10 years ago
Closed 10 years ago
Update clang version on B2G Desktop OS X builders
Categories
(Release Engineering :: General, defect)
Tracking
(firefox38 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
1.36 KB,
patch
|
rail
:
review+
|
Details | Diff | Splinter Review |
As noted in bug 1128576 comment 3, we need to update the clang version on our b2g osx builds -- it's stuck on an old version that has a bug with handling of the "override" C++ keyword.
Not sure what revision we should bump it to - hopefully glandium might know? IIUC, our other clang-based builders already use a more recent version, so we probably just want to match them.
Here's a Try run with a red build due to this issue:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=77cada79a209
(It only shows up on the debug build because the code where we're hitting the issue happens to be #ifdef DEBUG.)
Assignee | ||
Comment 1•10 years ago
|
||
(needinfo=glandium to add any other information / dependencies / CC's that might be needed here.)
Flags: needinfo?(mh+mozilla)
Comment 2•10 years ago
|
||
Just synchronize with what we're using for desktop browser builds.
Flags: needinfo?(mh+mozilla)
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(catlee)
Assignee | ||
Comment 3•10 years ago
|
||
I'm not 100% sure, but I'm guessing that means we'd need to update this file...
http://mxr.mozilla.org/mozilla-central/source/b2g/config/tooltool-manifests/macosx64/releng.manifest
...to have the same "clang_version" as this file...
http://mxr.mozilla.org/mozilla-central/source/browser/config/tooltool-manifests/macosx64/releng.manifest
Assignee | ||
Comment 4•10 years ago
|
||
...and hg blame says Rail last upgraded clang_version on the other builders in bug 870173 -- he must've just missed the b2g-on-OSX manifest in that bug.
Rail, perhaps you can take this?
Depends on: 870173
Flags: needinfo?(catlee) → needinfo?(rail)
Comment 5•10 years ago
|
||
clang_version is essentially indicative only. what needs to be updates is the sha512 and the size for clang.tar.bz2.
Comment 6•10 years ago
|
||
I probably just updated the hashes... The procedure is documented at https://wiki.mozilla.org/ReleaseEngineering/How_To/Clang_update
It requires some changes in the m-c tree to reflect the used version and the final binaries (or someone from releng can reproduce them for you).
BTW, ehsan had some issues with clang in bug 1123386
Flags: needinfo?(rail)
Assignee | ||
Comment 7•10 years ago
|
||
Thanks!
(In reply to Rail Aliiev [:rail] from comment #6)
> BTW, ehsan had some issues with clang in bug 1123386
I've only skimmed that bug, but I suspect that's orthogonal to the update we're talking about here. Here, I'm just wanting us to use the same (already-built, or at least already-being-built) clang version to compile b2g-on-OSX as we use to compile firefox-on-OSX.
Whereas bug 1123386 is about tweaking how we build clang itself, IIUC.
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #6)
> I probably just updated the hashes...
I'm not clear on whether this (on its own) was supposed to fix this or not (it sounded like maybe it was, based on comment 5). But FWIW, I just checked & verified that we're still using the same old clang version, based on a mozilla-inbound B2G Desktop OS X build log from today.
Rail, do you know what the next steps are here?
Flags: needinfo?(rail)
Comment 9•10 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #8)
> Rail, do you know what the next steps are here?
1) Figure out what version of clang we want to update to.
2) http://hg.mozilla.org/mozilla-central/file/default/build/unix/build-clang is what people use to simplify building and generating tooltool manifests
3) https://wiki.mozilla.org/ReleaseEngineering/Applications/Tooltool#How_to_upload_to_tooltool describes how to upload the files to tooltool without depending on a releng person. This should help testing new versions and iterating faster.
4) Once the built archive is uploaded to tooltool, you can update http://hg.mozilla.org/mozilla-central/file/default/browser/config/tooltool-manifests/macosx64/releng.manifest by the manifest generated in 2) and push to try to test
Feel free to poke me on IRC or here if something is not clear.
Flags: needinfo?(rail)
Comment 10•10 years ago
|
||
Again, the point of this bug is *not* to upgrade clang for Firefox builds. The point is to make the b2g desktop builds use the same clang as the Firefox builds. That is, synchronize b2g/config/tooltool-manifests/macosx64/releng.manifest and browser/config/tooltool-manifests/macosx64/releng.manifest
Comment 11•10 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #10)
> Again, the point of this bug is *not* to upgrade clang for Firefox builds.
> The point is to make the b2g desktop builds use the same clang as the
> Firefox builds. That is, synchronize
> b2g/config/tooltool-manifests/macosx64/releng.manifest and
> browser/config/tooltool-manifests/macosx64/releng.manifest
Oh! Sorry, I misunderstood the point.
Just copy the manifest over and run it through try then?
Assignee | ||
Comment 12•10 years ago
|
||
OK, I think this should do it then.
Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1f819db4985b
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
OS: Linux → Mac OS X
Hardware: x86_64 → All
Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8561129 [details] [diff] [review]
update releng.manifest for b2g clang build on OSX
Looks good on Try. The build log contains:
{
"clang_version": "r183744"
}
http://ftp.mozilla.org/pub/mozilla.org/b2g/try-builds/dholbert@mozilla.com-1f819db4985b/try-macosx64_gecko-debug/try-macosx64_gecko-debug-bm87-try1-build3265.txt.gz
...which seems to indicate that this did work. (A build log from a separate Try run without the patch has "clang_version": "r170890" instead.)
Also, a separate Try run with this patch *and* bug 1128576's patch is green:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a10fdab84e14
...which shows that this update does indeed prevent the bustage that prompted me to file this bug in the first place. Hooray!
Attachment #8561129 -
Flags: review?(rail)
Updated•10 years ago
|
Attachment #8561129 -
Flags: review?(rail) → review+
Assignee | ||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•