Hi Charles,

LTGM, so ack.

Thanks,
Tao Liu

On Sat, Jul 19, 2025 at 10:21 AM Charles Haithcock <chait...@redhat.com> wrote:
>
> Attempting to build on Fedora fails with the following error;
>
> $ make
> TARGET: RISCV64
>  CRASH: 9.0.0++
>    GDB: 16.2
>
> Saving 'gdb-16.2.tar.gz'
> [...]
> checking for the correct version of gmp.h... no
> configure: error: Building GDB requires GMP 4.2+, and MPFR 3.1.0+.
> 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.
> make[2]: *** No targets specified and no makefile found.  Stop.
>
> crash build failed
>
> make[1]: *** [Makefile:316: gdb_merge] Error 1
> make: *** [Makefile:307: all] Error 2
>
> Installing gmp-devel and mpfr-devel fixed this, so this patch updates the
> requirements for building on Fedora.
> ---
>  README | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/README b/README
> index 2e34fbb..f9824c7 100644
> --- a/README
> +++ b/README
> @@ -73,7 +73,7 @@
>       that is created in the top-level kernel build directory must be saved.
>
>    o  Requirements for building:
> -      Fedora: make gcc gcc-c++ ncurses-devel zlib-devel lzo-devel 
> snappy-devel bison wget patch texinfo libzstd-devel
> +      Fedora: make gcc gcc-c++ ncurses-devel zlib-devel lzo-devel 
> snappy-devel bison wget patch texinfo libzstd-devel gmp-devel mpfr-devel
>        Ubuntu/Debian: make gcc g++ libncurses-dev zlib1g-dev liblzo2-dev 
> libsnappy-dev bison wget patch texinfo libzstd-dev
>        Arch Linux: make gcc ncurses zlib lzo snappy bison wget patch texinfo 
> zstd
>        openSUSE: make gcc gcc-c++ ncurses-devel zlib-devel lzo-devel 
> snappy-devel bison wget patch texinfo libzstd-devel
> --
> 2.50.0
> --
> Crash-utility mailing list -- devel@lists.crash-utility.osci.io
> To unsubscribe send an email to devel-le...@lists.crash-utility.osci.io
> https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
> Contribution Guidelines: https://github.com/crash-utility/crash/wiki
--
Crash-utility mailing list -- devel@lists.crash-utility.osci.io
To unsubscribe send an email to devel-le...@lists.crash-utility.osci.io
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki

Reply via email to