[GHC] #11445: Turn on SplitSections by default
GHC
ghc-devs at haskell.org
Tue Jan 19 11:13:50 UTC 2016
#11445: Turn on SplitSections by default
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner:
Type: task | Status: new
Priority: normal | Milestone: 8.2.1
Component: Build System | Version: 8.0.1-rc1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking: 11285
Related Tickets: | Differential Rev(s): Phab:D1800
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by awson):
I have fully working `-split-sections` on Windows.
To make it possible quite recently I've fixed
[https://ghc.haskell.org/trac/ghc/ticket/11388 a blocker bug in GHC]
(thanks to Phyx for putting it in).
But also we need the very latest binutils because of
[https://sourceware.org/bugzilla/show_bug.cgi?id=19440 the bug in
binutils] I've helped to fix just recently.
And the final thing to make it all work are correct linker scripts
(generated from the single `pep.sc` template), which solve
[https://sourceware.org/bugzilla/show_bug.cgi?id=19254 section merging
problem]. I've incorporated it in my own patched version of binutils but I
still didn't propose the corresponding patch to upstream binutils. I have
no much spare time at the moment, and this patch also contains an extra
bugfix for current binutils, thus some extra work is required here, but if
the need is urgent I'll try to wrap it in coming days.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11445#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list