Open Bug 1399394 Opened 3 years ago Updated 23 days ago
Support code coverage builds on Mac
No description provided.
From bug 1381069 comment 8: > Update: With the fix in Bug 1409747 (thanks :marco) applied locally to > latest inbound, my osx ccov build finishes now - but when I startup Firefox > it errors out with: > > Roberts-MacBook-Pro-1903:mozilla-unified rwood$ ./mach run > 0:00.69 > /Users/rwood/mozilla-unified/obj-x86_64-apple-darwin16.7.0/dist/NightlyDebug. > app/Contents/MacOS/firefox -no-remote -foreground -profile > /Users/rwood/mozilla-unified/obj-x86_64-apple-darwin16.7.0/tmp/scratch_user > Assertion failure: Storage<T>::initialized(), at > /Users/rwood/mozilla-unified/obj-x86_64-apple-darwin16.7.0/dist/include/ > mozilla/ThreadLocal.h:225 I'll see if I can reproduce the same crash tomorrow or Friday.
I've managed to get a working build using the following mozconfig: > ac_add_options --disable-install-strip > ac_add_options --disable-jemalloc > ac_add_options --disable-elf-hack > ac_add_options --enable-debug > ac_add_options --enable-debug-symbols > ac_add_options --disable-sandbox > ac_add_options --enable-coverage > > export CFLAGS="--coverage" > export CXXFLAGS="--coverage" > export LDFLAGS="--coverage" Revision: f7c7cb48610c. Clang version: Apple LLVM version 9.0.0 (clang-900.0.38). OS X version: 10.13.
Assignee: jyuen1 → nobody
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
After we fix bug 1495683, we should start to schedule the build (at least weekly) so we notice regressions earlier.
Attachment #9022242 - Flags: review?(jmaher) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0d0fab4a52f7 Run Mac coverage builds on mozilla-central pushes, without running its tests. r=jmaher
You need to log in before you can comment on or make changes to this bug.