From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by sourceware.org (Postfix) with ESMTPS id 146063858D28 for ; Tue, 14 Jun 2022 13:14:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 146063858D28 Received: by mail-qk1-x72a.google.com with SMTP id b142so6311410qkg.2 for ; Tue, 14 Jun 2022 06:14:13 -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=i4/y9yo1kc25r402DoS1bdOYaEtqXqwXh1uDBNsXXNA=; b=u+BxsA6z640EwOe3XRltg0fZEh844GcY9AXJZlZLxgE2xNkvIc4DWJBQqNWozaJvuz 0Er/Pmxon8Asn+BtZSbI0Qvs5C31AXSrOsD0V6IuNyV3/vbcvLFclEGQuoB7U8kp2H9/ dsrmcFi5YHNT17KQoWbJNIIj7BgXOjsiAHaJNaP5yx16+4eyBOgUWy8vDUdELxkezYR2 zQztdjBHtF6udGJqz4bB4/ijTVY2xqz4PEtyjeABjW01JndfOovyrCwb6z9UnG8Xc4a+ zNna/GnfmW4Iv2ZGwwq0CaIs/GGy/2gOxlnj8uw7fAteLht5PmZjJQEqpiMrSyiqP6KT 2m9Q== X-Gm-Message-State: AOAM531baHhqv0neZL4MTJRmfijdQ/1iuqG04eAvwCjAmPh7YgUJ5S2g iTQLg7nzFIHFq3A5eAsSHUC+rygeUHzltTk0hIM= X-Google-Smtp-Source: ABdhPJwIZo2Fqj5vpxqobGQctIMaVb3l1jeMgOkiwpbCN3ibUKQWQKUbabAus3owX0/74a3hK9yUl3xLgxnKGgp/17Y= X-Received: by 2002:a37:a252:0:b0:6a9:756d:d16d with SMTP id l79-20020a37a252000000b006a9756dd16dmr544940qke.350.1655212452179; Tue, 14 Jun 2022 06:14:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Richard Biener Date: Tue, 14 Jun 2022 15:14:00 +0200 Message-ID: Subject: Re: [PATCH][WIP] have configure probe prefix for gmp/mpfr/mpc [PR44425] To: Eric Gallager Cc: gcc-patches Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 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.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2022 13:14:15 -0000 On Mon, Jun 13, 2022 at 4:27 PM Eric Gallager wrote: > > On Mon, Jun 13, 2022 at 7:02 AM Richard Biener > wrote: > > > > On Thu, Jun 2, 2022 at 5:54 PM Eric Gallager via Gcc-patches > > wrote: > > > > > > So, I'm working on fixing PR bootstrap/44425, and have this patch to > > > have the top-level configure script check in the value passed to > > > `--prefix=` when looking for gmp/mpfr/mpc. It "works" (in that > > > configuring with just `--prefix=` and none of > > > `--with-gmp=`/`--with-mpfr=`/`--with-mpc=` now works where it failed > > > before), but unfortunately it results in a bunch of duplicated > > > `-I`/`-L` flags stuck in ${gmplibs} and ${gmpinc}... is that > > > acceptable or should I try another approach? > > > > --prefix is documented as to be used for installing (architecture > > independent) files, > > I'm not sure it is a good idea to probe that for gmp/mpfr/mpc installs used for > > the host. > > > > Richard. > > > > > Eric > > So... I guess that means we should close bug 44425 as INVALID or > WONTFIX then? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44425 That would be my reaction, yes.