This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Fwd: [PATCH v3 01/19] Avoid race conditions when rebuilding librt.so
- From: Zack Weinberg <zackw at panix dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 6 Jan 2018 09:51:40 -0500
- Subject: Fwd: [PATCH v3 01/19] Avoid race conditions when rebuilding librt.so
- Authentication-results: sourceware.org; auth=none
- References: <m2bmiegcad.fsf@linux-m68k.org> <mhng-af275d40-186a-4d00-af0a-d1c96ab97e11@palmer-si-x1c4> <CAKCAbMiGjFkmMrY4M7te2jvCO+02zRWqZ6AKM13rYwGrWGJ-wA@mail.gmail.com>
On Sat, Jan 6, 2018 at 12:50 AM, Palmer Dabbelt <palmer@dabbelt.com> wrote:
> 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.
I think you should install this patch. Abstractly, "make check" is
supposed to work without further ceremony, regardless of whether "make
install" has just been run, and this particular missing dependency has
bitten me more than once myself.
zw