From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id 07EF9384607B for ; Thu, 12 Nov 2020 03:26:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 07EF9384607B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-ej1-x629.google.com with SMTP id f20so5678780ejz.4 for ; Wed, 11 Nov 2020 19:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gy5On5rANdDt/Jh5WlXdmbR652PIsYjrvXgtF1s0XH8=; b=ZxzdzKf32AutQwD7KljIALMOidSK50cPmNnQgmBIW+4eysP5AUPL1Humuj1Bo+bTqI +5tY0Npi3eZMMkuD+dmiFyHhDHURPKu8iPUVABQPrx7ZwZ/E1Bgx6WozieyBB6+B9ZMt 8dDovD/nKfgGp2rDMiUMRVvSdgW8/7e3It0mPVwVax+OHAM3f6OcdtZhPbjHtiuIDm9r WwRaPR/3HWTizpUNAgsKa72UmMOBdLkdu+53ssohFUFLnQ9CTFKB4EzQRWoWQdbQYIMm 9ZanGCQP7NdztyIgMiVsoRB3HW3tswuroAWA0bmYuCgSmnyv7pff67qkrWEan+LtRaFd Pjlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gy5On5rANdDt/Jh5WlXdmbR652PIsYjrvXgtF1s0XH8=; b=qEgK8on8xPp9RfPtfmnMLTzhCNHG8XGqMvlEVN8Whi91BZYelU39PMRlpkYMH1qIiR WIJG2qWB4iibttNaBAAoNX2+855RIA2XVbVCuCDn9DakoMVeAcsvkmG/hpqraCIDhiph kiVg4S67/Y334RqHIchZf3m8ZV6AOoIWjmqDmXFIdvFaGMrZhQYncwZB5pf91ZpsyVao wb2NCwYXPeDr30aK02rKC58PM/LQjYYD7OawucjI/UYvzQh3B36VqI+a13e5ZZTOk07Y XYl5iJQKqkhKsNbLB6B8nKreHkzs9hAMRqIZgMJnX1HvBzZmI4p3BvPKk/3s8mq26A6Y 0OAw== X-Gm-Message-State: AOAM533K0f2NZrvaTz4n8zwG96XqcK4VI8hQlzJU6R5uRwi8xc1NYXzQ mdzVq+4tQ7sBNczD25+Zfmh5Gw+U0Xifz+5sKQP5Yw== X-Google-Smtp-Source: ABdhPJzKnP0ejMVV5sMxgmthDNXOWvjE7KkJPEEUOsC/q8vN6x+qKuEq8N96a1H80I9TaTi8iIv0ZwMo05Zlemn6MOY= X-Received: by 2002:a17:906:d144:: with SMTP id br4mr389467ejb.547.1605151575114; Wed, 11 Nov 2020 19:26:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jim Wilson Date: Wed, 11 Nov 2020 19:26:04 -0800 Message-ID: Subject: Re: Building gcc-8.3.0 into a separate directory from the sources but failed To: Jun Leng Cc: gcc-help X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2020 03:26:17 -0000 On Wed, Nov 11, 2020 at 4:46 PM Jun Leng via Gcc-help wrote: > 5 make > The error is: > configure: error: source directory already configured; run "make > distclean" there first > If you used git to create the source tree, then using git to clean it is probably easiest. Maybe something like git clean -f -x -d assuming that you don't have anything in there that you want to keep. You need to get the source tree to the state where git status --ignored shows no changes. Or even simpler is to just rm -rf your existing tree and git clone a new one, and then be careful not to run configure in the source tree again. I doubt that using make distclean is going to work. Jim