From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by sourceware.org (Postfix) with ESMTPS id 77002385C413 for ; Wed, 24 Aug 2022 11:27:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 77002385C413 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52f.google.com with SMTP id b16so21630893edd.4 for ; Wed, 24 Aug 2022 04:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=GdAk6XerXy//QCkKNuSSKXHzAmUpiaCGr4kkujPVSaE=; b=co8AQWzRu6ibXiotj21ksdXcUi0ayQpINbwfInOQv+Z1MCUj/a90VxotkJXl1y/jz8 XD8lB6CtabwlUFVejPCo7VSzPtNT5KQ3lmvDgsIHWIDM21KGMzp3N606vhM3kVBh78Et noiLyXorD3UoBIkpjpziKn0hNkcM0QHtV6mlj3ulmSFyufajc9Bsegvde+ndtnt5zZ9N NckRaSSZLxWpYYr4iRaclY7WJ+SVb05N8Y/fHjeqVaQSwOLescp6bAL34IWDBsuAaWmi GevJbTXJA6POtg7Y6mIBcpTFkdkzjjNi7knaRH6GbwvHlQ89R6Mdc7uKRCLtFS92O8qP BBPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=GdAk6XerXy//QCkKNuSSKXHzAmUpiaCGr4kkujPVSaE=; b=Z8xes2Kp2Zf5cNTbzQpoUskWnyfED9yfCbQ3powP5ENUgyC1zyGijHKuQPap0Ic+y9 mjL5XBiZeLjlB3+03BmcRNL9n+Q7CFUFdq6vPwyigLN8yvJvY8J/9QSJoRu9EK0jgcI2 O4mceLrENqyo29oFx3pO1pHBWN9aYVU0LkTbvKVUDmPrsiE2uHJ6iQXmn6lfEOL+6kOW YpgAk2lTcsl2i/gZ1IoaZ6bS9ofEAyM7b8s0MmL0EPwFGBrOWo19zK29pElAkEQ6PcPr oCqIcD1b+RUAS6KXKMlUVRp1xAC/nWMN8quY+rsHWoccJ/zY8YFytxMC6eIpSxTCDL2X 12eg== X-Gm-Message-State: ACgBeo0le4+FYq1X20Q3Kt5fKAUzdBHncp81dc4WCkILMYxwFzTKY1Gn 4bjkFzcm9o+Kqn3LJL8nMIR78p8MzfeVCEq8YLk= X-Google-Smtp-Source: AA6agR4G5LCT4fxkvk7EX9m4No32VkvIenZDVLw9aP4ENyRpwwt32thThrmdmf6MVa7VUMmxx+wCkHAEZoennYMLuGA= X-Received: by 2002:a05:6402:184:b0:442:fd54:2a21 with SMTP id r4-20020a056402018400b00442fd542a21mr7148531edv.129.1661340424313; Wed, 24 Aug 2022 04:27:04 -0700 (PDT) MIME-Version: 1.0 References: <49c6528e-13d9-fcff-2046-6a0a167c3fea@blastwave.org> In-Reply-To: <49c6528e-13d9-fcff-2046-6a0a167c3fea@blastwave.org> From: Jonathan Wakely Date: Wed, 24 Aug 2022 12:26:53 +0100 Message-ID: Subject: Re: one of those annoying little things To: Dennis Clarke Cc: gcc-help Content-Type: text/plain; charset="UTF-8" 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,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: On Wed, 24 Aug 2022 at 05:23, Dennis Clarke via Gcc-help wrote: > > > Dear ALL : > > Not sure who else have been doing bootstraps on machines wherein the > common sense thing to do is protect the source tree. What I mean is that The GCC build will not touch the source tree unless you configure with --enable-maintainer-mode (in which case it will automatically try to re-run some autotools scripts if some of the generated files in the tree appear to be out of date). > I extract the gcc 12.2.0 tarball of joy as the root user. That's completely unnecessary. This doesn't seem like common sense, but rather creating unnecessary problems for yourself. > Then inside > that directory structure I crack out the gmp/mpfr/mpc goodness and even > apply the correct patch for mpfr[1]. Not sure what the [1] refers to, but I think I've said before that you can just use the recommended versions that are downloaded by the download_prerequisites script, and not worry about patching anything. > > So anyways, funny thing happens when I try to build out of tree : > Turns out, wild, but that directory for the mpfr doc stuff has files > that no user has rights to other than root. That has to be a bug right? You extracted the tarballs as root. > Could be the mpfr guys but hey this seems weird. > > So I did a chgrp "foo" on that whole dir and also allowed common dirt > humans to read and write the mpfr.info file. That seems to allow > bootstrap to continue for those dirty users. Not sure if anyone else > sees this as a bug or just a feature. Either way, it's not a GCC problem.