From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3FB5B3858426; Sun, 6 Mar 2022 15:52:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FB5B3858426 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug build/28500] Failure to find libgmp Date: Sun, 06 Mar 2022 15:52:04 +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: tromey at sourceware dot org 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: bug_status 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: Sun, 06 Mar 2022 15:52:04 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28500 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #7 from Tom Tromey --- Ok, I think there was a thread about this on gdb-patches last year. For some reason there are two different sets of GMP flags to configure, and gdb doesn't respect the top-level ones: prentzel. ./configure --help|grep gmp --with-gmp-dir=3DPATH this option has been REMOVED --with-gmp=3DPATH specify prefix directory for the installed GMP --with-gmp-include=3DPATH/include plus --with-gmp-lib=3DPATH/lib --with-gmp-include=3DPATH specify directory for installed GMP include fil= es --with-gmp-lib=3DPATH specify directory for the installed GMP library prentzel. ./gdb/configure --help|grep gmp --with-libgmp-prefix[=3DDIR] search for libgmp in DIR/include and DIR/lib --without-libgmp-prefix don't search for libgmp in includedir and lib= dir --with-libgmp-type=3DTYPE type of library to search for (auto/static/shared) So, I suggest trying the ones that gdb/configure reports. Top-level configure will pass these down despite the fact that it doesn't know about them. --=20 You are receiving this mail because: You are on the CC list for the bug.=