[GHC] #13265: perf-llvm build fails with "Too many sections: 123418 (>= 65280)"

GHC ghc-devs at haskell.org
Sun Mar 5 19:47:33 UTC 2017


#13265: perf-llvm build fails with "Too many sections: 123418 (>= 65280)"
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:  rwbarton
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.2.1
       Component:  Compiler (LLVM)   |              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):  Phab:D3282
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * differential:   => Phab:D3282


Comment:

 The problem is actually that string sections produced by the LLVM backend
 are not getting merged, and the number of resulting sections was too large
 for what is apparently an internal limit in `ld.bfd` (`ld.gold` was happy
 to produce an executable with ~120000 sections).

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13265#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list