found 1031439 8 tags 1031439 + patch tags 1031439 - fixed thanks
Hi. For some reason, version 8 does not include the fix that was applied in version 4.1 to fix this bug. As a result, the current version still has the bug (see attach). I'm including the patch (taken from the diff between 4 and 4.1 from snapshot.debian.org) in the second attach. Thanks.
gcc-sh-elf_amd64-20240512T225321Z.gz
Description: application/gzip
commit 2a5b2f8d7a6b55fd9a8e1e1792ab2fde143178d3 Author: John Scott <jsc...@posteo.net> Date: Mon Apr 10 18:56:40 2023 -0400 Include a fix for building with newer GDB. Closes: #1031439. --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,9 @@ src: then ln -s "$$i" . || exit 1; \ fi; \ done +# gcc's configure script is too old to build GDB right. + cd $@ && rm -f Makefile.def Makefile.in configure + cd $@ && cp ../gdb*/Makefile.def ../gdb*/Makefile.in ../gdb*/configure . # Avoid dh_auto_*, see # https://gcc.gnu.org/legacy-ml/gcc/2013-04/msg00171.html.