From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 1631F3858D32; Tue, 26 Dec 2023 14:04:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1631F3858D32 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 1631F3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::530 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703599461; cv=none; b=MEnA38Od185CaEiuD2BHoSegbRdv5D7dvZFh7FhUS8nLqckbruGHOBJgdOCUEfwIwDArFSNDAp1Be/itbAXaPL6mRWKnQe8rEfbzy8BF0ifEBIAOpspbQM9nTsALDnBefFZBN/H2y+FGl4apelC+ssCEUE0tU9gcz+MNiSF4LWw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703599461; c=relaxed/simple; bh=4QNwK+FuMt1Z+AHK96qAikG4gvyI60H+3t53W06Q2rs=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=DOhpqYAZLKUMuW3snjL6xUN5LcocCx9M3vZyP7dZFPZo7IvefnupeFRJKD7ea4F6+g1Z0g6HsL3qSSrMvnYjqUBHQ1taYXQHa91eosE3ehY1NubMX9l6Oi23Yo4pboNyHZ226WMTx577FQ7ymshm3HtoeraAbBZTCmkV+UmX3r4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-554909ac877so2123834a12.1; Tue, 26 Dec 2023 06:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703599459; x=1704204259; 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=MDbsnwPr0PSs1Xu7CJDbbg7/n6i1kNoNS3818wPONDI=; b=GNsIgzyFb9csA9vUsRlbHIQCJT2x+XzH1S2tfzvRvbZo/VjxkBYndDSvnUJD0Tih0A k9YoIyEyaT9qLcudIoU9pbFHPp3DI1gSZcISFvUaq/VXuUl6h9cgdunLCu2gsUpIW9DX VyRwRpvlfX5FcTSRwxVcb+jhUa9gCnm/Fye4wNsUDPs++S/dOms29wApWM3pjzXf7RuC BDWKRDjJMpmb/vc5EiHtTRCGWPNJkRDALfJ2Xir/fR/x5C753cjzVtVTw8OiRZKWlDnl 9U4euMxE5LgT790y59mRodUah8RENaL6OIljXZHYCZKrXO1HEj2s9UDLnhC3kxDFMLN7 TPWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703599459; x=1704204259; 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=MDbsnwPr0PSs1Xu7CJDbbg7/n6i1kNoNS3818wPONDI=; b=E7ArcLXYNndBL7G3fTfCZ4DrpBPInWMFEeSX4EJ/FRekR2DMy8a74hh5G6X2WSaXyo 9rCdimomLxMp/ndRL2EdcrfKWgPvl/533pDnQ2xLoEVY93sXgztthMhLH1OvwTLHsos/ QVIIzGH3WNu6jr9jazZHWV6odeshfQ5kuy9Zz6yMu/LDoaJTuTyicxUX+9puqTE7+jkT Ed5928gYJy7XEKH9X0bMqG4oloOqhdp82deA3o9x8AJCEsSHMc1haQ5IGo3cQmHXtNCI Dze98DN+mpMvvneO8Zoq+gQ0OWUtrtnVX1DFx5VdFmveZw0zXHvno1uZ1Tg+lxAHcLQE 4FSQ== X-Gm-Message-State: AOJu0Yy06GbUtfqFJDz822ssF/7N5dxUKlfaBuHmOH5DvHhXEjhNWR5M QwLadpJz/Xo090/mSTC2YeUuLTm9koxxHoYQnyc= X-Google-Smtp-Source: AGHT+IGAbQFjDdkB3ZRaZle6UW6CXopvjp71pfuBaqYz0MDhJ/ZX1FizjBRrFrpGxALaUPYudFjgQXQ7qyrSaZiYlnI= X-Received: by 2002:a50:d481:0:b0:553:d803:b493 with SMTP id s1-20020a50d481000000b00553d803b493mr5376811edi.29.1703599458592; Tue, 26 Dec 2023 06:04:18 -0800 (PST) MIME-Version: 1.0 References: <20231225162814.GS19790@gate.crashing.org> <22078885f012045083b9287a25dac5157e84ece6.camel@xry111.site> <20231225230033.GT19790@gate.crashing.org> In-Reply-To: <20231225230033.GT19790@gate.crashing.org> From: Prashant Date: Tue, 26 Dec 2023 19:34:07 +0530 Message-ID: Subject: Re: 'posix_spawnp' error in build To: Segher Boessenkool Cc: Xi Ruoyao , gcc-help@gcc.gnu.org, gcc@gcc.gnu.org Content-Type: multipart/alternative; boundary="00000000000091aa31060d6a2816" X-Spam-Status: No, score=-0.5 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: --00000000000091aa31060d6a2816 Content-Type: text/plain; charset="UTF-8" Hello, Any solution you have in mind? Thanks, Prashanth On Tue, 26 Dec 2023 at 04:32, Segher Boessenkool wrote: > On Tue, Dec 26, 2023 at 12:33:40AM +0800, Xi Ruoyao wrote: > > On Mon, 2023-12-25 at 10:28 -0600, Segher Boessenkool wrote: > > > > 1) git clone git://gcc.gnu.org/git/gcc.git > > > > 2) cd gcc & ./contrib/download_prerequisites > > > > 3) mkdir objdir & cd objdir > > > > 4) ../gcc/configure --prefix=/home/path/to/gcc > --enable-languages=c,c++ > > > > > > That is wrong. Build dir as a subdir of the source dir is not > > > supported. It might work in many cases, but that does not mean it is > > > okay to do. > > > > It *is* supported, per discussion at > > https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638760.html. > > Huh, okay. That changed "recently" then, for some elongated timescale > anyway :-) > > > But then you should use "../configure", not "../gcc/configure". > > Ha! I didn't even notice that. > > > Running > > the configure script of a GCC component (instead of the top-level > > configure) directly is completely unsupported. > > Without all the necessary configuration arguments, yeah. So it is still > easier to just make an actually separate object dir -- even if only so > you can just blow it away when you want to start over :-) > > > Segher > --00000000000091aa31060d6a2816--