Changes between Version 35 and Version 36 of Building/Troubleshooting


Ignore:
Timestamp:
Apr 14, 2013 6:19:37 PM (12 months ago)
Author:
pgj
Comment:

Add a note on building on very fast FreeBSD systems

Legend:

Unmodified
Added
Removed
Modified
  • Building/Troubleshooting

    v35 v36  
    2222ghc.mk:96: *** Make has restarted itself 3 times; is there a makefile bug?.  Stop. 
    2323}}} 
    24 Simon M says: this can happen if you modify something while the build is in progress - I 
     24Simon M says: this can happen if you modify something while tenhe build is in progress - I 
    2525see this quite often.  In this case the error is just overly conservative, and restarting is the right workaround. 
     26 
     27pgj adds: This can also happen if you are building the sources on FreeBSD in a really fast environment, i.e. on a multi-core Xeon with multiple parallel threads ({{{make -j}}}) or a memory-backed file system ({{{mfs}}}, {{{tmpfs}}}), see #7592.  It is because precision of file timestamps is not fine-grained enough by default (due to the common VFS layer).  You can change this granularity by adjusting the value of the {{{vfs.timestamp_precision}}} sysctl(3) variable. 
    2628 
    2729If you encounter this without touching any files after typing 'make', 
     
    431433 
    432434 
    433