[GHC] #3904: Bug in shipped gcc makes profiling lose resolution

GHC trac at galois.com
Sat Mar 27 17:45:35 EDT 2010


#3904: Bug in shipped gcc makes profiling lose resolution
---------------------------+------------------------------------------------
  Reporter:  augustss      |          Owner:  igloo  
      Type:  bug           |         Status:  closed 
  Priority:  high          |      Milestone:  6.12.2 
 Component:  Build System  |        Version:  6.12.1 
Resolution:  fixed         |       Keywords:         
Difficulty:                |             Os:  Windows
  Testcase:                |   Architecture:  x86    
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by igloo):

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


Comment:

 Fixed in HEAD and 6.12:
 {{{
 Sat Mar 27 18:21:26 GMT 2010  Ian Lynagh <igloo at earth.li>
   * Fix the format specifier for Int64/Word64 on Windows
   mingw doesn't understand %llu/%lld - it treats them as 32-bit rather
   than 64-bit. We use %I64u/%I64d instead.
 }}}
 I haven't looked at whether we actually need 64bit ints in this particular
 case, but this nevertheless fixes the problem, and also fixes the other
 places where we print 64bit ints in the RTS.

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


More information about the Glasgow-haskell-bugs mailing list