tech-toolchain archive

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

Re: Parallel build failure on OSX



> I’m having trouble reproducing exactly the same output as Edgar.
Me too.

I did a build.sh cleandir, but that leaves the obj directories in place.
I then tried find -type dir -name obj | xargs rmdir, but a few obj directories
were non-empty.
I then did build.sh (-m amd64) -j 4 tools obj, but that didn't fail.
Given that it's a race, it's probably very picky about what else I do (or 
don't do) on the machine at the time.

> Any way line 98 of version 1.49 src/share/mk/bsd.obj.mk has a mkdir 
> without -p and I expect that’s what’s causing the immediate problem.
So is it consensus that the -p ought to be added there?
It looks very reasonable to me and it also looks very reasonable that it's 
hard to run into the problem not only because it's a race, but also because 
you have to start with something like a fresh CVS checkout to make it happen.



Home | Main Index | Thread Index | Old Index