When I do: ./mach run
This is what I get:

firefox-hg $ ./mach run
 0:00.90 /tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile 
/tmp/obj-x86_64-pc-linux-gnu/tmp/scratch_user
JavaScript error: resource://gre/modules/osfile/osfile_shared_allthreads.jsm, 
line 92: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 
(NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]
[2325] WARNING: Cannot create startup observer : 
service,@mozilla.org/weave/service;1: file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/embedding/components/appstartup/nsAppStartupNotifier.cpp,
 line 81
1470246730915   addons.manager  ERROR   Exception loading provider GMPProvider 
from category "resource://gre/modules/addons/GMPProvider.jsm": [Exception... 
"Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) 
[nsIXPCComponents_Utils.import]"  nsresult: "0x80520012 
(NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: 
resource://gre/modules/osfile/osfile_shared_allthreads.jsm :: <TOP_LEVEL> :: 
line 92"  data: no] Stack trace: 
resource://gre/modules/osfile/osfile_shared_allthreads.jsm:92 < 
resource://gre/modules/osfile/osfile_async_front.jsm:28 < 
resource://gre/modules/osfile.jsm:11 < 
resource://gre/modules/addons/GMPProvider.jsm:18 < 
AddonManagerInternal.startup()@resource://gre/modules/AddonManager.jsm:951 < 
this.AddonManagerPrivate.startup()@resource://gre/modules/AddonManager.jsm:3015 
< amManager.prototype.observe()@addonManager.js:71
[2325] ###!!! ASSERTION: What?: '!mDynamicLowerValue', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsContentSink.cpp,
 line 96
[2325] ###!!! ASSERTION: What?: 'mLastSampledUserEventTime == 0', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsContentSink.cpp,
 line 98
[2325] ###!!! ASSERTION: What?: 'mDeflectedCount == 0', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsContentSink.cpp,
 line 99
[2325] ###!!! ASSERTION: What?: 'mInMonolithicContainer == 0', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsContentSink.cpp,
 line 101
[2325] ###!!! ASSERTION: What?: 'mInNotification == 0', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsContentSink.cpp,
 line 102
[2325] ###!!! ASSERTION: What?: '!mDeferredLayoutStart', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsContentSink.cpp,
 line 103
1470246731671   addons.xpi      ERROR   Failed to process extension changes at 
startup: [Exception... "Component returned failure code: 0x80520012 
(NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]"  nsresult: 
"0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: 
resource://gre/modules/osfile/osfile_shared_allthreads.jsm :: <TOP_LEVEL> :: 
line 92"  data: no] Stack trace: 
resource://gre/modules/osfile/osfile_shared_allthreads.jsm:92 < 
resource://gre/modules/osfile/osfile_async_front.jsm:28 < 
resource://gre/modules/osfile.jsm:11 < 
resource://gre/modules/DeferredSave.jsm:11 < 
XPCU_moduleLambda()@resource://gre/modules/XPCOMUtils.jsm:273 < 
XPCU_defineLazyGetter/<.get()@resource://gre/modules/XPCOMUtils.jsm:198 < 
this.XPIDatabase.saveChanges()@resource://gre/modules/addons/XPIProvider.jsm -> 
resource://gre/modules/addons/XPIProviderUtils.js:464 < 
this.XPIDatabase.addAddonMetadata()@resource://gre/modules/addons/XPIProvider.jsm
 -> resource://gre/modules/addons/XPIProviderUtils.js:1298 < 
addMetadata()@resource://gre/modules/addons/XPIProvider.jsm -> 
resource://gre/modules/addons/XPIProviderUtils.js:1736 < 
processFileChanges()@resource://gre/modules/addons/XPIProvider.jsm -> 
resource://gre/modules/addons/XPIProviderUtils.js:2014 < 
this.XPIProvider.checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:3733
 < 
this.XPIProvider.startup()@resource://gre/modules/addons/XPIProvider.jsm:2722 < 
callProvider()@resource://gre/modules/AddonManager.jsm:235 < 
_startProvider()@resource://gre/modules/AddonManager.jsm:787 < 
AddonManagerInternal.startup()@resource://gre/modules/AddonManager.jsm:971 < 
this.AddonManagerPrivate.startup()@resource://gre/modules/AddonManager.jsm:3015 
< amManager.prototype.observe()@addonManager.js:71
JavaScript error: resource://gre/modules/osfile/osfile_shared_allthreads.jsm, 
line 92: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 
(NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]
JavaScript error: resource://gre/modules/osfile/osfile_shared_allthreads.jsm, 
line 92: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 
(NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]
++DOCSHELL 0x7fd78152f000 == 1 [pid = 2325] [id = 1]
++DOMWINDOW == 1 (0x7fd781530800) [pid = 2325] [serial = 1] [outer = (nil)]
++DOMWINDOW == 2 (0x7fd781531800) [pid = 2325] [serial = 2] [outer = 
0x7fd781530800]
[2325] WARNING: NS_ENSURE_TRUE(document) failed: file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/extensions/cookie/nsPermissionManager.cpp,
 line 2004
[2325] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004002: 
file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsDocument.cpp,
 line 5947
JavaScript error: resource://gre/modules/osfile/osfile_shared_allthreads.jsm, 
line 92: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 
(NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]
JavaScript error: resource://gre/modules/osfile/osfile_shared_allthreads.jsm, 
line 92: NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 
(NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]
[2325] WARNING: Unable to read system value: 'aValue > 0', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/xpcom/base/nsSystemInfo.cpp,
 line 908
++DOCSHELL 0x7fd78152d800 == 2 [pid = 2325] [id = 2]
++DOMWINDOW == 3 (0x7fd783898800) [pid = 2325] [serial = 3] [outer = (nil)]
++DOMWINDOW == 4 (0x7fd783899800) [pid = 2325] [serial = 4] [outer = 
0x7fd783898800]
[2325] WARNING: NS_ENSURE_TRUE(document) failed: file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/extensions/cookie/nsPermissionManager.cpp,
 line 2004
[2325] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004002: 
file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsDocument.cpp,
 line 5947
++DOMWINDOW == 5 (0x7fd7838a4800) [pid = 2325] [serial = 5] [outer = 
0x7fd781530800]
[2325] WARNING: NS_ENSURE_TRUE(document) failed: file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/extensions/cookie/nsPermissionManager.cpp,
 line 2004
[2325] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004002: 
file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/base/nsDocument.cpp,
 line 5947
Chrome file doesn't exist: 
/tmp/obj-x86_64-pc-linux-gnu/dist/bin/chrome/toolkit/content/global/printUtils.js
[2325] ###!!! ASSERTION: Double-initing a frame?: '!mContent', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/layout/generic/nsFrame.cpp,
 line 520
[2325] ###!!! ASSERTION: Double-initing a frame?: '!mContent', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/layout/generic/nsFrame.cpp,
 line 520
[2325] ###!!! ASSERTION: Shouldn't happen: '!aNewFrame->GetNextSibling()', file 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/layout/base/nsCSSFrameConstructor.cpp,
 line 1251

Program /tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox (pid = 2325) received 
signal 11.
Stack:
#01: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x4e88e39]
#02: ???[/usr/lib/libpthread.so.0 +0x10f00]
#03: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c72b53]
#04: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3d71236]
#05: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c0f3ef]
#06: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c3bc3b]
#07: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c3c425]
#08: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c59f7e]
#09: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c3d0d7]
#10: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c3d337]
#11: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c3d642]
#12: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c45220]
#13: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3c46a01]
#14: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x3ccd1f8]
#15: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x1ed06fb]
#16: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x191715c]
#17: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x1946050]
#18: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x1933556]
#19: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x1940315]
#20: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0xac7979]
#21: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0xb0b3bb]
#22: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0xf2b00a]
#23: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0xef23da]
#24: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0xef2495]
#25: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x38c9e7c]
#26: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x4529073]
#27: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x45ccb88]
#28: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x45cde66]
#29: XRE_main[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so +0x45ce2ef]
#30: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox +0x6128]
#31: ???[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox +0x5713]
#32: __libc_start_main[/usr/lib/libc.so.6 +0x20741]
#33: _start[/tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox +0x5989]
#34: ??? (???:???)
Sleeping for 300 seconds.
Type 'gdb /tmp/obj-x86_64-pc-linux-gnu/dist/bin/firefox 2325' to attach your 
debugger to this thread.
^CPress any key to continue...



That (first)file exists:

/tmp/obj-x86_64-pc-linux-gnu/dist/bin/modules/osfile/osfile_shared_allthreads.jsm

lrwxrwxrwx 1 z z 138 03.08.2016 13:01 
./dist/bin/modules/osfile/osfile_shared_allthreads.jsm -> 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/toolkit/components/osfile/modules/osfile_shared_allthreads.jsm

I didn't check the other ones, yet.
/tmp is in tmpfs and firefox-hg is on btrfs.

I'm on linux Manjaro(based on Arch linux), Linux myzee 4.7.0-rc6-ga99cde4 #1 
SMP PREEMPT Tue Jul 5 14:42:52 EEST 2016 x86_64 GNU/Linux

some packages versions on my system:
Name            : gtk2
Version         : 2.24.30+95+g876b5f7-1
--
Name            : dbus-glib
Version         : 0.106-1
--
Name            : libxt
Version         : 1.1.5-1
--
Name            : startup-notification
Version         : 0.12-4
--
Name            : mime-types
Version         : 9-1
--
Name            : alsa-lib
Version         : 1.1.1-1
--
Name            : desktop-file-utils
Version         : 0.23-1
--
Name            : hicolor-icon-theme
Version         : 0.15-1
--
Name            : libvpx-git
Version         : v1.5.0.1280.g3e04114-1
Description     : The VP8 and VP9 Codec SDK (git version)
--
Name            : icu
Version         : 57.1-1
--
Name            : libevent
Version         : 2.0.22-2
--
Name            : hunspell
Version         : 1.4.1-1
--
Name            : sqlite
Version         : 3.13.0-1
--
Optional Deps   : None
Required By     : colord  firefox  gnupg  libsoup  nss  python2  qt4  qt5-base  
subversion  webkitgtk2
--
Name            : unzip
Version         : 6.0-12
--
Name            : zip
Version         : 3.0-7
--
Name            : diffutils
Version         : 3.3-3
--
Name            : python2
Version         : 2.7.12-1
--
Name            : yasm
Version         : 1.3.0-1
--
Name            : mesa
Version         : 12.0.1-2
--
Name            : imake
Version         : 1.0.7-1
--
Name            : libpulse
Version         : 9.0.45.g4cd89aa-1
--
Name            : gst-plugins-base-git
Version         : 1.9.1.1.15370.ffa9f04-1
--
Name            : gcc-multilib
Version         : 6.1.1-3
--
Name            : freetype2
Version         : 2.6.5-2
--
Name            : pkg-config
Version         : 0.29.1-1
--
Name            : libnotify
Version         : 0.7.6-2
--
Name            : libidl2
Version         : 0.8.14-4
--
Name            : ccache
Version         : 3.2.7-1
--
Name            : inetutils
Version         : 1.9.4-2
--
Name            : mercurial
Version         : 3.8.3-1
--
Name            : autoconf2.13
Version         : 2.13-4
Description     : A GNU tool for automatically configuring source code (Legacy 
2.1x version)
--
Name            : nss
Version         : 3.25-1
--
Name            : nspr
Version         : 4.12-1
--
Name            : libpng
Version         : 1.6.23-1



Here's my mozconfig, oh wait I can't attach...
pasting:

. $topsrcdir/browser/config/mozconfig

#this was on gentoo:
#www-client/firefox -gmp-autoupdate -gstreamer pulseaudio system-jpeg 
system-icu -system-libvpx system-sqlite -wifi -debug -egl -system-cairo 
-hwaccel jit
#TODO: not found yet: jit, egl, wifi(kinda) gmp-autoupdate hwaccel

#default: build Firefox
ac_add_options --enable-application=browser

#default:
ac_add_options --enable-optimize
ac_add_options --enable-optimize=-O2

# https://developer.mozilla.org/en-US/docs/Configuring_Build_Options
#XXX: no debug from gentoo
#ac_add_options --disable-debug
#ac_add_options --disable-debug-symbols
#ac_add_options --enable-strip

ac_add_options --disable-strip
ac_add_options --enable-debug
ac_add_options --enable-debug-symbols
#^ these two don't seem to show me the symbols on core dump(which is handled by 
journalctl aka systemd)


#speed up? when compiling
#ac_add_options --disable-tests
ac_add_options --enable-tests

ac_add_options --disable-debug-js-modules

#default:
#XXX: mozbuild.configure.options.InvalidOptionError: Unknown option: 
--enable-crypto
#ac_add_options --enable-crypto

ac_add_options --prefix=/usr
#XXX: 0:11.68 mozbuild.configure.options.InvalidOptionError: Unknown option: 
--libdir
#ac_add_options --libdir=/usr/lib

#ac_add_options --enable-official-branding
#^ idno why not, maybe PKGBUILD install() icons?

# System libraries
ac_add_options --with-system-nspr

#ac_add_options --with-system-nss  #nss>=3.26 !! have 3.25 now on Manjaro
ac_add_options --without-system-nss

#XXX: system-jpeg from gentoo
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
ac_add_options --with-system-png
ac_add_options --with-system-libevent

#XXX: not-system-libvpx from gentoo
#ac_add_options --without-system-libvpx
#chromium has system-libvpx:
ac_add_options --with-system-libvpx

ac_add_options --enable-system-hunspell
#XXX: system-sqlite from gentoo
ac_add_options --enable-system-sqlite
ac_add_options --enable-system-ffi

# Features
#ac_add_options --enable-startup-notification
#^ bad because #if defined(MOZ_ENABLE_STARTUP_NOTIFICATION)
# if (mIsX11Display) {
# in a static function, but that field is part of a class!
#so,  0:42.98 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/widget/gtk/nsWindow.cpp:1352:9:
 error: ‘mIsX11Display’ was not declared in this scope


ac_add_options --disable-crashreporter
ac_add_options --disable-updater
# 0:11.46 mozbuild.configure.options.InvalidOptionError: Unknown option: 
--disable-installer
#ac_add_options --disable-installer


#extra security
#can't enable this because compiler errors:
#/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/js/src/gdb/Unified_cpp_js_src_gdb0.i_o:Unified_cpp_js_src_gdb0.cpp:function
 Fragment_Root_barriers::run(JSContext*, char const**&): error: undefined 
reference to '__asan_poison_memory_region'
#ac_add_options --enable-address-sanitizer

#can't enable this because compilation error:
#/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/js/src/vm/Compression.cpp:112:32:
 error: ‘__msan_unpoison’ was not declared in this scope
#ac_add_options --enable-memory-sanitizer

ac_add_options --disable-profiling
ac_add_options --disable-systrace
ac_add_options --disable-valgrind
ac_add_options --disable-jprof
# 0:10.30 mozbuild.configure.options.InvalidOptionError: Unknown option: 
--disable-shark
#ac_add_options --disable-shark
ac_add_options --disable-instruments
ac_add_options --disable-callgrind
ac_add_options --disable-vtune
ac_add_options --disable-cpp-rtti
ac_add_options --enable-gold
#--with-pthreads
ac_add_options --disable-dtrace
ac_add_options --with-x
ac_add_options --disable-printing
#mozbuild.configure.options.InvalidOptionError: Unknown option: 
--disable-gnomevfs
#ac_add_options --disable-gnomevfs
ac_add_options --disable-gio
#ac_add_options --disable-gconf
ac_add_options --disable-libproxy
ac_add_options --disable-gnomeui

#this is optional tho:14:10.76 Notification center failed: Install the python 
dbus module to get a notification when the build finishes.
#ac_add_options --disable-dbus #!!!!
ac_add_options --enable-dbus #!!!!

ac_add_options --disable-websms-backend
ac_add_options --disable-dbm #!!!!
ac_add_options --disable-accessibility

# 0:26.05 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/dom/media/webrtc/MediaEngineCameraVideoSource.h:14:53:
 fatal error: webrtc/video_engine/include/vie_capture.h: No such file or 
directory
#ac_add_options --disable-webrtc
ac_add_options --enable-webrtc


#can't disable this because compilation error
#WebIDL.WebIDLError: error: Unresolved type '<unresolved 
scope>::SpeechSynthesis'., 
/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/dom/bindings/Window.webidl
 line 231:68
ac_add_options --disable-webspeech

#ac_add_options --enable-raw
ac_add_options --disable-raw

#can't disable this because compilation error:
#/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/content/media/ogg/OggWriter.h:10:30:
 fatal error: OpusTrackEncoder.h: No such file or directory
#ac_add_options --disable-opus
# 0:11.00 mozbuild.configure.options.InvalidOptionError: Unknown option: 
--enable-opus
#ac_add_options --enable-opus


#can't disable this because compilation error:
#/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/content/media/mediasource/ContainerParser.cpp:9:32:
 fatal error: WebMBufferedParser.h: No such file or directory
#ac_add_options --disable-webm
#ac_add_options --enable-webm
#mozbuild.configure.options.InvalidOptionError: Unknown option: --enable-webm



ac_add_options --disable-directshow
ac_add_options --disable-wmf
#ac_add_options --disable-ffmpeg
ac_add_options --enable-ffmpeg
#ac_add_options --disable-fmp4
#XXX: mozbuild.configure.options.InvalidOptionError: '--enable-fmp4' implied by 
'--enable-ffmpeg' conflicts with '--disable-fmp4' from the mozconfig
ac_add_options --enable-fmp4


#can't disable this or else compilation error:
#WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::MediaKeys'., 
/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/dom/bindings/HTMLMediaElement.webidl
 line 150:21
#ac_add_options --disable-eme

#can't disable this because compilation error:
#/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/dom/bindings/NavigatorBinding.cpp:1204:9:
 error: ‘class mozilla::dom::Navigator’ has no member named 
‘MozGetUserMediaDevices’
#ac_add_options --disable-media-navigator


ac_add_options --disable-omx-plugin
#unknown option:
#ac_add_options --disable-wave

#ac_add_options --enable-alsa
ac_add_options --disable-alsa


ac_add_options --enable-pulseaudio
#ac_add_options --disable-pulseaudio

#ac_add_options --enable-gstreamer
#XXX: no gstreamer from gentoo
#ac_add_options --disable-gstreamer
#unknown option:
#ac_add_options --enable-gstreamer=1.0
#^ i dno about this! new PKGBUILD has it tho


#see ./configure --help | less
ac_add_options --disable-system-extension-dirs
# https://mxr.mozilla.org/mozilla-central/source/extensions/
ac_add_options --enable-extensions=default,-skipgnomevfs,-skipgio
#ac_add_options --disable-pref-extensions
#ac_add_options --disable-negotiateauth
#ac_add_options --disable-permissions
#ac_add_options --disable-universalchardet


#can't disable this because compilation error:
#WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::Gamepad'., 
/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/obj-x86_64-unknown-linux-gnu/dom/bindings/Navigator.webidl
 line 272:11
#ac_add_options --disable-gamepad


#ac_add_options --disable-libjpeg-turbo
#ac_add_options --enable-tree-freetype
ac_add_options --disable-webapp-runtime
ac_add_options --disable-maintenance-service
ac_add_options --disable-bundled-fonts
ac_add_options --disable-verify-mar
ac_add_options --disable-signmar
ac_add_options --disable-parental-controls
ac_add_options --enable-sandbox
ac_add_options --enable-content-sandbox

#Cannot build Firefox with --disable-feeds
#ac_add_options --disable-feeds

ac_add_options --enable-safe-browsing
#ac_add_options --disable-safe-browsing
#ac_add_options --enable-url-classifier


#can't disable this because compilation error:
#/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/startupcache/StartupCache.cpp:29:26:
 fatal error: nsIZipWriter.h: No such file or directory
#ac_add_options --disable-zipwriter


#ac_add_options --enable-faststripe
#ac_add_options --enable-mobile-optimize
#unknown option:
#ac_add_options --disable-logging
ac_add_options --disable-logrefcnt
ac_add_options --disable-dump-painting
#unknown option:
#ac_add_options --disable-trace-malloc

#ac_add_options --enable-dmd
#ac_add_options --enable-jemalloc

#ac_add_options --enable-trace-jscalls
#ac_add_options --disable-gcincremental
#ac_add_options --disable-gcgenerational
#ac_add_options --enable-gccompacting
#ac_add_options --enable-small-chunk-size
#ac_add_options --enable-gczeal
#ac_add_options --enable-install-strip

#not needed, unless it fails at some point
#ac_add_options --disable-elf-hack

ac_add_options --disable-tasktracer
#unknown option:
#ac_add_options --disable-visual-event-tracer
ac_add_options --disable-stdcxx-compat

ac_add_options --disable-startupcache

ac_add_options --disable-b2g-ril
ac_add_options --disable-b2g-bt
ac_add_options --disable-nfc
ac_add_options --disable-synth-pico
ac_add_options --disable-b2g-camera

#says invalid option, odd:
#ac_add_options --jitreport-granularity=0

#ac_add_options --enable-xterm-updates

#can't disable this because compilation error
#/home/emacs/build/firefox-hg/makepkg/firefox-hg/src/firefox-hg/gfx/2d/convolver.h:38:26:
 fatal error: skia/SkTypes.h: No such file or directory
#ac_add_options --disable-skia

#ac_add_options --enable-system-cairo
#XXX: not-system-cairo from gentoo
ac_add_options --disable-system-cairo
ac_add_options --enable-system-pixman

#//old: trying to avoid a compilation error XPIDL_MODULE cannot be defined 
unless there are XPIDL_SOURCES
# 2:12.39 /tmp/obj-x86_64-pc-linux-gnu/dist/include/nsStyleStruct.h:2641:12: 
error: ‘NS_STYLE_DISPLAY_INLINE_XUL_GRID’ was not declared in this scope
# 2:20.08 
/home/z/build/1packages/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/layout/style/nsStyleStruct.h:2642:12:
 error: ‘NS_STYLE_DISPLAY_INLINE_STACK’ was not declared in this scope
#with this: ac_add_options --disable-xul
#ac_add_options --enable-xul #this is the default

#unknown option:
#ac_add_options --enable-profilelocking
#XXX: no wifi from gentoo
ac_add_options --disable-necko-wifi
#ac_add_options --disable-cookies

ac_add_options --disable-ctypes

#XXX: system-icu from gentoo
ac_add_options --with-system-icu
ac_add_options --without-intl-api


#tisdone: must update ccache or else -fprofile-generate  is not recognized and 
thus not ccached! >3.1.9  >=3.2.0 to be sure!

#FIXME: currently getting this error and don't know what causes it, doesn't 
seem to be these options, must be something else that changed because it worked 
ok before.
#configure: error: Your toolchain does not support C++0x/C++11 mode properly. 
Please upgrade your toolchain

# PGO
#commented out to prevent lockup when compiling:
#mk_add_options MOZ_PGO=1
#mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 $(MAKE) -C $(MOZ_OBJDIR) 
pgo-profile-run'
# autoconf
mk_add_options AUTOCONF=autoconf-2.13

# tell firefox to use python2 because python points to python3 in arch
mk_add_options PYTHON=/usr/bin/python2

#this is actually auto selected to be right, but I wanna be sure, because I've 
seen only 3 cc1plus most of the time with 'top'
mk_add_options MOZ_MAKE_FLAGS="-j4"


#this seems useless! because if I delete MOZ_OBJDIR it will ccache miss 
everything basically; ok nevermind, it seems to work now - reran after 
successful compile and it does get hundreds of hits!
ac_add_options --with-ccache=/usr/bin/ccache


#src: 
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options
mk_add_options MOZ_OBJDIR=/tmp/obj-@CONFIG_GUESS@

# vim:set ft=sh:



Any suggestions are welcome. Thanks in advance!
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to