[PATCH] 6: Use GDB 13.2
Karel Gardas
karel at functional.vision
Mon Jul 24 11:15:30 UTC 2023
Hello Sebastian,
this together with also libexpat patch builds fine on:
- macOS 13.4.1
- FreeBSD 13.2
- Ubuntu 20.04
btw, recently Joel remarked that gdb from 7/ makes troubles building on
fbsd 12.x. I verified the same on fbsd 13.x and Hesham noted on discord
that he has the same issues on macOS. GBD from 7/rtems-* complains about
missing libmpfr.
[...]
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.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.
shell cmd failed: /bin/sh -ex
/usr/home/karel/git/rtems-source-builder/rtems/build/aarch64-rtems7-gdb-22e69d8-x86_64-freebsd13.2-1/do-build
error: building aarch64-rtems7-gdb-22e69d8-x86_64-freebsd13.2-1
Obviusly gdb from 6/ does not hence there is probably some bit missing
in 7/ which is already fixed in 6/
Thanks,
Karel
On 7/24/23 10:54, Sebastian Huber wrote:
> Prepare for RTEMS 6.1 release.
>
> Update #4921.
> ---
> rtems/config/6/rtems-default.bset | 2 +-
> rtems/config/6/rtems-microblaze.bset | 2 +-
> rtems/config/tools/rtems-gdb-13.2.cfg | 17 +++++++++++++++++
> 3 files changed, 19 insertions(+), 2 deletions(-)
> create mode 100644 rtems/config/tools/rtems-gdb-13.2.cfg
>
> diff --git a/rtems/config/6/rtems-default.bset b/rtems/config/6/rtems-default.bset
> index b1c81a0..4416c65 100644
> --- a/rtems/config/6/rtems-default.bset
> +++ b/rtems/config/6/rtems-default.bset
> @@ -12,7 +12,7 @@
> %defineifnot with_rtems_dtc devel/dtc-1.6.1-1
> %defineifnot with_rtems_expat devel/expat-2.4.8-1
> %defineifnot with_rtems_gmp devel/gmp-6.2.1
> -%defineifnot with_rtems_gdb tools/rtems-gdb-13.1
> +%defineifnot with_rtems_gdb tools/rtems-gdb-13.2
> %defineifnot with_rtems_binutils tools/rtems-binutils-2.39
> %defineifnot with_rtems_gcc tools/rtems-gcc-12-newlib-head
> %defineifnot with_rtems_tools tools/rtems-tools-6
> diff --git a/rtems/config/6/rtems-microblaze.bset b/rtems/config/6/rtems-microblaze.bset
> index 95fe17e..1870935 100644
> --- a/rtems/config/6/rtems-microblaze.bset
> +++ b/rtems/config/6/rtems-microblaze.bset
> @@ -13,7 +13,7 @@
>
> devel/expat-2.4.8-1
> devel/gmp-6.2.1
> -tools/rtems-gdb-13.1
> +tools/rtems-gdb-13.2
>
> tools/rtems-xilinx-binutils-2.36
> tools/rtems-xilinx-gcc-10-newlib-head
> diff --git a/rtems/config/tools/rtems-gdb-13.2.cfg b/rtems/config/tools/rtems-gdb-13.2.cfg
> new file mode 100644
> index 0000000..655ffe2
> --- /dev/null
> +++ b/rtems/config/tools/rtems-gdb-13.2.cfg
> @@ -0,0 +1,17 @@
> +#
> +# GDB 13.2
> +#
> +
> +%include %{_configdir}/checks.cfg
> +%include %{_configdir}/base.cfg
> +
> +%define gdb_version 13.2
> +%define gdb_src_ext xz
> +%hash sha512 gdb-%{gdb_version}.tar.xz \
> + gYXT4Rq2Da//WGClAWV3v+fddUfvAevIZ7wkdgPYK3T/dMTylJLH0q7lcHb1K+M+KJ9Ma0FKS4cNSzAEkJ9MNA==
> +
> +%patch add gdb -p1 --rsb-file=gdb-14067-python-config.diff https://sourceware.org/bugzilla/attachment.cgi?id=14783&format=raw
> +%hash sha512 gdb-14067-python-config.diff \
> + HiCV0eQulk0W+G5uu1gCvUn5Ns6bF6RxqOO9kcSi8zpfEHOMzphlOv5cz0IDN5Q8m94na1kRVy++4z6qc43t3w==
> +
> +%include %{_configdir}/gdb-common-1.cfg
More information about the devel
mailing list