Closed kolerov closed 1 year ago
Options --with-gmp=
and --with-mpfr=
are not passed to configure
in build scripts for native GDB. I am preparing patches for this issue and going to push them to upstream.
All necessary changes are merged with upstream Crosstool-NG: https://github.com/crosstool-ng/crosstool-ng/pull/1954. Since then native GDB may be built successfully.
Here is a sample for Crosstool-NG (
arc-2022.09
branch) which allows to build native toolchain for ARC HS 4x with native GDB:Here is the same sample with
arc-2023.03
branches for all tools:Error:
From
build.log
:Seems like it cannot find MPFR because it's mandatory for GDB 13 and Crosstool-NG cannot handle it. The question is why GMP is built and found by build system but MPFR is not?