#2349: SIZET_FMT in includes/mkDerivedConstants.c needs to be "d" under older
Solaris version
-----------------------+----------------------------------------------------
    Reporter:  maeder  |       Owner:          
        Type:  bug     |      Status:  new     
    Priority:  normal  |   Component:  Compiler
     Version:  6.8.2   |    Severity:  normal  
    Keywords:          |    Testcase:          
Architecture:  sparc   |          Os:  Solaris 
-----------------------+----------------------------------------------------
 the file `includes/mkDerivedConstants.c` of release candidate
 ghc-6.8.2.20080603 contains:

 {{{
 #ifdef mingw32_HOST_OS
 #define SIZET_FMT "d"
 #else
 #define SIZET_FMT "zd"
 #endif
 }}}

 this produced unusable header file containing "zd" instead of integers
 under SunOS 5.8 Generic_117350-54 sun4u sparc SUNW,Ultra-4.

 However the very same binary `includes/mkGHCConstants` works correctly
 under SunOS 5.10 Generic_127111-03 sun4u sparc SUNW,Sun-Fire-280R

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2349>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to