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

GHC ghc-devs at haskell.org
Fri Feb 10 21:47:54 UTC 2017


#13265: perf-llvm build fails with "Too many sections: 123418 (>= 65280)"
-------------------------------------+-------------------------------------
           Reporter:  erikd          |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Building current git head in the "BuildFlavour = perf-llvm", the build
 fails with:
 {{{
 "inplace/bin/ghc-stage1" -o iserv/stage2_p/build/tmp/ghc-iserv-prof -hisuf
 \
   p_hi -osuf  p_o -hcsuf p_hc -static -prof -eventlog  -O -H64m -fllvm
 -Wall \
   -Werror    -hide-all-packages -i -iiserv/src -iiserv/stage2_p/build \
   -Iiserv/stage2_p/build -iiserv/stage2_p/build/iserv/autogen \
   -Iiserv/stage2_p/build/iserv/autogen \
   -optP-include -optPiserv/stage2_p/build/iserv/autogen/cabal_macros.h \
   -package-id array-0.5.1.2 -package-id base-4.10.0.0 \
   -package-id binary-0.8.4.1 -package-id bytestring-0.10.8.2 \
   -package-id containers-0.5.7.1 -package-id deepseq-1.4.3.0 \
   -package-id ghci-8.1 -package-id unix-2.7.2.1 -XHaskell2010 \
   -threaded -optl-Wl,--export-dynamic -no-hs-main -no-user-package-db \
   -rtsopts -Wnoncanonical-monad-instances  -odir iserv/stage2_p/build \
   -hidir iserv/stage2_p/build -stubdir iserv/stage2_p/build \
   -static -prof -eventlog  -O -H64m -fllvm -Wall  -Werror -hide-all-
 packages \
   -i -iiserv/src -iiserv/stage2_p/build \
   -Iiserv/stage2_p/build -iiserv/stage2_p/build/iserv/autogen \
   -Iiserv/stage2_p/build/iserv/autogen -optP-include \
   -optPiserv/stage2_p/build/iserv/autogen/cabal_macros.h -package-id \
   array-0.5.1.2 -package-id base-4.10.0.0 -package-id binary-0.8.4.1 \
   -package-id bytestring-0.10.8.2 -package-id containers-0.5.7.1 \
   -package-id deepseq-1.4.3.0 -package-id ghci-8.1 -package-id
 unix-2.7.2.1 \
   -XHaskell2010  -threaded -optl-Wl,--export-dynamic -no-hs-main \
   -no-user-package-db -rtsopts -Wnoncanonical-monad-instances \
   iserv/stage2_p/build/Main.p_o iserv/stage2_p/build/GHCi/Utils.p_o \
   iserv/stage2_p/build/cbits/iservmain.p_o
 Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
     Call hs_init_ghc() from your main() function to set these options.
 /usr/bin/ld: iserv/stage2_p/build/tmp/ghc-iserv-prof: Too many sections:
    123418 (>= 65280)
 /usr/bin/ld: final link failed: Nonrepresentable section on output
 collect2: error: ld returned 1 exit status
 `gcc' failed in phase `Linker'. (Exit code: 1)
 }}}

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


More information about the ghc-tickets mailing list