From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A008E3858D33; Thu, 28 Jul 2022 16:02:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A008E3858D33 From: "simon.marchi at polymtl dot ca" To: gdb-prs@sourceware.org Subject: [Bug build/28500] Failure to find libgmp Date: Thu, 28 Jul 2022 16:02:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: simon.marchi at polymtl dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2022 16:02:11 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28500 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simon.marchi at polymtl do= t ca --- Comment #14 from Simon Marchi --- This is really messy. Basically, the top-level configure has the --with-gm= p* flags because we sync that configure script with gcc (which lives in another repo). But apart from GDB, nothing in binutils-gdb uses GMP. And when the time came for GDB to use GMP, it was decided for some reason to use the AC_LIB_HAVE_LINKFLAGS macro (I suppose because it was handy), which provides the --with-libgmp-prefix flags. So in the binutils-gdb repo, we have some --with-gmp* flags at the top-level which don't do anything, but that people= use (understandably so), because that's what the top-level "./configure --help" tells them to use. And then we have the flags that gdb/configure uses that actually do something, but are not sufficient. I don't know how feasible it is, but I think at this point we should make G= DB understand the --with-gmp* flags in addition to the --with-libgmp* flags. --=20 You are receiving this mail because: You are on the CC list for the bug.=