public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Remove as no longer needed:
Date: Sat, 27 Jun 2026 23:58:49 GMT	[thread overview]
Message-ID: <178260472935.1.3829428808926569213.rpms-gdb-5cc516897b42@fedoraproject.org> (raw)

          A new commit has been pushed.

          Repo   : rpms/gdb
          Branch : gdb-17.2-rebase-f44
          Commit : 5cc516897b427f843d99ba2d7bae01cbe9b400af
          Author : Jan Kratochvil <jan.kratochvil@redhat.com>
          Date   : 2018-07-12T11:16:09+02:00
          Stats  : +5/-13 in 1 file(s)
          URL    : https://src.fedoraproject.org/rpms/gdb/c/5cc516897b427f843d99ba2d7bae01cbe9b400af?branch=gdb-17.2-rebase-f44

          Log:
          Remove as no longer needed:
Workaround gcc-8.0: -Wno-error=cast-function-type,stringop-truncation

---
diff --git a/gdb.spec b/gdb.spec
index 19be478..8b74d3a 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 8.1.90.%{snapsrc}
 
 # 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: 31%{?dist}
+Release: 32%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
 Group: Development/Debuggers
@@ -503,18 +503,6 @@ cd %{gdb_build}$fprofile
 export CFLAGS="$RPM_OPT_FLAGS %{?_with_asan:-fsanitize=address}"
 export LDFLAGS="%{?__global_ldflags} %{?_with_asan:-fsanitize=address}"
 
-%if 0%{?fedora} > 27 || 0%{?rhel} > 7
-# FIXME: gcc-8.0:
-# ./elf32-target.h:215:4: error: cast between incompatible function types from 'void * (*)(bfd *)' {aka 'void * (*)(struct bfd *)'} to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)'} [-Werror=cast-function-type]
-#    ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
-CFLAGS="$CFLAGS -Wno-error=cast-function-type"
-
-# FIXME: gcc-8.0:
-# linux-tdep.c:1767:11: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 17 equals destination size [-Werror=stringop-truncation]
-#    strncpy (p->pr_fname, basename, sizeof (p->pr_fname));
-CFLAGS="$CFLAGS -Wno-error=stringop-truncation"
-%endif # 0%{?fedora} > 27 || 0%{?rhel} > 7
-
 %if 0%{!?rhel:1} || 0%{?rhel} > 7
 CFLAGS="$CFLAGS -DDNF_DEBUGINFO_INSTALL"
 %endif
@@ -1035,6 +1023,10 @@ fi
 %endif
 
 %changelog
+* Thu Jul 12 2018 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.1.90.20180708-32.fc29
+- Remove as no longer needed:
+  Workaround gcc-8.0: -Wno-error=cast-function-type,stringop-truncation
+
 * Thu Jul 12 2018 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.1.90.20180708-31.fc29
 - [dts] Upgrade libstdc++-v3-python to 8.1.1-20180626.
 

                 reply	other threads:[~2026-06-27 23:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260472935.1.3829428808926569213.rpms-gdb-5cc516897b42@fedoraproject.org \
    --to=jan.kratochvil@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox