[GHC] #791: The program built with ghc 6.4.2 -prof hangs, without -prof works

GHC trac at galois.com
Tue Jun 6 22:02:12 EDT 2006


#791: The program built with ghc 6.4.2 -prof hangs, without -prof works
------------------------------------+---------------------------------------
    Reporter:  mblazevic at stilo.com  |        Owner:         
        Type:  bug                  |       Status:  new    
    Priority:  normal               |    Milestone:         
   Component:  Compiler             |      Version:  6.4.2  
    Severity:  normal               |     Keywords:         
          Os:  Unknown              |   Difficulty:  Unknown
Architecture:  Unknown              |  
------------------------------------+---------------------------------------
To reproduce the problem, download the attachment and do the following,
 assuming 6.4.2 is the version of the ghc executable in path:

 tar xzf static.tar.gz
 cd static
 make
 ./gens 4                    # works
 ./gens - <tests             # works
 ./gens-prof 4               # hangs


 Several points:

 - ghc 6.4.1 works properly. That's what I'm using for profiling now.
 - At first I thought the problem was with Edison libraries, but an older
 version of the project, without Edison, behaves the same.
 - Removing -auto-all and add -fasm made no difference. I guess that means
 GCC is not at fault.

 By the way, I'm running Gentoo Linux with an Athlon CPU. Let me know if
 you have trouble reproducing the problem.

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


More information about the Glasgow-haskell-bugs mailing list