[GHC] #2342: timer problem under Sparc Solaris for Release Candidate ghc-6.8.2.20080603

GHC trac at galois.com
Wed Jun 4 14:52:08 EDT 2008


#2342: timer problem under Sparc Solaris for Release Candidate ghc-6.8.2.20080603
--------------------------+-------------------------------------------------
 Reporter:  maeder        |          Owner:         
     Type:  bug           |         Status:  new    
 Priority:  high          |      Milestone:  6.8.3  
Component:  Build System  |        Version:  6.8.2  
 Severity:  normal        |     Resolution:         
 Keywords:                |     Difficulty:  Unknown
 Testcase:                |   Architecture:  sparc  
       Os:  Solaris       |  
--------------------------+-------------------------------------------------
Changes (by igloo):

  * priority:  normal => high
  * difficulty:  => Unknown
  * milestone:  => 6.8.3

Comment:

 Hmm, does this patch against `libraries/base/include/HsBase.h` fix it?
 {{{
 diff -rN -u old-base/include/HsBase.h new-base/include/HsBase.h
 --- old-base/include/HsBase.h   2008-06-04 19:49:08.000000000 +0100
 +++ new-base/include/HsBase.h   2008-06-04 19:49:08.000000000 +0100
 @@ -67,11 +67,10 @@
  #if HAVE_SYS_UTSNAME_H
  #include <sys/utsname.h>
  #endif
 -#if HAVE_GETTIMEOFDAY
 -#  if HAVE_SYS_TIME_H
 -#   include <sys/time.h>
 -#  endif
 -#elif HAVE_GETCLOCK
 +#if HAVE_SYS_TIME_H
 +#include <sys/time.h>
 +#endif
 +#if HAVE_GETCLOCK
  # if HAVE_SYS_TIMERS_H
  #  define POSIX_4D9 1
  #  include <sys/timers.h>
 }}}

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


More information about the Glasgow-haskell-bugs mailing list