[GHC] #7592: Building the latest master branch on FreeBSD 9.1 fails

GHC cvs-ghc at haskell.org
Mon Mar 18 23:29:19 CET 2013


#7592: Building the latest master branch on FreeBSD 9.1 fails
---------------------------------+------------------------------------------
    Reporter:  kazu-yamamoto     |       Owner:  pgj                
        Type:  bug               |      Status:  new                
    Priority:  normal            |   Milestone:                     
   Component:  Build System      |     Version:  7.7                
    Keywords:                    |          Os:  FreeBSD            
Architecture:  Unknown/Multiple  |     Failure:  Building GHC failed
  Difficulty:  Unknown           |    Testcase:                     
   Blockedby:                    |    Blocking:                     
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by pgj):

 Replying to [comment:12 igloo]:
 > I think this will need someone who can reproduce the problem to diagnose
 exactly what's going on (it might be easiest to make a cut-down testcase
 first). One possibility is that the filesystem has sub-second precision,
 `stat` is ignoring the extra precision, and `cp` is giving inconsistent
 times (perhaps truncating the extra precision in the file it creates).
 Another is that the `stat` syscall is giving the wrong result for some
 reason. It's also not impossible that this is a `make` bug.

 I am not sure if this helps, but my attention has just been called to that
 precision of file-system timestamps can be set by the
 {{{vfs.timestamp_precision}}} sysctl(3) variable.  This is {{{0}}} by
 default, which means "seconds", but increasing the value could increase
 the precision as well.  (Use {{{sysctl -d vfs.timestamp_precision}}} to
 see them.)

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



More information about the ghc-tickets mailing list