Closed
Bug 1026162
(asan-macbuilds)
Opened 10 years ago
Closed 7 years ago
Automate Mac ASan builds and make them publicly available (like Linux builds)
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: smichaud, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: sec-want, Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3320] )
Attachments
(1 file)
15.56 KB,
text/plain
|
Details |
Current documentation on ASan builds is here:
https://developer.mozilla.org/en-US/docs/Mozilla/Testing/Firefox_and_Address_Sanitizer
As this doc says, nightly Linux trunk ASan builds are currently available. But this isn't yet true for Mac builds.
Currently I'm doing Mac ASan builds "by hand", about once a week, and am making them available here:
http://people.mozilla.org/~stmichaud/bmo/firefox-asan.dmg
Instructions for how I do these builds are available here:
http://people.mozilla.org/~stmichaud/bmo/firefox-asan-howto.txt
But these builds should really be automated and done nightly, like the Linux builds.
Updated•10 years ago
|
Blocks: asan-maintenance
Keywords: sec-want
Reporter | ||
Comment 1•10 years ago
|
||
In the week since my "hand made" builds were first available, they've been instrumental in finding three bugs, two of which are security-sensitive. So Mac ASan builds are clearly useful.
Automating these builds (and making them publicly available as nightlies) will enhance their usefulness, increase the number of users, and presumably increase the number of bugs found.
Comment 2•10 years ago
|
||
Who can we assign this to?
Comment 3•10 years ago
|
||
This is a release engineering bug as opposed to a core build system bug.
Component: Build Config → Release Automation
Product: Core → Release Engineering
QA Contact: bhearsum
Updated•10 years ago
|
Component: Release Automation → General Automation
QA Contact: bhearsum → catlee
Comment 4•10 years ago
|
||
I can certainly help with some of the TODOs here, especially getting the newer Clang to work. But I'd have to get a Mac for this, I assume. And we should make it part of the Q3 goals then.
Reporter | ||
Comment 5•10 years ago
|
||
> especially getting the newer Clang to work
I've had much better luck with LLVM revision 208032 (which I *think* corresponds to the 3.4.1 release) than with 200213. But use of 208032 is currently blocked by bug 982693.
With both 200213 and 208032, you need to add the following cmake parameter to build llvm successfully on OS X 10.7:
-DLLVM_ENABLE_LIBCXX:BOOL=ON
Comment 6•10 years ago
|
||
Thanks, that valuable information Steven :)
If 208032 works better, we might as well target that version for the next ASan Clang upgrade, also on Linux :)
Updated•10 years ago
|
Alias: asan-macbuilds
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3313]
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3313] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3318]
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3318] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/3320]
Reporter | ||
Comment 7•9 years ago
|
||
I'm going to be retiring in the next few months, and my people.mozilla.org account will presumably disappear. In anticipation of that (and in case I forget), I'm attaching the latest revision of my instructions for doing a Mac ASan build "by hand".
I'm no longer doing these builds -- I stopped some months ago.
Comment 8•7 years ago
|
||
FWIW I think this is now unblocked. I can create local ASan builds on Mac without issue.
Comment 9•7 years ago
|
||
Done in 1421728.
Fuzzing ASan builds are now available from taskcluster, eg. latest: https://tools.taskcluster.net/index/gecko.v2.mozilla-central.latest.firefox/macosx64-fuzzing-asan-opt
Assignee | ||
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
•