Turn on SplitSections by default
This is a general tracking bug for what is blocking us from turning on SplitSections
by default, implemented in #8405 (closed). Fixing this, and mandating use of the gold linker, will help solve #11285 (closed) (split objects make linking slow), and will make ghc-split unnecessary, mooting #9832 (closed).
I encountered some misinformation while talking to people about this feature, regarding whether or not this feature only supported by Apple-style linkers (i.e. on Mac OS X)? On IRC I heard a claim made that --split-sections
was only supported by Mac OS X. However, olsner pointed out that -split-sections
on GHC was OUR reimplementation of the feature, and likely does not work on Mac OS X. https://github.com/snowleopard/shaking-up-ghc/issues/153#issuecomment-171078800 A later comment mentioned that
So, can we turn on this feature by default? Does it subsume split-objs? Does it work on all the tier-1 platforms? It would be nice if bgamari, olsner and co could weigh in here. Thanks!
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1-rc1 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | #11285 (closed) |
CC | bgamari, olsner |
Operating system | |
Architecture |