From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8CEBA3857C41; Sat, 11 Jul 2020 03:05:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8CEBA3857C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594436746; bh=NDMuuD7F+OIXo/3tHj5OVGVu10yIYxTC4ak6FIgmZQA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eqkVQ5bp1MGOkUTOZFR+bMzficNdZWII+L09voT4Dhv9A1hR2c9dYtl0cJ2A3Mtb5 imY/5RE5X1vCZIj9MsPPrTr9UjXjb4ZVdbSjbb+e6KCjrGB/tG3DiowS4N4RqVstfy 2OGjQrnue5ct+pK4d23UGgmItroZR/nT2SSEMAnA= From: "plevine457 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/96160] Building gcc with multiple make jobs fails with: gcc/xgcc: No such file or directory Date: Sat, 11 Jul 2020 03:05:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: plevine457 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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: Sat, 11 Jul 2020 03:05:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96160 --- Comment #4 from plevine457 at gmail dot com --- The offending command is > /var/tmp/portage/sys-devel/gcc-10.1.0-r1/work/build/./gcc/xgcc -B/var/tmp= /portage/sys-devel/gcc-10.1.0-r1/work/build/./gcc/ -xc++ -nostdinc /dev/nul= l -S -o /dev/null -fself-test=3D/var/tmp/portage/sys-devel/gcc-10.1.0-r1/wo= rk/gcc-10.1.0/gcc/testsuite/selftests I would presume that there's no reason why gcc would emit "-o /dev/null"=20 though I have seen it whaile using ccache.=20=20 Looking further at https://github.com/buildroot/buildroot/commit/58ecbbc3ef18c43ae1c02a5c4bf30= aa7ef2d8092, with regard to s-selftest-c: > The problem only occurs when ccache is used with gcc 9 and 10, > probably due to a race condition. >=20 > While debuging with "make -p" we can notice that s-selftest-c target > contain only "cc1" as dependency instead of cc1 and SELFTEST_DEPS [4]. >=20 > s-selftest-c: cc1 >=20 > While the build is failing, the s-selftest-c dependencies recipe is > still running and reported as a bug by make. >=20 > "Dependencies recipe running (THIS IS A BUG)." >=20 > A change [5] in gcc 9 seems to introduce the problem since we can't > reproduce this problem with gcc 8. So this is likely a ccache bug.=