Re: parallel build failure with .c.o rule interrupted mid-step!
Roland Illig <[email protected]> Tue, 25 Feb 2025 00:11:06 +0100
| Newsgroups | gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.current |
|---|---|
| Message-ID | <[email protected]> |
Am 24.02.2025 um 21:04 schrieb Greg A. Woods: > Somehow when a failure occurred during a parallel build the rule for > .c.o was interrupted mid-step and left an empty .o: > > $ ll hist* > 16 -rw-r--r-- 1 woods staff - 7671 Feb 23 18:59 hist.d > 0 -rw-r--r-- 1 woods staff - 0 Feb 23 18:59 hist.o > 456 -rw-r--r-- 1 woods staff - 229544 Feb 23 18:59 hist.o.o > > It would be my understanding that this should not be possible. Starting with usr.bin/make/job.c 1.486 from a few minutes ago, it is now much harder for a child process to generate a partial target file. Roland