From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id E14F6385803E for ; Fri, 8 Apr 2022 16:57:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E14F6385803E Received: by mail-wm1-x32b.google.com with SMTP id bi13-20020a05600c3d8d00b0038c2c33d8f3so7997886wmb.4 for ; Fri, 08 Apr 2022 09:57:24 -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=nzm90hUMq8XnRvSAa5K4w8Zm+XIyWvRI5TBk3Pb8Ptk=; b=oDrNwq9uRles66AIkzoOJ0lKLgDVkRM55eoOtDbVVoH6Ja4RKy1tdnVmNZ/mdn6mfg kcjoDuHi7kFHteTFZE8qf6IjOaUCoayPlmQyBq4XDek9BvFoQ0wFO11NKPcR3vIFhcgf 4Ua5wl6UAjC2blvQQd5Ik6K+ij8o8xCTRJ6bwFIulnVA+uvGitEV92bAMe6mkBPivvfg GKdEJHPI+EGthIM1uQOl/IJK16cRVYL6UdrVXd/cuJmopDDsKTlNnXTjbWa626llt762 Nu3kqjeDPsWaWW5G0clF5LEZMnkxwgQoe5QG6ea2mssov/GJC432vz0vvgwI/I8hAefp rogQ== X-Gm-Message-State: AOAM533dn5PrF6i5Qs5SJE4wYMiwQ15/kIFcDEkFkZiTW3Bl7KzBm1kY 0ajQPXvLGvwzDOJguRPqkxQJ2Qzk4O9z3Jm1pR0= X-Google-Smtp-Source: ABdhPJx2zs4vWuYgGOcj3BALwfFTajjaFfOzS5BJZfEQr/gq9/MZMkLiQcOOKIVY9yQubgLEWls9fy/CknekhEjU1O8= X-Received: by 2002:a05:600c:1990:b0:38e:a8c9:f32f with SMTP id t16-20020a05600c199000b0038ea8c9f32fmr3094497wmq.35.1649437043237; Fri, 08 Apr 2022 09:57:23 -0700 (PDT) MIME-Version: 1.0 References: <1488577238.235399.1649435475723.ref@mail.yahoo.com> <1488577238.235399.1649435475723@mail.yahoo.com> In-Reply-To: <1488577238.235399.1649435475723@mail.yahoo.com> From: Jonathan Wakely Date: Fri, 8 Apr 2022 17:57:12 +0100 Message-ID: Subject: Re: Is this a bug or UFU? To: George R Goffe 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: Fri, 08 Apr 2022 16:57:27 -0000 On Fri, 8 Apr 2022 at 17:32, George R Goffe via Gcc-help wrote: > > Howdy, > > I'm building gcc (and gmp/mpfr/mpc) from the repository and am having trouble. Could you take a peek and let me know what I'm doing wrong please? > > Best regards and BE SAFE! > > George... > > > fc37-bash 5.1 /tools/gcc# cd obj-x86_64-pc-linux-gnu/ > fc37-bash 5.1 /tools/gcc/obj-x86_64-pc-linux-gnu# ../gcc/configure --prefix=/usr/lsd/$osname --verbose \ > --with-mpc=/usr/lsd/$osname \ > --with-mpfr=/usr/lsd/$osname \ > --with-gmp=/usr/lsd/$osname \ Stop right there. Don't do that. Read https://gcc.gnu.org/wiki/InstallingGCC instead, and do what it says. > --disable-werror \ > --disable-multilib > checking build system type... x86_64-pc-linux-gnu > checking host system type... x86_64-pc-linux-gnu > checking target system type... x86_64-pc-linux-gnu > checking for a BSD-compatible install... /usr/lsd/bin/install -c > checking whether ln works... yes > checking whether ln -s works... yes > checking for a sed that does not truncate output... /bin/sed > checking for gawk... gawk > checking for libatomic support... yes > checking for libitm support... yes > checking for libsanitizer support... yes > checking for libvtv support... yes > checking for libphobos support... yes > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for gcc option to accept ISO C99... none needed > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking whether g++ accepts -static-libstdc++ -static-libgcc... yes > checking for gnatbind... no > checking for gnatmake... no > checking whether compiler driver understands Ada... no > checking for gdc... gdc > checking whether the D compiler works... no > checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 > checking for objdir... .libs > checking for the correct version of gmp.h... yes > checking for the correct version of mpfr.h... yes > checking for the correct version of mpc.h... no > configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+. > Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify > their locations. Source code for these libraries can be found at > their respective hosting sites as well as at > https://gcc.gnu.org/pub/gcc/infrastructure/. See also > http://gcc.gnu.org/install/prerequisites.html for additional info. If > you obtained GMP, MPFR and/or MPC from a vendor distribution package, > make sure that you have installed both the libraries and the header > files. They may be located in separate packages. >