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 24e95d7e5e Bug 1395722 - link openssl statically when building sccache; r=ted.mielczarek
Our current sccache build links in openssl's libraries dynamically.  The
sonames of the dynamic libraries linked in are specific to the
CentOS/Fedora-ish systems that we build on; attempting to run the
generated sccache binaries on different systems (e.g. Debian-ish) will
result in failure.  All of our current automation images are
CentOS-based, but for various reasons, Debian-based images may be used
in the future, and it would be great to have an sccache binary to run on
such systems as well.  (It might also be interesting to distribute the
sccache binary we use to local developers as well, but that's a bit
further off.)

Therefore, this patch alters the sccache build on Linux to use static
linking for openssl.  We cannot use the system openssl we build on
because the system openssl links to libkrb5, and the distribution we use
for the system images does not provide static libraries of libkrb5.
Building openssl ourself enables us to eliminate the libkrb5 dependency.

An sccache binary from builds with this patch depends on the following
libraries:

froydnj@hawkeye:~$ ldd sccache2/sccache
	linux-vdso.so.1 =>  (0x00007ffe02b39000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff0e7403000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ff0e71fb000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff0e6fdd000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff0e6dc6000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff0e69fc000)
	/lib64/ld-linux-x86-64.so.2 (0x0000557c8540b000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff0e66f2000)

which are standard on any Linux distribution.
2017-09-05 11:37:51 -04:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Bug 1393987 - Add in-process client information to Accessibility Instantiator support info. r=eeejay 2017-09-01 16:17:46 -05:00
addon-sdk Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop 2017-08-30 01:50:27 -07:00
browser merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-05 12:38:47 +02:00
build Bug 1378410 - 2a. Expose set to moz.build sandbox; r=gps 2017-09-01 14:02:30 -04:00
caps Bug 1387993 - Enable chrome mochitests on linux debug build. r=jmaher 2017-08-30 10:18:30 +10:00
chrome Backed out changeset 05fc8d2d7ca9 (bug 863246) for failing various reftests, e.g. parser/htmlparser/tests/reftest/bug535530-2.html. r=backout on a CLOSED TREE 2017-08-25 16:44:40 +02:00
config merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-01 10:38:51 +02:00
db Bug 1393526 - Upgrade to SQLite 3.20.1. r=mak 2017-08-24 14:50:48 -04:00
devtools Bug 1382341 - removed this._remove() from onWindowReady; r=pbro 2017-09-05 15:23:18 +02:00
docshell Bug 1395948: Move blocking of toplevel data: URI navigations before opening a new window. r=smaug 2017-09-05 12:56:43 +02:00
dom merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-05 11:40:49 +02:00
editor Bug 1395828 (part 3) - Remove AssertParserServiceIsCorrect(). r=mrbkap. 2017-09-04 15:45:07 +10:00
embedding
extensions Bug 1392842 - Add intermittency and intermittence to the en-US dictionary. r=ehsan 2017-08-23 07:48:31 +07:00
gfx Bug 1396474: When aSetTransform is false, do not rely on the current DT transform when returning the output transform. r=mattwoodrow 2017-09-05 15:13:40 +02:00
gradle/wrapper
hal Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj 2017-08-11 17:45:18 -07:00
image Backed out changeset e273a191e75d (bug 1370412) for Windows gtest failures. 2017-09-05 09:37:11 -04:00
intl merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-02 10:54:44 +02:00
ipc Bug 1255894: Part 9 - Allow returning non-copyable types in async IPDL methods. r=kanru 2017-08-27 18:57:30 -07:00
js Bug 1282408 - Add ignore-initialization-check annotation to which_ from CalleeDesc. r=jorendorff 2016-09-27 17:29:33 +02:00
layout Bug 1395828 (part 3.2) - Remove assertion expectation for 415394-1.xhtml to fix unexpected passes. r=expectation-update 2017-09-05 15:24:06 +02:00
media Bug 1394591 - P6. Simplify some internal codec mimetype. r=gerald 2017-09-01 23:04:39 +02:00
memory Bug 1395776 - Make _recalloc, _expand and _msize go through replace-malloc when enabled. r=njn 2017-08-31 14:17:49 +09:00
mfbt Bug 1279171 - Do not use WMF when application is in Windows pre-2000 compatibility mode. r=froydnj 2017-08-24 11:46:56 +08:00
mobile merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-05 11:40:49 +02:00
modules Bug 1370412 - Part 1. Add preference to control "factor of 2" mode for ImageSurfaceCache. r=tnikkel 2017-09-05 07:58:44 -04:00
mozglue Bug 1395776 - Fold replace-malloc into mozjemalloc. r=njn 2017-08-31 12:02:01 +09:00
netwerk merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-05 11:40:49 +02:00
nsprpub Bug 1393854, NSPR_4_17_BETA1 2017-08-25 19:01:51 +02:00
other-licenses Bug 1381916 - Remove support for plugins on Android r=jchen,bsmedberg 2017-07-31 12:25:16 -05:00
parser Bug 1395828 (part 2) - Rename nsHTMLTags methods. r=mrbkap. 2017-09-01 19:42:42 +10:00
probes
python Backed out 5 changesets (bug 1277338) for a microscopic speck of flake8 lint 2017-09-01 22:32:40 -07:00
rdf Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm. 2017-08-17 15:29:03 +10:00
security Bug 1386955 - land NSS 4bf658832d89 UPGRADE_NSS_RELEASE, r=me 2017-09-05 12:52:00 +02:00
services Bug 1391488 - catch and ignore errors fetching the hostname from the DNS service. r=kitcambridge 2017-09-01 16:48:24 +10:00
servo servo: Merge #18358 - Properly change the kind of the given attribute in SetAttributeNode (from servo:change-attr-kind); r=emilio 2017-09-03 13:05:00 -05:00
startupcache Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj 2017-08-08 14:41:09 -07:00
storage Merge autoland to m-c. a=merge 2017-08-24 20:20:08 -04:00
taskcluster Bug 1395722 - link openssl statically when building sccache; r=ted.mielczarek 2017-09-05 11:37:51 -04:00
testing Bug 1391735 - Annotate the rest of the web-platform-tests. r=jgraham 2017-09-05 09:12:02 -04:00
third_party Backed out 5 changesets (bug 1277338) for a microscopic speck of flake8 lint 2017-09-01 22:32:40 -07:00
toolkit merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-05 12:38:47 +02:00
tools Backed out changeset ce0752c07ff6 (bug 1393046) under suspicion of causing asan failures in devtools tests a=backout CLOSED TREE 2017-08-30 16:42:47 -07:00
uriloader Bug 1395527 part 2 - Delegate IsASCII and IsUTF8 to encoding_rs. r=froydnj 2017-09-01 11:53:31 +03:00
view Backed out changeset 497dbf087ad5 (add diagnostic asserts) (bug 1354933) 2017-07-07 14:54:55 -05:00
widget Bug 1394646 - Cocoa nsChildView: replace string with constant and remove unused code. r=mstange 2017-09-02 13:57:00 -04:00
xpcom merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-02 10:54:44 +02:00
xpfe Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm. 2017-08-17 15:29:03 +10:00
.clang-format Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
.clang-format-ignore No bug - Remove an non-breaking space r=me DONTBUILD 2017-09-01 11:41:39 +02:00
.clang-tidy
.cron.yml bug 1349227 - 2 nightlies per day on m-c. r=catlee DONTBUILD 2017-08-29 16:01:14 -07:00
.eslintignore Bug 1395545 - test that an invalid source map is reported to the console; r=nchevobbe 2017-08-31 12:03:24 -06:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit
.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 1382304: hg/gitignore captures/ dir. r=nalexander 2017-07-19 11:08:06 -07:00
.hgignore Bug 1387265 - Expand talos tp6 to macosx; r=jmaher 2017-08-15 15:30:23 -04:00
.hgtags No bug - Tagging mozilla-central 320642944e42a889db13c6c55b404e32319d4de6 with FIREFOX_BETA_56_BASE a=release DONTBUILD CLOSED TREE 2017-08-02 08:35:53 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.taskcluster.yml Backed out 4 changesets (bug 1394883) for Windows signing chain-of-trust failures 2017-08-31 20:02:34 -07: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 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
build.gradle Bug 1255227 - Part 1: Stop using deprecated android-sdk-manager Gradle plugin. r=sebastian 2017-07-18 09:46:09 -07:00
client.mk Bug 1386739 - Only pass --output-sync=line to make in automation. r=gps 2017-08-15 12:30:28 -07:00
client.py
CLOBBER Bug 1395486 followup. Clobber to fix packaging failure for Android builds. r=clobber 2017-09-02 13:46:34 +02:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout 2017-08-16 17:26:08 -07:00
moz.build Backed out 9 changesets (bug 1383880) for decision task bustage. 2017-09-01 15:37:08 -04:00
moz.configure Bug 1393454 Do not compile rust gtest crate if --disable-tests is set r=ted 2017-08-28 13:12:24 -05: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 Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout 2017-08-31 16:58:32 +02:00
old-configure.in Bug 1393526 - Upgrade to SQLite 3.20.1. r=mak 2017-08-24 14:50:48 -04:00
package.json Bug 1380956 - List only the directly required dependencies for ESLint in the top-level package.json. r=ahal 2017-07-14 12:21:54 +01:00
README.txt
settings.gradle Backed out 2 changesets (bug 1355625) for causing bustage a=backout 2017-06-22 12:05:56 -07: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/