gecko-dev/taskcluster/scripts
Mike Hommey dc8ae8410c Bug 1485503 - Avoid ld64 merging static and non-static data with the same name during ThinLTO. r=dmajor
When different translation units contain the same symbol name, all
static, but one of them non-static, ld64 wrongfully link the references
to the static data with the non-static data, or vice versa. With libaom
and libvpx sharing data structures with the same name but different
contents, that leads to interesting failures/crashes at runtime.

This was apparently fixed in Apple ld64 from Xcode 9, but the last open
sourced version is the one from Xcode 8, so I ended up digging in the
ld64 source code and fixed the issue.

This work was merged to cctools-port upstream in
https://github.com/tpoechtrager/cctools-port/pull/59.

For the same reason as invoked in bug 1478917, though, updating to
cctools-port master is more involved than just changing a commit sha1
(as it requires building apple-libtapi, which in turn builds parts of
LLVM, which should probably be avoided), so just cherry-pick the fix.
2018-08-24 08:39:31 +09:00
..
builder Bug 1444141 - part 3 - fix exports of PATH in sm-tooltool-config.sh; r=sfink 2018-08-02 12:00:21 -04:00
misc Bug 1485503 - Avoid ld64 merging static and non-static data with the same name during ThinLTO. r=dmajor 2018-08-24 08:39:31 +09:00
tester Bug 1409260 - Remove comments about tc-vcs. r=dustin,gps 2017-10-17 15:12:41 +09:00
copy.sh
run-task Bug 1468812 - [ci] Support MOZ_FETCHES and fetch-content in run-task r=gps 2018-07-26 17:13:39 +00:00