[GHC] #10877: x86_64: dll-split: out of memory (requested 1099512676352 bytes)

GHC ghc-devs at haskell.org
Wed Sep 16 20:57:33 UTC 2015


#10877: x86_64: dll-split: out of memory (requested 1099512676352 bytes)
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  x86_64
 Type of failure:  Building GHC      |  (amd64)
  failed                             |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #10682            |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 I agree that this is odd, since the build does work for me on other x86_64
 machines. I'm not sure what's different about this one.

 `make maintainer-clean && ./boot && ./configure && make` doesn't work. I
 tried manually applying the changes from Phab:D677 and running that, but
 unfortunately, a similar issue creeps up:

 {{{
 [rgscott at tank ghc]$ make
 ===--- building phase 0
 make --no-print-directory -f ghc.mk phase=0 phase_0_builds
 make[1]: Nothing to be done for `phase_0_builds'.
 ===--- building phase 1
 make --no-print-directory -f ghc.mk phase=1 phase_1_builds
 make[1]: Nothing to be done for `phase_1_builds'.
 ===--- building final phase
 make --no-print-directory -f ghc.mk phase=final all
 "inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf  dyn_o -hcsuf dyn_hc -fPIC
 -dynamic  -O0 -H64m     -hide-all-packages -i -iutils/ghctags/.
 -iutils/ghctags/dist-install/build -iutils/ghctags/dist-
 install/build/autogen -Iutils/ghctags/dist-install/build -Iutils/ghctags
 /dist-install/build/autogen     -optP-include -optPutils/ghctags/dist-
 install/build/autogen/cabal_macros.h -package-id Cabal-1.23.0.0-inplace
 -package-id base-4.8.2.0-inplace -package-id containers-0.5.6.2-inplace
 -package-id ghc-7.11.20150916-inplace -XHaskell2010  -no-user-package-db
 -rtsopts      -odir utils/ghctags/dist-install/build -hidir utils/ghctags
 /dist-install/build -stubdir utils/ghctags/dist-install/build   -c
 utils/ghctags/./Main.hs -o utils/ghctags/dist-install/build/Main.dyn_o
 ghc-stage2: out of memory (requested 1099512676352 bytes)
 make[1]: *** [utils/ghctags/dist-install/build/Main.dyn_o] Error 1
 make: *** [all] Error 2
 }}}

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


More information about the ghc-tickets mailing list