From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id 4660F385DC21 for ; Tue, 10 May 2022 07:01:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4660F385DC21 Received: by mail-wr1-x42d.google.com with SMTP id b19so22380318wrh.11 for ; Tue, 10 May 2022 00:01:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fnx7fqbfMGqEwqnDOGFefiWBmVmcxIrbwBwrSepZsso=; b=5emfu1IMWTEnfcVHZa305zB8LFgaGGHne2kl/uZexU8UqpqbU/+SSIykpnEUbkx3SE IMxLQJWMuvgt6A916VWtEiWOYA9Tcvu9htwxMLfH09jD2mPVjpXWFJfSAhvXDTpX+J+T ibwdcIlBdCobBqFouqF2esSHsNl1Evx7oYmrutK5T+bABIi50Z3vdc32Yi6HfODeU/Ln /OFYO4z+f4TtDlnN7VqHzBiQIfAabtRb7ivgliXVs0gOCKYhRP1yapDGPc4pFhCdEtA8 TB6KF9FsR0xC1A9WoRPeqg6J9CLfisEtMyC6OAylHo4ekODjHPqb0atyQDpgI2GmMg5H 0DUw== X-Gm-Message-State: AOAM530CtP04VxYoITBOgW5+L9aOCMtkB4KZE7ixewf9jEVFWQIEiQ6/ FExN2Bc1vfLoQlx4fBNWA+LoihseCeuEoGaQyahp1iW99wU= X-Google-Smtp-Source: ABdhPJzlV252MNJdJ9+Q5MHq9nRCrCe6vMXG5nep+fPI+T+LQR4lz9x8I5BNNuYFpBioMS6dFatqIbDoXR9m40ftfSs= X-Received: by 2002:a05:6000:1889:b0:20c:617a:b087 with SMTP id a9-20020a056000188900b0020c617ab087mr17331558wri.102.1652166060789; Tue, 10 May 2022 00:01:00 -0700 (PDT) MIME-Version: 1.0 References: <78ed50e6-c0b5-1002-49a4-e11ec14ee727@blastwave.org> <2db3724d-b2a0-6356-3d0b-d7716b5c8e38@blastwave.org> In-Reply-To: <2db3724d-b2a0-6356-3d0b-d7716b5c8e38@blastwave.org> From: Jonathan Wakely Date: Tue, 10 May 2022 08:00:50 +0100 Message-ID: Subject: Re: stage1 gcc bootstrap fails looking for bits/libc-header-start.h To: Dennis Clarke Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: Tue, 10 May 2022 07:01:04 -0000 On Tue, 10 May 2022 at 01:54, Dennis Clarke wrote: > > On 5/9/22 14:51, Jonathan Wakely wrote: > > On Mon, 9 May 2022, 18:16 Dennis Clarke via Gcc-help, > > wrote: > > > >> > >> Not sure what is causing this on a Linux armv7 32-bit machine but I have > >> libc6-dev installed and that provides : > >> > >> # ls -lapb /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h > >> > > > > > > But this is not a standard header location, so GCC won't look there. > > > > You need to use --enable-multiarch to use the Debian MultiArch directory > > layout. > > > > Sadly things have not worked out any better. :( > > Configure still looks nice : > > io$ > io$ uname -a > Linux io 4.4.194 #52 SMP Tue Oct 26 08:35:58 UTC 2021 armv7l GNU/Linux > io$ gcc --version > gcc (Debian 8.3.0-6) 8.3.0 > Copyright (C) 2018 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > io$ > > All the usual baseline tools are around. Also gmp/mpfr/mpc are extracted > in the source tree as per normal. > > io$ CC='gcc -march=armv7-a -mtune=cortex-a17 -mfpu=vfpv4-d16 -marm' \ > > CXX='g++ -march=armv7-a -mtune=cortex-a17 -mfpu=vfpv4-d16 -marm' \ > > LD_RUN_PATH='/opt/gcc/imed/gcc12/lib:/opt/bw/lib' \ > > ../gcc-12.1.0/configure --prefix=/opt/gcc/imed/gcc12 \ > > --enable-multiarch \ > > --disable-nls --enable-threads=posix --enable-shared \ > > --with-gmp=/opt/bw --with-mpfr=/opt/bw --with-mpc=/opt/bw \ Wait, what? You said "gmp/mpfr/mpc are extracted in the source tree as per normal" so why are you telling GCC to get them from /opt/bw? Xi Ruoyao is sending replies that you're apparently not receiving, see https://gcc.gnu.org/pipermail/gcc-help/2022-May/141536.html