Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Nathan Froyd ade9d452f7 Bug 1412983 - part 6 - compile headers for cross-compilers during configure; r=ted.mielczarek
Our toolchain detection logic checks whether we can reuse the target
C (resp. C++) compiler for the host compiler.  This is generally only
applicable in the not-cross-compiling case, but we had special logic to
check for clang in the cross-compiling case and accept it, as clang is
able to generate code for multiple architectures from a single compiler
binary.

Our recent switch to clang on Android has exposed a problem in this
logic: we would never check whether the target clang, compiling for the
host, could actually find the host's headers.  This was especially
problematic on OS X hosts, where the host clang contains special logic
to grovel inside the XCode installation to find C++ headers.  The clang
from the NDK, however, was ignorant of the XCode installation.
Therefore, the NDK clang would happily compile code for the host, even
including C headers for the host, but would be hopelessly lost when it
came to compiling C++ headers during the actual build.

In hopes of mitigating this, we now include a check for a representative
header for C and C++ when checking compilers for each of those
languages.  This check will detect such problems as the above, and will
also alert people to potentially misconfigured compilers in other
situations.

We need to modify our test framework to cope with headers being
included, since our mock environment isn't actually equipped with a full
set of compilers and headers.
2017-11-15 10:12:22 -05:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
browser Merge inbound to mozilla-central r=merge a=merge 2017-11-14 22:37:02 +02:00
build Bug 1412983 - part 6 - compile headers for cross-compilers during configure; r=ted.mielczarek 2017-11-15 10:12:22 -05:00
caps Bug 1414755 - Get rid of ContentPrincipalInfoOriginNoSuffix, r=bz, r=bkelly 2017-11-15 11:19:26 +01:00
chrome Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame 2017-11-03 17:08:34 -07:00
config Bug 1405993 - Part 3: Update in-tree ICU to release 60.1. rs=Waldo 2017-11-01 11:56:15 -07:00
db Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium 2017-10-25 15:12:09 -07:00
devtools Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
docshell Bug 1412195 - Track all changes to TabChild active state (r=bevis) 2017-11-11 21:04:20 -08:00
dom Bug 1417365 - Unified build issues in dom/clients. r=baku 2017-10-26 12:59:32 +01:00
editor Bug 1416622 - Tighten up libpref's process checking. r=glandium 2017-11-13 09:19:55 +11:00
embedding
extensions Bug 1416947 - Add fugacious, fugaciously and fugaciousness to the en-US dictionary. r=jet 2017-11-14 07:48:01 +07:00
gfx Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
gradle/wrapper Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu 2017-10-16 15:09:15 -07:00
hal Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
image Bug 1417021 - Fix various non-unified build errors in imagelib. r=aosmond 2017-10-24 23:22:55 +01:00
intl Bug 1405993 - Part 6: Regenerate Unicode files after ICU update. r=jfkthame 2017-11-01 12:10:08 -07:00
ipc Bug 1414755 - Get rid of ContentPrincipalInfoOriginNoSuffix, r=bz, r=bkelly 2017-11-15 11:19:26 +01:00
js Bug 1417038 part 2 - Shrink ExitFooterFrame to one word. r=nbp 2017-11-15 14:39:39 +01:00
layout Bug 1382427 - Support running reftest in a mode that runs the test with Retained Display lists on, and references with it off. r=mattwoodrow 2017-10-31 09:44:17 +00:00
media Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
memory Bug 1402283 - Fix typo. r+a=RyanVM 2017-11-10 17:07:27 -05:00
mfbt Bug 1410186 - turn Maybe assertions into release assertions; r=bkelly 2017-11-09 12:27:51 -05:00
mobile Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
modules Backed out changeset c2bf7ca0839c (bug 1382427) for failing reftests r=backout on a CLOSED TREE 2017-11-15 14:22:43 +02:00
mozglue Bug 1411712 - Move symbol version script flags for arm in mozglue to moz.build. r=mshal 2017-11-02 11:47:48 -07:00
netwerk Bug 1413622 - Add a check to avoid a division by zero. r=mayhemer 2017-11-15 15:01:11 +01:00
nsprpub Bug 1393854, land NSPR_4_18_RTM, no code change, only version numbers, r=me 2017-09-19 18:43:02 +02:00
other-licenses Bug 1413568 - Update installer icons. r=mconley 2017-11-02 08:34:22 -07:00
parser Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
python Bug 1412983 - part 6 - compile headers for cross-compilers during configure; r=ted.mielczarek 2017-11-15 10:12:22 -05:00
rdf Bug 1416164 - Replace NS_NOTYETIMPLEMENTED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2017-10-25 00:37:02 -07:00
security No bug, Automated HPKP preload list update from host bld-linux64-spot-038 - a=hpkp-update 2017-11-14 11:51:23 -08:00
services Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2017-11-12 21:22:25 -05:00
servo servo: Merge #19213 - Stop using "alternate" rustc builds (from servo:nightly); r=nox 2017-11-14 02:18:20 -06:00
startupcache Bug 1408017 - Clear gStartupCacheWrapper in the dtor. r=froydnj 2017-10-26 16:47:27 -04:00
storage Bug 1413501 - Fix for SpinningSynchronousClose unregisterConnection edge-case. r=mak 2017-11-08 10:11:27 -08:00
taskcluster Merge autoland to mozilla-central r=merge a=merge 2017-11-14 00:55:33 +02:00
testing Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
third_party Bug 1415150 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2017-11-10 10:55:12 -05:00
toolkit Bug 1393041 - Refactor and share the telemetry c++ utility functions in gtests. r=dexter 2017-11-14 12:07:00 +01:00
tools Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
uriloader Bug 1389836 - Don't recreate mHandlerInfo for every little change. r=bz 2017-11-14 15:37:47 -08:00
view Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
widget Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
xpcom Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
xpfe Bug 1414974 - Part 3: Move Get{Inner,Outer}WindowWithId onto the specific subclasses, r=smaug 2017-11-09 10:44:47 -05:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout 2017-10-31 16:20:11 +01:00
.clang-tidy
.cron.yml No Bug - Move periodic file update start time earlier, to reflect when buildbot used to run. r=me 2017-10-20 11:17:50 -04:00
.eslintignore Bug 1416151 - Moving websocket code and tests in dom/websocket, r=qdot 2017-11-10 12:00:33 +01:00
.eslintrc.js Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1412930 - Package localized prerendered files. r=k88hudson 2017-10-30 13:13:35 -07:00
.hgignore Bug 1410341 - add toolchains.json to .hgignore;r=jmaher 2017-10-20 10:53:20 +02:00
.hgtags No bug - Tagging mozilla-central 1f91961bb79ad06fd4caef9e5dfd546afd5bf42c with FIREFOX_NIGHTLY_58_END. a=release DONTBUILD CLOSED TREE 2017-11-12 21:12:59 -05:00
.inferconfig
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml Bug 1409577 - Add static indexes to decision task r=dustin 2017-10-18 11:55:01 -04:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland 2017-11-06 15:23:47 +02:00
client.mk Bug 1416020 - Remove echo-variable-% target from client.mk; r=nalexander 2017-11-09 14:26:55 -08:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
CLOBBER Bug 1405993 - Part 7: Updating ICU requires a clobber. r=clobber 2017-11-14 03:11:25 -08:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
GNUmakefile
gradle.properties Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu 2017-07-18 17:59:57 -07:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1412932 - Switch to PGO build in Makefile.in; r=ted 2017-11-07 16:38:39 -08:00
moz.build Bug 1410911 - back out bug 1403322; r=gbrown 2017-11-10 18:19:47 +00:00
moz.configure Bug 1415686 - Ensure both configure and old-configure agree on what MOZ_DEBUG means. r=chmanchester 2017-11-09 07:41:21 +09:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
old-configure.in Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
package.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
README.txt
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/