public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: - Adjust BuildRequires for RHELs, add ExcludeArch on ia64.
@ 2026-06-27 23:54 Jan Kratochvil
  0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2026-06-27 23:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : c5a9fdc6a7f6c1e103f46e27d81965279999fd48
            Author : Jan Kratochvil <jkratoch@fedoraproject.org>
            Date   : 2010-01-22T01:26:39+00:00
            Stats  : +38/-4 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/c5a9fdc6a7f6c1e103f46e27d81965279999fd48?branch=gdb-17.2-rebase-f44

            Log:
            - Adjust BuildRequires for RHELs, add ExcludeArch on ia64.
- Disable one PIE-introduced assertion on RHELs.

---
diff --git a/gdb-archer-pie-assert-temp-workaround.patch b/gdb-archer-pie-assert-temp-workaround.patch
new file mode 100644
index 0000000..42a9275
--- /dev/null
+++ b/gdb-archer-pie-assert-temp-workaround.patch
@@ -0,0 +1,17 @@
+--- gdb-7.0.50.20100121/gdb/solib-svr4.c-orig	2010-01-21 21:09:54.000000000 +0100
++++ gdb-7.0.50.20100121/gdb/solib-svr4.c	2010-01-21 21:10:01.000000000 +0100
+@@ -596,7 +596,14 @@ scan_dyntag (int dyntag, bfd *abfd, CORE
+        target_section++)
+     if (sect == target_section->the_bfd_section)
+       break;
++  /* FIXME: https://bugzilla.redhat.com/show_bug.cgi?id=556310
++     It may crash here but it is not understood why.  */
++#if 0
+   gdb_assert (target_section < current_target_sections->sections_end);
++#else
++  if (target_section == current_target_sections->sections_end)
++    return 0;
++#endif
+ 
+   /* Read in .dynamic from the BFD.  We will get the actual value
+      from memory later.  */

diff --git a/gdb.spec b/gdb.spec
index 70fb9a1..f85644f 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -36,7 +36,7 @@ Version: 7.0.50.20100121
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 3%{?_with_upstream:.upstream}%{dist}
+Release: 4%{?_with_upstream:.upstream}%{dist}
 
 License: GPLv3+
 Group: Development/Debuggers
@@ -45,6 +45,7 @@ Group: Development/Debuggers
 Source: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{version}.tar.bz2
 Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 URL: http://gnu.org/software/gdb/
+ExcludeArch: ia64
 
 # For our convenience
 %define gdb_src gdb-%{version}
@@ -431,6 +432,9 @@ Patch412: gdb-unused-revert.patch
 # Revert FSF GDB gdbserver tracepoints as incomplete now.
 Patch413: gdb-gdbserver-tracepoint-revert.patch
 
+# It may crash here but it is not understood why.
+Patch414: gdb-archer-pie-assert-temp-workaround.patch
+
 BuildRequires: ncurses-devel%{?_isa} texinfo gettext flex bison expat-devel%{?_isa}
 Requires: readline%{?_isa}
 BuildRequires: readline-devel%{?_isa}
@@ -459,6 +463,7 @@ BuildRequires: libstdc++%{?_isa}
 # Ensure the devel libraries are installed for both multilib arches.
 %define bits_local %{?_isa}
 %define bits_other %{?_isa}
+%if 0%{!?el5:1}
 %ifarch s390x
 %define bits_other (%{__isa_name}-31)
 %else #!s390x
@@ -470,6 +475,7 @@ BuildRequires: libstdc++%{?_isa}
 %endif #sparc64 ppc64 s390x x86_64
 %endif #!ppc
 %endif #!s390x
+%endif #!el5
 
 BuildRequires: sharutils dejagnu
 # gcc-objc++ is not covered by the GDB testsuite.
@@ -497,14 +503,17 @@ BuildRequires: libgcc%{bits_local} libgcc%{bits_other}
 # libstdc++-devel of matching bits is required only for g++ -static.
 BuildRequires: libstdc++%{bits_local} libstdc++%{bits_other}
 BuildRequires: libgcj%{bits_local} libgcj%{bits_other}
+%if 0%{!?el5:1}
 BuildRequires: glibc-static%{bits_local}
-# multilib glibc-static is open Bug 488472:
-%if 0%{?el5:1}
-BuildRequires: glibc-static%{bits_other}
 %endif
+# multilib glibc-static is open Bug 488472:
+#BuildRequires: glibc-static%{bits_other}
 # for gcc-java linkage:
 BuildRequires: zlib-devel%{bits_local} zlib-devel%{bits_other}
+# Copied from valgrind-3.5.0-1.
+%ifarch %{ix86} x86_64 ppc ppc64
 BuildRequires: valgrind%{bits_local} valgrind%{bits_other}
+%endif
 
 %endif # 0%{?_with_testsuite:1}
 
@@ -678,6 +687,10 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
 %patch412 -p1
 %patch413 -p1
 # Always verify its applicability.
+%patch414 -p1
+%if 0%{!?rhel:1}
+%patch414 -p1 -R
+%endif
 %patch393 -p1
 %patch335 -p1
 %if 0%{!?el5:1}
@@ -1002,6 +1015,10 @@ fi
 %endif
 
 %changelog
+* Fri Jan 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-4.fc13
+- Adjust BuildRequires for RHELs, add ExcludeArch on ia64.
+- Disable one PIE-introduced assertion on RHELs.
+
 * Thu Jan 21 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-3.fc13
 - Revert FSF GDB gdbserver tracepoints as incomplete now.
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-27 23:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:54 [rpms/gdb] gdb-17.2-rebase-f44: - Adjust BuildRequires for RHELs, add ExcludeArch on ia64 Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox