Re: [GHC] #11445: Turn on SplitSections by default

#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): Well, things are absolutely OK with `-split-sections` for 64-bit PECOFF obj files, but there exist a critical problem for the 32-bit case. The problem is that to realistically work with `-split-sections` (even to build `GHC` itself, particularly `template-haskell` package, particularly `Language.Haskell.TH.Syntax` module compiled in profiling mode) we need `big-obj` support (to have more than 32K sections per object file), but `binutils` '''has no''' `big-obj` support for 32-bit PECOFF object files. Perhaps, the simplest solution would be to have another splitter, which would split the whole assembly to chunks with no more than 32K sections in each. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11445#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC