[GHC] #7820: Installing profiling library BREAKS non-profiling executable

GHC cvs-ghc at haskell.org
Fri Apr 19 23:50:14 CEST 2013


#7820: Installing profiling library BREAKS non-profiling executable
----------------------------+-----------------------------------------------
  Reporter:  rrnewton       |          Owner:  igloo         
      Type:  bug            |         Status:  closed        
  Priority:  normal         |      Milestone:  7.8.1         
 Component:  Compiler       |        Version:  7.6.2         
Resolution:  invalid        |       Keywords:  profiling     
        Os:  Linux          |   Architecture:  x86_64 (amd64)
   Failure:  Runtime crash  |     Difficulty:  Unknown       
  Testcase:                 |      Blockedby:                
  Blocking:                 |        Related:                
----------------------------+-----------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Aha, if you look at the `-v` output of `cabal-install`, then you can see
 that it only builds `cbits/primops.cmm` once (rather than separately for
 each way), and with profiling enabled it's compiled with `-prof`. This
 presumably means that some structure is the wrong size for teh vanilla
 way, leading to a segfault.

 So this looks like a bug in Cabal rather than GHC. Please file a ticket in
 [https://github.com/haskell/cabal/issues Cabal's BTS].

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



More information about the ghc-tickets mailing list