From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 950713858C66 for ; Thu, 30 Nov 2023 09:32:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 950713858C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 950713858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701336728; cv=none; b=UG9LNtbKereQMEnlYLFhoTCSA8SJItYYi1gqVxjuyTJq0LeZ26AngdUsAh821yjQb+ws27lx6RmHbkkvmERftJIvh4EsctlLaFgEOf3R240iRmK+kv0zWV0mvB7SG0TiUDONc7348+cccWTeDBcuovP4ZPEyN5f27AcQNtah9b4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701336728; c=relaxed/simple; bh=WgzKnkA2ORz3hszqrASN+sZS+2uETfdII5dFehL0zdY=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=n1krmfr53xsjRY6HCO2peX0EivpLSRN+8CwGuTr0leP/qGStVAAi4Cql3Ba0hxcAOkGf0pQ4kwZaJor/nokxlw8syDh1UqHQyDVQ0KKqdc+zsMJBprJhxsGqjPu4jG/d/aUjkO7WxDqGcKYBRmv/cu0eWCowh1gpzDWbG2qeBQ0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a19067009d2so16526366b.3 for ; Thu, 30 Nov 2023 01:32:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701336725; x=1701941525; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hBkbQaXAzMJaIzkJzvIyrCsVWNYRqAqlcQj69YKq8jM=; b=JFrEiZIDyc3WViVmQhwzslnFbMo3Zu4cmH69k2cSp6f7fNeCnAixv2CtH/fXW2sZ6W jQ7D6xkJpdxzGhmpREp2FL/4ekP19gumd4woi+gdLRyOiTQN/4DdhKxYLhv+Cpe/tAHo p9NdH8+5CX8rJBtWyXTKggEef/9zgoiRfzr5YcNnaLt+0ZvHgbie9FhZks68aY9eDEa4 nGyQR9fF4I6j9sBpO9Nb0UBF/lWPo7km3++ElAcuD0lNKZDZodrIhN4RBw2pxKR6VcrY tmZwKrkvEJRVWipokW2ycxhN5YkKyRefYPOOXEd7ZyB7xzKYIL8Ri4ykrDs4/AAI+dSD rVDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701336725; x=1701941525; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hBkbQaXAzMJaIzkJzvIyrCsVWNYRqAqlcQj69YKq8jM=; b=I0/Gk4ZsNRAFeYbxYmDnaZPPNL5vJMr4VsXv7v3nTlcSg4MYFLKUYpFdqzcOWEJiiJ dZVeH1/CYvDepFuI94LJXh1p3AzK9gmTgV9opeTYUN/O0iCaS02iejHwyutmp8DdFDDR F60jNcrKaKeVIpZ5XETI/duTYOKGJIk0/KPT5AQLgUL6xV8wXdkn6WN6nUs7h85MvXUN 5Jmy8Pio/N7UB0PaiyA2s6Ev3Lbj2cp3MdQtDNKk2BXFAnq/TeTUK1iddqA06uxjRsr9 YRgw+WpCMtXWTt6icDjwS2UQs60nBOK7LvoxNiPCFb5eD035n6p3GKaYc9u881NgNOw7 xTKQ== X-Gm-Message-State: AOJu0YxxHX7Fv6I29MzrLLiWvU0ilsCSr8mqHna99N30c1h6lbrczHEV GINvO0z1i/uW3+uYsQsztWaJR6zAqghn/fqMYUY= X-Google-Smtp-Source: AGHT+IEpAAp5tzxxpochmaOGIO1VPebT/fRW/QJKIlsbmXJ4L5eNdDNzCw0Xvp++D7uYaDnqLBPj70sWB2GyTsGrj+U= X-Received: by 2002:a17:907:728b:b0:9e4:121c:b9fd with SMTP id dt11-20020a170907728b00b009e4121cb9fdmr16822548ejc.12.1701336725034; Thu, 30 Nov 2023 01:32:05 -0800 (PST) MIME-Version: 1.0 References: <9eed991c-7def-440a-bb3b-96ea4f26a19e@jguk.org> <8b1d2871-b1e1-4f6a-985a-a66d1b2fe40e@jguk.org> <26da4e26-5623-4427-98b5-93540271fa8f@jguk.org> In-Reply-To: <26da4e26-5623-4427-98b5-93540271fa8f@jguk.org> From: Jonathan Wakely Date: Thu, 30 Nov 2023 09:31:52 +0000 Message-ID: Subject: Re: host-x86_64-pc-linux-gnu/gcc/xgcc: No such file or directory To: Jonny Grant Cc: gcc-help Content-Type: multipart/alternative; boundary="00000000000023998b060b5b53f0" X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --00000000000023998b060b5b53f0 Content-Type: text/plain; charset="UTF-8" On Wed, 29 Nov 2023, 23:53 Jonny Grant, wrote: > > > On 29/11/2023 15:55, Jonathan Wakely wrote: > > On Wed, 29 Nov 2023 at 14:44, Jonny Grant wrote: > >> > >> > >> > >> On 29/11/2023 13:05, Jonathan Wakely wrote: > >>> On Wed, 29 Nov 2023 at 12:59, Jonny Grant wrote: > >>>> > >>>> Hello > >>>> > >>>> Has anyone encountered this when compiling gcc from source? libgomp > doesn't build due to xgcc missing > >>>> > >>>> I got latest git, did > >>>> ./configure --disable-multilib > >>> > >>> Don't build in the source directory: > https://gcc.gnu.org/wiki/FAQ#configure > >>> > >>>> make html > >>> > >>> Try make all-gcc before make html. > >> > >> > >> Sure. > >> > >> It gets stuck on genmodes.cc > >> > >> > >> > >> ../gcc_doc/configure > --prefix=/home/jonny/code/repos/gcc_tests/gcc_install --disable-multilib > > > > This belongs on the gcc-help list, not here. > > > > Are you sure you ran configure in an empty dir, not one you'd already > > fouled up with previous configurations or previous 'make html' > > commands? > > May I ask if "make distclean" clean up the 24 files that are left as > untracked files? "git status" shows them. Anyway, as you have suggested, > I'll always run on a separate build dir. > > My build dir worked after I removed these 3: > > gcc/collect-ld > gcc/bconfig.h > gcc/auto-host.h > > > The full 24 I local files I removed. Sharing for completeness. > gcc/Make-hooks > gcc/ada/Makefile > gcc/ada/gcc-interface/Makefile > gcc/as > gcc/auto-host.h > gcc/bconfig.h > gcc/collect-ld > gcc/config.h > gcc/configargs.h > gcc/cs-bconfig.h > gcc/cs-config.h > gcc/cs-tm.h > gcc/cs-tm_p.h > gcc/cstamp-h > gcc/dsymutil > gcc/gcc-driver-name.h > gcc/gcc-vers.texi > gcc/m2/Make-maintainer > gcc/m2/config-make > gcc/nm > gcc/option-includes.mk > gcc/plugin-version.h > gcc/tm.h > gcc/tm_p.h > > > > You should start in a completely empty directory. And I assume > > ../gcc_doc is not the same directory as . > > Yes, have gcc_build directory too. I'd expected "make distclean" to have > been enough. But I'll always build from a separate directory now. > Just remove the whole directory and start again in a clean one. I'll add that to the FAQ. --00000000000023998b060b5b53f0--