gecko/config
Mike Hommey b4265f0fa8 Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal
Currently, when there is both an expandlibs descriptor and an actual static
library, expandlibs picks the static library. This has the side effect that
if there are object files in the static library that aren't directly used,
they're dropped when linking, even when they export symbols that would be
exported in the final linked binary.

In most cases in the code base, files are not dropped that way. The most
notable counter-example is xpcomglue, where actually not dropping files
leads to link failure because of missing symbols those files reference
(yes, that would tend to say the glue is broken in some way).

On the opposite side, there is mozglue, which does have both a descriptor
and a static library (the latter being necessary for the SDK), and that
linking as a static library drops files that shouldn't be dropped (like
jemalloc). We're currently relying on -Wl,--whole-archive for those files
not to be dropped, but that won't really be possible without much hassle
in a world where mozglue dependencies live in moz.build land.

Switching expandlibs to use descriptors when they exist, even when there
is a static library (so, the opposite of the current behavior) allows to
drop -Wl,--whole-archive and prepare for a better future. However, as
mentioned, xpcomglue does still require to be linked through the static
library, so we need to make it a static library only.

To achieve that, we make NO_EXPAND_LIBS now actually mean no expandlibs
and use that to build the various different xpcomglues.
2014-10-04 10:33:00 +09:00
..
external Bug 1064636 followup: Add new function to config/external/nss/nss.def r=khuey a=bustage CLOSED TREE 2014-09-23 14:16:56 -07:00
makefiles Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
Moz
tests Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal 2014-10-04 10:33:00 +09:00
android-common.mk Bug 1065773 - Part 1: Extract Android release signing bits into config/android-common.mk. r=mshal 2014-09-19 13:52:54 -07:00
autoconf-js.mk.in
autoconf.mk.in
baseconfig.mk Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
check_source_count.py
check_spidermonkey_style.py Bug 1067699 (part 1) - Export double-conversion.h normally from MFBT. r=froydnj. 2014-09-16 23:33:05 -07:00
check_vanilla_allocations.py Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco 2014-09-19 08:39:54 -07:00
config.mk Bug 1059255 - Make stdc++compat errors fatal. r=mshal 2014-09-11 12:20:41 +09:00
configobj.py
createprecomplete.py Mac v2 signing - Bug 1059467 - Move precomplete file from the root of the Mac bundle to Contents/Resources. r=bbondy, r=nthomas 2014-09-29 11:51:55 -07:00
doxygen.cfg.in
emptyvars-js.mk.in
emptyvars.mk.in
expandlibs_config.py
expandlibs_exec.py Bug 1047621 - Have link.py import and call expandlibs_exec.py; r=gps 2014-08-13 14:24:15 -04:00
expandlibs_gen.py Bug 1043869 - Derive build dependencies for programs and libraries from make backend data instead of getting them from expandlibs. r=mshal 2014-07-29 08:59:56 +09:00
expandlibs.py Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal 2014-10-04 10:33:00 +09:00
find_OOM_errors.py
gcc_hidden_dso_handle.h Backed out changeset 8433a3609a54 (bug 1001320) for suspected B2G device image bustage. 2014-05-20 12:17:51 -04:00
gcc_hidden.h
gcc-stl-wrapper.template.h
glibcversion.sh
install.bat
link.py Bug 1047621 - Have link.py import and call expandlibs_exec.py; r=gps 2014-08-13 14:24:15 -04:00
make-atom-strings.pl
make-stl-wrappers.py
Makefile.in Bug 1044458 - Work around l10n jobs cherry-picking parts of the build system on a CLOSED TREE. r=mshal,a=ryanvm 2014-07-29 09:01:58 +09:00
milestone.pl
milestone.txt Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-09-02 12:54:33 -04:00
module2dir.pl
moz.build Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
mozunit.py
MozZipFile.py
msvc-stl-wrapper.template.h Bug 1014976 - Don't define _DEBUG on Windows debug builds, it's implied by -MDd/-MTd, and breaks builds with -MD/-MT. r=bsmedberg 2014-05-30 09:39:53 +09:00
nsinstall.c Bug 1056233 - Fix uninitialized value in nsinstall.c. r=froydnj 2014-09-01 14:30:11 +02:00
nsinstall.py No bug - Don't chmod before deleting target in nsinstall.py on non Windows to avoid touching CLOBBER on a CLOSED TREE 2014-07-25 09:01:23 +09:00
pathsub.c
pathsub.h
printconfigsetting.py
printprereleasesuffix.py
pythonpath.py
rebuild_check.py
recurse.mk Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
rules.mk Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal 2014-10-04 10:33:00 +09:00
solaris_ia32.map
static-checking-config.mk
static-checking.js
stl-headers
string-format.js
system-headers Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted 2014-09-24 19:11:58 +02:00
version_win.pl
version.mk