From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D4603858401; Fri, 1 Jul 2022 21:40:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D4603858401 From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/106162] libstdc++v3: bits/largefile-config.h.tmp: No such file or directory race condition Date: Fri, 01 Jul 2022 21:40:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2022 21:40:00 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106162 --- Comment #6 from Sergei Trofimovich --- (In reply to Jonathan Wakely from comment #2) > (In reply to Sergei Trofimovich from comment #0) > > There is a race condition when (I speculate) libstdcv++v3 is built in > > parallel from different 'make' processes. Perhaps for c++98 | c++11 | x= ++17 > > instances? >=20 > There are no such instances. It is built separately for each multilib, but > each of those has its own $host_builddir Aha, TIL! > Are you 100% sure you didn't actually run multiple make processes yoursel= f, > e.g by using & instead of && in a shell command? I was running it from a standard build script. Should be just 'make -j16 -l= 16' (with a small caveat: make is built with --shuffle support to reorder what = what is allowed to expose missing depends: https://savannah.gnu.org/bugs/index.php?62100). (In reply to Jonathan Wakely from comment #5) > Created attachment 53236 [details] > Add missing prerequisite to generated header >=20 > I'm testing this. Thank you! I'll also give it a go locally and will complain if it fails in a similar way.=