Current-Users archive

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

Re: parallel build failure with .c.o rule interrupted mid-step!



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



Home | Main Index | Thread Index | Old Index