Source-Changes-D archive

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

Re: CVS commit: src/share/mk



On Jan 22, 2014, at 7:19 AM, Christos Zoulas <christos%NetBSD.org@localhost> 
wrote:

> Module Name:  src
> Committed By: christos
> Date:         Wed Jan 22 15:19:05 UTC 2014
> 
> Modified Files:
>       src/share/mk: bsd.klinks.mk
> 
> Log Message:
> For now, ignore errors from creating klinks. This is racy and you can get
> it to trigger in 1/4 of the builds with -j 40 on a 24 processor box. Typical
> error is:
> 
>    ln: machine/include: File exists
>    *** Failed target:  .BEGIN
>    *** Failed command: rm -f machine && ln -s 
> /p/netbsd/cvsroot/src/sys/arch/vax/include machine
>    *** Error code 1
>    Stop.
> 
> Another approach to fixing this is to create a lockfile or adding other flags
> to ln to change its behavior.

I always wondered why we don't use ln -sf 
and avoid the race.


Home | Main Index | Thread Index | Old Index