[GHC] #13265: perf-llvm build fails with "Too many sections: 123418 (>= 65280)"
GHC
ghc-devs at haskell.org
Sat Feb 11 14:20:26 UTC 2017
#13265: perf-llvm build fails with "Too many sections: 123418 (>= 65280)"
-------------------------------------+-------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by olsner):
Which platform/OS was this on, and does it reproduce differently
with/without `-fllvm`?
If the platform binary format indeed doesn't support many sections we
probably just need to tweak the conditions for the `SplitSections` default
value. If it's happening on Linux or with ELF, it seems something less
trivial is going on.
The sections are supposed to get merged when linking an executable, so
"support many sections" here is more about doing that merge in the default
linker scripts than actually having binary format extensions for >64k
sections.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13265#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list