[GHC] #7874: segfault 11 on mac os x when building compiler for ghc 7.7.20130430

GHC ghc-devs at haskell.org
Fri Sep 13 23:15:08 CEST 2013


#7874: segfault 11 on mac os x when building compiler for ghc 7.7.20130430
----------------------------------------+----------------------------------
        Reporter:  carter               |            Owner:
            Type:  bug                  |           Status:  new
        Priority:  normal               |        Milestone:
       Component:  Compiler             |          Version:  7.7
      Resolution:                       |         Keywords:
Operating System:  MacOS X              |     Architecture:  x86_64 (amd64)
 Type of failure:  Building GHC failed  |       Difficulty:  Unknown
       Test Case:                       |       Blocked By:
        Blocking:                       |  Related Tickets:
----------------------------------------+----------------------------------

Comment (by leroux):

 Getting the same error across johnw's jenkin slaves.

 ----

 Error (segfault):
 {{{
 "inplace/bin/ghc-stage2" -hisuf hi -osuf  o -hcsuf hc -static  -H64m -O
 -fasm    -package-name old-time-1.1.0.1 -hide-all-packages -i -ilibraries
 /old-time/. -ilibraries/old-time/dist-install/build -ilibraries/old-time
 /dist-install/build/autogen -Ilibraries/old-time/dist-install/build
 -Ilibraries/old-time/dist-install/build/autogen -Ilibraries/old-
 time/include    -optP-include -optPlibraries/old-time/dist-
 install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package old-
 locale-1.0.0.5 -XHaskell98 -XCPP -XForeignFunctionInterface -O -dcore-lint
 -no-user-package-db -rtsopts      -odir libraries/old-time/dist-
 install/build -hidir libraries/old-time/dist-install/build -stubdir
 libraries/old-time/dist-install/build  -dynamic-too -c libraries/old-time
 /dist-install/build/System/Time.hs -o libraries/old-time/dist-
 install/build/System/Time.o -dyno libraries/old-time/dist-
 install/build/System/Time.dyn_o
 make[1]: *** [libraries/old-time/dist-install/build/System/Time.o]
 Segmentation fault
 }}}

 ----

 {{{mk/build.mk}}}:
 {{{
 V=1
 SRC_HC_OPTS        = -H64m -O -fasm
 GhcLibHcOpts       = -O -dcore-lint
 GhcStage1HcOpts    = -Rghc-timing -O -fasm
 GhcStage2HcOpts    = -Rghc-timing -O0 -DDEBUG
 SplitObjs          = NO
 GhcLibWays         += p
 GhcProfiled        = YES
 LAX_DEPENDENCIES   = YES
 BeConservative=YES
 }}}

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



More information about the ghc-tickets mailing list