From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by sourceware.org (Postfix) with ESMTPS id 21224385BF81; Sat, 30 May 2020 11:32:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 21224385BF81 Received: by mail-wr1-x443.google.com with SMTP id c3so6671380wru.12; Sat, 30 May 2020 04:32:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+EY2clcLuO7GpxGpE74fIIblPbzy5x5g8onS9Kzknfg=; b=S7fNVXkHj7Rd5f+w0sxSrXm8/L3V/UMYv/GnVE/DWqFl7vk5L5YuEB5VjaioM6dQDq mKIYZodAu7t1/VWkGAImrg7LxAOsZqpkgzD6XxnSRmfiz9GI7QmdRbkrWwuASIfUCZhI 3yGHG+PHCbVieoU67w2Jf0EpPkWVJQlWL6D/XzXyMv+e5SzuXxXY4VtOGXh2dAH8M0MJ I8J3tMu1SMc2bjP8wBHu+ZfOVXhSS1NeMfuGI6xKC6qx5iUdAdSJ/FGdJH/WxGVdyn0Q hprGRPxqwhS7/9JtCpsGmfRQUPNn0ww89hoLRrcT4L42Bh1XBHUKfNiCjqzuqtdwvk27 s32w== X-Gm-Message-State: AOAM5336WeMWGRNt2ket4PIrYdABX0EsfBTWa7RhlKVadldrM4Gpl7vf QtIpqpRW9o8C2K51+a3Cdj8= X-Google-Smtp-Source: ABdhPJxSEKlM/A3AQDnnMnA992qFcvYIBBOURDL9G2tXwErAJL/tuFX5LiwEbTcMCa2lcM5KUMO6jQ== X-Received: by 2002:adf:f68d:: with SMTP id v13mr12189086wrp.291.1590838352211; Sat, 30 May 2020 04:32:32 -0700 (PDT) Received: from ?IPv6:2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521? (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id t8sm12954834wro.56.2020.05.30.04.32.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 May 2020 04:32:31 -0700 (PDT) Subject: Re: [PATCH] gcc/Makefile.in: move SELFTEST_DEPS before including language makefile fragments To: law@redhat.com, Richard Biener , Romain Naour via Gcc-patches Cc: Maxim Kochetkov , "Cc : David Malcolm" , "Yann E . MORIN" , Thomas Petazzoni , Ben Dakin-Norris References: <20200521153519.2858998-1-romain.naour@gmail.com> <3386CAFC-149F-4D6E-BF8C-8AC846EF6784@gmail.com> <5245e8fa7dbbb61543d0675af3c08df07b6b2cf9.camel@redhat.com> From: Romain Naour Message-ID: <906187b4-89f4-9b76-41d4-f666d992f7ce@gmail.com> Date: Sat, 30 May 2020 13:32:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <5245e8fa7dbbb61543d0675af3c08df07b6b2cf9.camel@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2020 11:32:34 -0000 Hi Jeff, Le 21/05/2020 à 19:41, Jeff Law a écrit : > On Thu, 2020-05-21 at 19:31 +0200, Richard Biener via Gcc-patches wrote: >> On May 21, 2020 5:35:19 PM GMT+02:00, Romain Naour via Gcc-patches < >> gcc-patches@gcc.gnu.org> wrote: >>> As reported by several Buildroot users [1][2][3], the gcc build >>> may fail while running selftests makefile target. >>> >>> The problem only occurs when ccache is used with gcc 9 and 10, >>> probably due to a race condition. >> >> Just as a note since a while I am regularly running into (the same?) issue when >> bootstrapping that xgcc is not yet built when self tests want to run and I >> stumbled across the very same dependency line. > My tester trips it once in a while too, so a big thanks to Romain for digging > into it. It's definitely in my queue of things to review. You're welcome :) Did you have time to review the patch ? I can provide a way to reproduce easily the issue by using Buildroot. Do you need something else ? Best regards, Romain > > jeff >> >