зеркало из https://github.com/mozilla/gecko-dev.git
a97c7ebfe7
The need for --disable-install-strip in the mac mozconfigs comes from a discrepancy in how stripping is handled between platforms. On Windows, there is no stripping. On non-Mac unix, `strip` removes local symbols as well as debug info and debug symbols. On Mac, it actually removes too much, and one has to pass flags to remove both local symbols (`-x`) and debug symbols (`-S`). Debug info is already in a separate file (`.dSYM`). For profiling reasons, we do ship e.g. nightlies with local symbols but not debug info or symbols (or at least that's the intent). On Windows, again, nothing to do. On non-Mac unix, we pass `--strip-debug` to `strip` so that it keeps local symbols. That's where the discrepancy comes in for Mac: the build system doesn't handle this at all, so the mozconfigs contain --disable-install-strip to avoid stripping. The build system should be doing what it's expected to be doing from the start, without mozconfigs opting into anything. AFAIK, we only really need the local symbols, so we can `strip -S` on Mac when profiling is enabled, rather than `strip -x -S`. This also significantly reduces the size of the installer for nightlies. And while we're here, move the logic out of old-configure and into python configure. Differential Revision: https://phabricator.services.mozilla.com/D76789 |
||
---|---|---|
.. | ||
linux32 | ||
linux64 | ||
linux64-aarch64 | ||
macosx64 | ||
win32 | ||
win64 | ||
win64-aarch64 | ||
common | ||
whitelist |