[GHC] #7978: Profiling broken

GHC ghc-devs at haskell.org
Tue Jul 30 19:11:26 CEST 2013


#7978: Profiling broken
--------------------------------------------+------------------------------
        Reporter:  gmainland                |            Owner:
            Type:  bug                      |           Status:  new
        Priority:  highest                  |        Milestone:  7.8.1
       Component:  Compiler                 |          Version:  7.7
      Resolution:                           |         Keywords:
Operating System:  Unknown/Multiple         |     Architecture:
 Type of failure:  GHC doesn't work at all  |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:
--------------------------------------------+------------------------------

Comment (by parcs):

 Looks like GHC itself is broken when built with `BuildFlavour=prof`:

 {{{
 ===--- 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
 -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 -fasm  -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
 Segmentation fault
 make[1]: *** [libraries/old-time/dist-install/build/System/Time.o] Error
 139
 make: *** [all] Error 2
 }}}

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




More information about the ghc-tickets mailing list