gecko-dev/build/unix
Mike Hommey eab19f0855 Bug 1643258 - Avoid the use of the __cxa_thread_atexit_impl symbol. r=froydnj
When linking a weak symbol in an object against a library where the
symbol is provided with a version, the final binary get a weak versioned
symbol reference.

It turns out weak versioned symbols still make the dynamic linker need
the symbol version, even if all symbols needed with that version are
weak.

Practically speaking, that means with bug 1634204, we now end up with
a weak versioned symbol reference to __cxa_thread_atexit_impl with
version GLIBC_2.18, and glibcs without the symbol can't fulfil that
version, even though the weak symbol is the only thing we need from that
version.

This means the check_binary changes in bug 1634204 are too
relaxed, so we revert them (although we keep the easier to read
conditions in check_dep_versions).

We also introduce a hack in stdc++compat.cpp (although it's not
technically entirely about libstdc++ compat) so that we avoid the weak
symbol reference while keeping the intended baseline for libstdc++ and
glibc.

Differential Revision: https://phabricator.services.mozilla.com/D79773
2020-06-18 23:45:41 +00:00
..
build-binutils
build-gcc
build-hfsplus
elfhack Bug 1619165 - Reformat recent changes to the Google coding style r=andi 2020-04-25 09:40:08 +00:00
stdc++compat Bug 1643258 - Avoid the use of the __cxa_thread_atexit_impl symbol. r=froydnj 2020-06-18 23:45:41 +00:00
aix.exp
moz.build
mozconfig.asan Backed out changeset 823857306bce (bug 1435148) for causing bug 1631468 CLOSED TREE 2020-04-23 00:18:26 +03:00
mozconfig.linux
mozconfig.linux32
mozconfig.stdcxx Backed out 2 changesets (bug 1643258) for causing Bug 1646625. 2020-06-18 08:56:12 +03:00
mozconfig.tsan Backed out changeset 823857306bce (bug 1435148) for causing bug 1631468 CLOSED TREE 2020-04-23 00:18:26 +03:00
mozconfig.unix Bug 1621529 - Use MOZ_FETCHES_DIR for pgo file paths. r=froydnj 2020-03-11 10:36:11 +00:00
mozilla.in
print-non-newline.sh
rewrite_asan_dylib.py Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal 2020-01-02 17:27:48 +00:00
run-gprof.sh
run-hiprof.sh
run-mozilla.sh
run-third.sh