[GHC] #11445: Turn on SplitSections by default
GHC
ghc-devs at haskell.org
Fri Dec 2 12:40:22 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 olsner):
I assumed the linker problem and the required fix would be much more
complicated, but after reading the patches it looks like it could simply
be an issue with how we name sections on Windows builds? (See also
https://sourceware.org/bugzilla/show_bug.cgi?id=19254#c3)
That means maybe we "only" need:
* unpatched binutils (but a new enough version)
* `-Wa,-mbig-objs` for the assembler
* fixed section names
* a PE-compatible linker script for `ld -r` section merging
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11445#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list