GDB is not specifying the required version, so I simply follow GCC's version and it works fine on my end.


Jerry

On Jul 17, 2025, at 17:30, Jan Beulich <jbeulich@suse.com> wrote:

On 17.07.2025 10:40, Jerry Zhang Jian wrote:
It is required to specify the gmp and mpfr path without the patch

And gcc's and gdb's required / desired versions match (and will always do so)?

Also please don't send private replies for on-list discussions, and please
don't top-post.

Jan

Configure error:
Try the --with-gmp and/or --with-mpfr options to specify
their locations.  If you obtained GMP and/or MPFR 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.

On Jul 17, 2025, at 16:38, Jan Beulich <jbeulich@suse.com> wrote:

On 17.07.2025 10:32, Jerry Zhang Jian via Binutils wrote:
Add new download_prerequisites from GCC source tree to simplify the
build dependencies setup for building GDB.

Oh, gdb. Cc-ing their patches mailing list. But then I'm still unclear
how much of an overlap there is between gdb's and gcc's prereqs.

Jan