This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 01/19] Avoid race conditions when rebuilding librt.so
- From: Palmer Dabbelt <palmer at dabbelt dot com>
- To: schwab at linux-m68k dot org
- Cc: libc-alpha at sourceware dot org, patches at groups dot riscv dot org
- Date: Fri, 05 Jan 2018 21:50:07 -0800 (PST)
- Subject: Re: [PATCH v3 01/19] Avoid race conditions when rebuilding librt.so
- Authentication-results: sourceware.org; auth=none
On Mon, 01 Jan 2018 01:26:34 PST (-0800), schwab@linux-m68k.org wrote:
Who is racing with whom? There should not be any parallelism involved
here.
I guess "race condition" isn't quite the right term: the non-determinism comes
from the ordering by which make decides to re-build targets during a "make
check" that occurs after a GCC "make install". I ended up running into a
handful of other problems along these lines, so instead it seems like the sane
thing to do is to just "make && make check" in glibc instead.
I'll drop this patch.