Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdb.spec'], chrootPath='/var/lib/mock/dist-an23.4-build-541666-85370/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 59: %{tarname}.tar.xz warning: extra tokens at the end of %endif directive in line 70: %endif # 0%{?_build_minimal} Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1781222400 Wrote: /builddir/build/SRPMS/gcc-toolset-14-gdb-14.2-2.an23.src.rpm RPM build warnings: Macro expanded in comment on line 59: %{tarname}.tar.xz extra tokens at the end of %endif directive in line 70: %endif # 0%{?_build_minimal} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdb.spec'], chrootPath='/var/lib/mock/dist-an23.4-build-541666-85370/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 59: %{tarname}.tar.xz warning: extra tokens at the end of %endif directive in line 70: %endif # 0%{?_build_minimal} Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1781222400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Shamxn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gdb-14.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gdb-14.2.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gdb-14.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd gdb ++ perl -pe 's/\\\n/ /' ++ sed -n 's/^YYFILES = //p' + rm -fv ada-exp.c ada-lex.c c-exp.c cp-name-parser.c d-exp.c f-exp.c go-exp.c m2-exp.c p-exp.c removed 'ada-exp.c' removed 'ada-lex.c' removed 'c-exp.c' removed 'cp-name-parser.c' removed 'd-exp.c' removed 'f-exp.c' removed 'go-exp.c' removed 'm2-exp.c' removed 'p-exp.c' + find -name '*.info*' + xargs rm -f + echo 'Patch #1 (gdb-6.3-rh-testversion-20041202.patch):' Patch #1 (gdb-6.3-rh-testversion-20041202.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/fedora-version.exp Patch #2 (gdb-6.3-gstack-20050411.patch): + echo 'Patch #2 (gdb-6.3-gstack-20050411.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/Makefile.in patching file gdb/gstack.sh patching file gdb/testsuite/gdb.base/gstack.c patching file gdb/testsuite/gdb.base/gstack.exp + echo 'Patch #3 (gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch):' Patch #3 (gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/printcmd.c patching file gdb/testsuite/gdb.dwarf2/dw2-errno.c patching file gdb/testsuite/gdb.dwarf2/dw2-errno.exp patching file gdb/testsuite/gdb.dwarf2/dw2-errno2.c patching file gdb/testsuite/gdb.dwarf2/dw2-errno2.exp + echo 'Patch #4 (gdb-6.5-bz218379-ppc-solib-trampoline-test.patch):' Patch #4 (gdb-6.5-bz218379-ppc-solib-trampoline-test.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/step-over-trampoline.c patching file gdb/testsuite/gdb.base/step-over-trampoline.exp + echo 'Patch #5 (gdb-6.6-bz229517-gcore-without-terminal.patch):' Patch #5 (gdb-6.6-bz229517-gcore-without-terminal.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/gcorebg.c patching file gdb/testsuite/gdb.base/gcorebg.exp Patch #6 (gdb-6.6-testsuite-timeouts.patch): + echo 'Patch #6 (gdb-6.6-testsuite-timeouts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/annota1.exp patching file gdb/testsuite/gdb.base/annota3.exp Patch #7 (gdb-6.6-bz237572-ppc-atomic-sequence-test.patch): + echo 'Patch #7 (gdb-6.6-bz237572-ppc-atomic-sequence-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.threads/atomic-seq-threaded.c patching file gdb/testsuite/gdb.threads/atomic-seq-threaded.exp Patch #8 (gdb-6.3-attach-see-vdso-test.patch): + echo 'Patch #8 (gdb-6.3-attach-see-vdso-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/attach-see-vdso.c patching file gdb/testsuite/gdb.base/attach-see-vdso.exp Patch #9 (gdb-6.5-bz243845-stale-testing-zombie-test.patch): + echo 'Patch #9 (gdb-6.5-bz243845-stale-testing-zombie-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/tracefork-zombie.exp Patch #10 (gdb-6.6-buildid-locate.patch): + echo 'Patch #10 (gdb-6.6-buildid-locate.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file bfd/libbfd-in.h patching file bfd/libbfd.h patching file gdb/build-id.c patching file gdb/build-id.h patching file gdb/coffread.c patching file gdb/corelow.c patching file gdb/doc/gdb.texinfo patching file gdb/dwarf2/index-cache.c patching file gdb/dwarf2/read.c patching file gdb/elfread.c patching file gdb/exec.c patching file gdb/objfiles.h patching file gdb/python/py-objfile.c patching file gdb/solib-svr4.c patching file gdb/source.c patching file gdb/symfile.h patching file gdb/testsuite/gdb.base/corefile.exp patching file gdb/testsuite/gdb.base/gdbinit-history.exp patching file gdb/testsuite/gdb.base/new-ui-pending-input.exp patching file gdb/testsuite/lib/gdb.exp patching file gdb/testsuite/lib/mi-support.exp + echo 'Patch #11 (gdb-6.6-buildid-locate-solib-missing-ids.patch):' Patch #11 (gdb-6.6-buildid-locate-solib-missing-ids.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/solib-svr4.c patching file gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-lib.c patching file gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-main.c patching file gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib.exp + echo 'Patch #12 (gdb-6.6-buildid-locate-rpm.patch):' Patch #12 (gdb-6.6-buildid-locate-rpm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/aclocal.m4 patching file gdb/build-id.c patching file gdb/config.in patching file gdb/configure patching file gdb/configure.ac patching file gdb/event-top.c patching file gdb/symfile.h + echo 'Patch #13 (gdb-6.7-ppc-clobbered-registers-O2-test.patch):' Patch #13 (gdb-6.7-ppc-clobbered-registers-O2-test.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.c patching file gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.exp Patch #14 (gdb-6.5-gcore-buffer-limit-test.patch): + echo 'Patch #14 (gdb-6.5-gcore-buffer-limit-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/gcore-excessive-memory.c patching file gdb/testsuite/gdb.base/gcore-excessive-memory.exp Patch #15 (gdb-6.3-mapping-zero-inode-test.patch): + echo 'Patch #15 (gdb-6.3-mapping-zero-inode-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/gcore-shmid0.c patching file gdb/testsuite/gdb.base/gcore-shmid0.exp Patch #16 (gdb-6.5-section-num-fixup-test.patch): + echo 'Patch #16 (gdb-6.5-section-num-fixup-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/datalib-lib.c patching file gdb/testsuite/gdb.base/datalib-main.c patching file gdb/testsuite/gdb.base/datalib.exp Patch #17 (gdb-6.8-bz466901-backtrace-full-prelinked.patch): + echo 'Patch #17 (gdb-6.8-bz466901-backtrace-full-prelinked.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S patching file gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c patching file gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp Patch #18 (gdb-simultaneous-step-resume-breakpoint-test.patch): + echo 'Patch #18 (gdb-simultaneous-step-resume-breakpoint-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.c patching file gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.exp Patch #19 (gdb-core-open-vdso-warning.patch): + echo 'Patch #19 (gdb-core-open-vdso-warning.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/solib-symbol.exp + echo 'Patch #20 (gdb-archer-next-over-throw-cxx-exec.patch):' Patch #20 (gdb-archer-next-over-throw-cxx-exec.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.cp/cxxexec.cc patching file gdb/testsuite/gdb.cp/cxxexec.exp + echo 'Patch #21 (gdb-6.6-buildid-locate-rpm-librpm-workaround.patch):' Patch #21 (gdb-6.6-buildid-locate-rpm-librpm-workaround.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/proc-service.list + echo 'Patch #22 (gdb-test-bt-cfi-without-die.patch):' Patch #22 (gdb-test-bt-cfi-without-die.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/cfi-without-die-caller.c patching file gdb/testsuite/gdb.base/cfi-without-die-main.c patching file gdb/testsuite/gdb.base/cfi-without-die.exp Patch #23 (gdb-bz634108-solib_address.patch): + echo 'Patch #23 (gdb-bz634108-solib_address.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.python/rh634108-solib_address.exp Patch #24 (gdb-test-dw2-aranges.patch): + echo 'Patch #24 (gdb-test-dw2-aranges.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.dwarf2/dw2-aranges.S patching file gdb/testsuite/gdb.dwarf2/dw2-aranges.exp + echo 'Patch #25 (gdb-glibc-strstr-workaround.patch):' Patch #25 (gdb-glibc-strstr-workaround.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/gnu-ifunc-strstr-workaround.exp Patch #26 (gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch): + echo 'Patch #26 (gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/set-solib-absolute-prefix.c patching file gdb/testsuite/gdb.base/set-solib-absolute-prefix.exp + echo 'Patch #27 (gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch):' Patch #27 (gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.threads/tls-rhbz947564.cc patching file gdb/testsuite/gdb.threads/tls-rhbz947564.exp Patch #28 (gdb-rhbz1007614-memleak-infpy_read_memory-test.patch): + echo 'Patch #28 (gdb-rhbz1007614-memleak-infpy_read_memory-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.c patching file gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.exp patching file gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.py + echo 'Patch #29 (gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch):' Patch #29 (gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp Patch #30 (gdb-rhbz1156192-recursive-dlopen-test.patch): + echo 'Patch #30 (gdb-rhbz1156192-recursive-dlopen-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libbar.c patching file gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libfoo.c patching file gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.c patching file gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.exp + echo 'Patch #31 (gdb-rhbz1149205-catch-syscall-after-fork-test.patch):' Patch #31 (gdb-rhbz1149205-catch-syscall-after-fork-test.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.c patching file gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.exp + echo 'Patch #32 (gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch):' Patch #32 (gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp patching file gdb/testsuite/gdb.arch/ppc64-prologue-skip.o.uu patching file gdb/testsuite/gdb.arch/s390x-prologue-skip.exp patching file gdb/testsuite/gdb.arch/s390x-prologue-skip.o.uu Patch #33 (gdb-fedora-libncursesw.patch): + echo 'Patch #33 (gdb-fedora-libncursesw.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/configure patching file gdb/configure.ac + echo 'Patch #34 (gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch):' Patch #34 (gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c patching file gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp Patch #35 (gdb-container-rh-pkg.patch): + echo 'Patch #35 (gdb-container-rh-pkg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/remote.c Patch #36 (gdb-linux_perf-bundle.patch): + echo 'Patch #36 (gdb-linux_perf-bundle.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/gdb.c patching file gdb/nat/linux-btrace.h patching file gdbsupport/common.m4 Patch #37 (gdb-add-index.patch): + echo 'Patch #37 (gdb-add-index.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/contrib/gdb-add-index.sh Patch #38 (gdb-rhbz2232086-refactor-selftest-support.patch): + echo 'Patch #38 (gdb-rhbz2232086-refactor-selftest-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/testsuite/lib/selftest-support.exp Patch #39 (gdb-rhbz-2232086-reduce-size-of-gdb-index.patch): + echo 'Patch #39 (gdb-rhbz-2232086-reduce-size-of-gdb-index.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/dwarf2/index-write.c patching file gdb/testsuite/gdb.gdb/index-file.exp + echo 'Patch #40 (gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch):' Patch #40 (gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/dwarf2/index-write.c + echo 'Patch #41 (gdb-rhbz-2232086-generate-gdb-index-consistently.patch):' Patch #41 (gdb-rhbz-2232086-generate-gdb-index-consistently.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/dwarf2/index-write.c patching file gdb/testsuite/gdb.gdb/index-file.exp patching file gdb/testsuite/lib/gdb.exp + echo 'Patch #42 (gdb-rhbz-2232086-generate-dwarf-5-index-consistently.patch):' Patch #42 (gdb-rhbz-2232086-generate-dwarf-5-index-consistently.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/dwarf2/index-write.c patching file gdb/testsuite/gdb.gdb/index-file.exp Patch #43 (gdb-rhbz2250652-gdbpy_gil.patch): + echo 'Patch #43 (gdb-rhbz2250652-gdbpy_gil.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/python/python-internal.h patching file gdb/python/python.c + echo 'Patch #44 (gdb-rhbz2250652-avoid-PyOS_ReadlineTState.patch):' Patch #44 (gdb-rhbz2250652-avoid-PyOS_ReadlineTState.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/python/py-gdb-readline.c Patch #45 (gdb-ftbs-swapped-calloc-args.patch): + echo 'Patch #45 (gdb-ftbs-swapped-calloc-args.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file opcodes/arc-dis.c patching file opcodes/ppc-dis.c Patch #46 (gdb-rhbz2261580-intrusive_list-assertion-fix.patch): + echo 'Patch #46 (gdb-rhbz2261580-intrusive_list-assertion-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gdb/gdbthread.h Patch #47 (047-bugfix-for-CVE-2025-69648.patch): + echo 'Patch #47 (047-bugfix-for-CVE-2025-69648.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 can't find file to patch at input line 29 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 598704a00cbac5e85c2bedd363357b5bf6fcee33 Mon Sep 17 00:00:00 2001 |From: Alan Modra |Date: Sat, 22 Nov 2025 09:22:10 +1030 |Subject: [PATCH] PR 33638, debug_rnglists output | |The fuzzed testcase in this PR continuously outputs an error about |the debug_rnglists header. Fixed by taking notice of the error and |stopping output. The patch also limits the length in all cases, not |just when a relocation is present, and limits the offset entry count |read from the header. I removed the warning and the test for relocs |because the code can't work reliably with unresolved relocs in the |length field. | | PR 33638 | * dwarf.c (display_debug_rnglists_list): Return bool. Rename | "inital_length" to plain "length". Verify length is large | enough to read header. Limit length to rest of section. | Similarly limit offset_entry_count. | (display_debug_ranges): Check display_debug_rnglists_unit_header | return status. Stop output on error. |--- | binutils/dwarf.c | 67 ++++++++++++++++++++++++------------------------ | 1 file changed, 34 insertions(+), 33 deletions(-) | |diff --git a/binutils/dwarf.c b/binutils/dwarf.c |index 0fc0329ec90..407c6477788 100644 |--- a/binutils/dwarf.c |+++ b/binutils/dwarf.c -------------------------- No file to patch. Skipping patch. 7 out of 7 hunks ignored RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Shamxn (%prep) Macro expanded in comment on line 59: %{tarname}.tar.xz extra tokens at the end of %endif directive in line 70: %endif # 0%{?_build_minimal} Bad exit status from /var/tmp/rpm-tmp.Shamxn (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdb.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdb.spec'