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

GHC cvs-ghc at haskell.org
Tue Apr 30 23:28:14 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                
    Keywords:                  |          Os:  MacOS X            
Architecture:  x86_64 (amd64)  |     Failure:  Building GHC failed
  Difficulty:  Unknown         |    Testcase:                     
   Blockedby:                  |    Blocking:                     
     Related:                  |  
-------------------------------+--------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown


Old description:

> I'm trying to build ghc head from the repo head as of today,
> and i'm getting the following error in the stage 2 build
>
> carter repoScratcher/ghc ‹master› » make
> ===--- building phase 0
> make -r --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 -r --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 -r --no-print-directory -f ghc.mk phase=final all
> "inplace/bin/ghc-stage2" -hisuf hi -osuf  o -hcsuf hc -static  -H64m -O0
> -fllvm    -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 -fllvm
> -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: 11

New description:

 I'm trying to build ghc head from the repo head as of today,
 and i'm getting the following error in the stage 2 build
 {{{
 carter repoScratcher/ghc ‹master› » make
 ===--- building phase 0
 make -r --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 -r --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 -r --no-print-directory -f ghc.mk phase=final all
 "inplace/bin/ghc-stage2" -hisuf hi -osuf  o -hcsuf hc -static  -H64m -O0
 -fllvm    -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 -fllvm
 -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: 11
 }}}

--

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



More information about the ghc-tickets mailing list