An investigation has shown, that:
- Official Firefox builds actually cross-compile from Linux to MacOS,
and for this reason use the old MacOS 10.12 SDK.
- We should be able to build with 11+ SDK just fine; read [primer on
MacOS SDKs] for details.
- A random `symbol '___darwin_check_fd_set_overflow' not supported`
error seems to be an [apple bug]. We can fix it using
`LDFLAGS="-Wl,-U,___darwin_check_fd_set_overflow"`
flag, similarly to [haskell compiler fix].
[primer on MacOS SDKs]: https://firefox-source-docs.mozilla.org/widget/cocoa/sdks.html
[apple bug]: https://openradar.appspot.com/FB7647406
[haskell compiler fix]:
|
||
|---|---|---|
| .. | ||
| juggler | ||
| patches | ||
| preferences | ||
| .gitignore | ||
| archive.sh | ||
| build.sh | ||
| BUILD_NUMBER | ||
| clean.sh | ||
| EXPECTED_BUILDS | ||
| install-preferences.js | ||
| UPSTREAM_CONFIG.sh | ||