gecko-dev/build
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
..
annotationProcessors Bug 1378410 - 1. Support BuildFlag annotation for generated bindings; r=snorp 2017-09-01 14:02:29 -04:00
autoconf Bug 1415453 - Use vfpv3-d16 as default on Android/arm. r=froydnj 2017-11-10 16:47:21 +09:00
build-clang Bug 1415699 - Apply LLVM patches needed to support code coverage on Windows. r=froydnj 2017-11-08 22:44:15 +01:00
clang-plugin Bug 1405993 - Part 1: Don't report warnings for sprintf calls in ICU. r=mystor 2017-11-01 11:47:59 -07:00
compare-mozconfig Bug 1415365 - Run compare-mozconfigs for all platforms; r=mshal 2017-11-07 16:19:26 -08:00
docs Bug 1407678 - Make windows_toolchain.py support VS2017. r=mshal DONTBUILD 2017-11-02 11:10:39 -04:00
macosx Bug 1412057 - Do not attempt to enable the clang plugin in mozconfigs during artifact builds on try. r=nalexander 2017-10-26 13:04:54 -07:00
mobile Bug 1417006 - remove tombstone files but keep the directory. r=dminor 2017-11-13 16:10:35 +08:00
moz.configure Bug 1412983 - part 6 - compile headers for cross-compilers during configure; r=ted.mielczarek 2017-11-15 10:12:22 -05:00
package/mac_osx
pgo Bug 1409259 - Add browser console test for the distrust console message r=keeler,ttaubert 2017-11-01 20:59:33 -07:00
pymake
release
sanitizers Bug 1363976 - Suppress global_style_data for LSAN. r=bholley 2017-08-07 19:55:51 -05:00
sparse-profiles bug 1412690 - add {promote,publish}_{fennec,firefox} target task methods. r=rail 2017-10-29 17:10:42 -07:00
tests/cram Bug 1411462 - Abort when I/O error seen; r=glandium 2017-11-09 20:44:10 -08:00
unix Bug 1407388 - Remove build/unix/elfhack/inject/Makefile.in and replace with generated files. r=mshal 2017-11-07 16:54:22 -08:00
util Bug 1338210 - Set threshold for num_static_constructor alerts to 3 r=jmaher 2017-03-10 13:53:08 -05:00
valgrind Bug 1394696 - stylo: Suppress valgrind warning. r=jseward 2017-09-20 09:19:18 -07:00
win32 Bug 1413675 - Downgrade to Windows SDK 10.0.15063.0 to fix clang builds. r=froydnj 2017-11-03 09:26:58 -04:00
win64 Bug 1413675 - Downgrade to Windows SDK 10.0.15063.0 to fix clang builds. r=froydnj 2017-11-03 09:26:58 -04:00
__init__.py
.gdbinit_python.in Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.lldbinit.in
appini_header.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
application.ini.in Bug 1330875 - Remove MOZ_APP_STATIC_INI. r=mshal 2017-01-13 14:51:07 +09:00
automation-build.mk
automation.py.in Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj 2017-09-28 11:00:09 +09:00
binary-location.mk
buildconfig.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
cargo-linker Bug 1329737 - part 3 - use an alternate linker for Cargo invocations; r=rillian 2017-04-28 14:06:41 -04:00
checksums.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
defines.sh
dumbmake-dependencies Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans 2017-05-15 18:53:19 +02:00
gecko_templates.mozbuild Bug 1407468 - Replace multiple !JS_STANDALONE with MOZ_WIDGET_TOOLKIT. r=mshal 2017-10-05 14:50:01 +09:00
gen_test_backend.py Bug 1345109 - Delete 'JS_STANDALONE' from EmptyConfig when generating test metadata, r=mshal 2017-03-07 10:56:22 -05:00
gen_test_packages_manifest.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
genrc.sh
gyp_base.mozbuild Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
gyp.mozbuild Bug 1410090 - Remove remnant of FFOS OMX code. r=cpearce 2017-10-19 16:51:04 +02:00
mach_bootstrap.py Bug 1410773: Add optional comm-central virtualenv manifest; r=nalexander 2017-10-22 13:40:20 -06:00
Makefile.in
moz-automation.mk Bug 1393607 Do not package tests if they are not enabled r=mshal 2017-08-29 12:34:40 -05:00
moz.build Bug 1411462 - Add test for configure --help; r=glandium 2017-10-24 17:10:55 -07:00
mozconfig.artifact Bug 1373150 - Disable compile environment on l10n builds. r=Callek 2017-06-15 15:06:45 +09:00
mozconfig.artifact.automation Bug 1412057 - Do not attempt to enable the clang plugin in mozconfigs during artifact builds on try. r=nalexander 2017-10-26 13:04:54 -07:00
mozconfig.automation Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout 2017-08-16 17:26:08 -07:00
mozconfig.cache Bug 1415971 - Inline sccache.mk into client.mk; r=nalexander 2017-11-09 14:59:06 -08:00
mozconfig.clang-cl Bug 1343713 - Avoid mozconfig failures when clang-cl/msvc are not present. r=ted 2017-03-01 11:10:14 +09:00
mozconfig.comm-support Bug 1410475: Add support for detecting whether c-c is topdir in mozconfigs; r=mshal 2017-10-19 13:56:13 -06:00
mozconfig.common Bug 1382502 - Include mozconfig.cache in most cases. r=ted 2017-07-20 11:07:53 +09:00
mozconfig.common.override
mozconfig.no-compile Bug 1384786 - Fix try artifact builds after bug 1382502. r=gps 2017-07-27 14:02:39 +09:00
mozconfig.rust Bug 1261841 part 5 - Enable explicit SIMD in Rust in automation infra. r=froydnj. 2017-06-13 13:24:54 +03:00
mozconfig.stylo Bug 1384258 - Build Stylo by default. r=chmanchester 2017-07-25 14:29:52 -07:00
mozconfig.vs-common
mozconfig.win-common Bug 1333826 - Remove all references to MOZ_AUTOMATION_SDK, r=mshal 2017-01-25 12:30:49 -05:00
prebuilt-interfaces.manifest
qemu-wrap
rebuild-backend.mk Bug 1320194 - Use 'wildcard' instead of dummy rules when re-generating build backends, r=glandium 2017-02-10 16:29:29 -05:00
subconfigure.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
submit_telemetry_data.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
telemetry-schema.json
templates.mozbuild Bug 1403346 - Implement ALLOW_COMPILER_WARNINGS as a template. r=glandium 2017-10-25 15:12:09 -07:00
test_templates.mozbuild
update-settings.ini
upload_generated_sources.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
upload.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
variables.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
virtualenv_packages.txt Bug 1399800 - integrate pytest and add initial tests r=jmaher 2017-10-24 14:20:01 +03:00
windows_toolchain.py Bug 1407678 - Make windows_toolchain.py support VS2017: enter empty line to make flake8 happy. r=linting-fix DONTBUILD 2017-11-02 18:29:27 +01:00