tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Parallel build failure on OSX



As far as I can tell, this is an OS X problem. It isn’t guaranteed to happen, but it becomes more likely with more parallelism. It could be a problem with the build system, but OS X has what the English call “form”. OS X has been guilty of some fairly awful file system bugs that Apple didn’t seem to want to fix. 

When I tried tracking build parallelism bugs with trace, I found that trace couldn’t keep up with the build process. Maybe dtrace on OS X can keep up. I doubt it though.

On 8/01/2015, at 12:57 am, Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote:

> Building NetBSD-7 with -j 4 on my Mac mini (Fusion Drive, OSX 10.10) fails:
> 
> --- obj-external ---
> #    objdir  /Users/ef/local/build/NetBSD-7/external/bsd/libarchive/lib/libarchive_fe/obj
> --- obj-lib ---
> #    objdir  /Users/ef/local/build/NetBSD-7/external/bsd/libarchive/lib/libarchive_fe/obj
> mkdir: /Users/ef/local/build/NetBSD-7/external/bsd/libarchive/lib/libarchive_fe/obj: File exists
> *** [obj] Error code 1
> 
> Omitting the -j 4 from the build.sh invocation helps.



Home | Main Index | Thread Index | Old Index