public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: On ix86, add -Wno-format-overflow to --enable-gdb-build-warnings.
Date: Sun, 28 Jun 2026 00:00:36 GMT [thread overview]
Message-ID: <178260483624.1.990748225074037941.rpms-gdb-3410a513b2b9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 3410a513b2b9c71f4f8c7850001edef00ef1b2f2
Author : Kevin Buettner <kevinb@redhat.com>
Date : 2022-02-09T18:21:30-07:00
Stats : +11/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/3410a513b2b9c71f4f8c7850001edef00ef1b2f2?branch=gdb-17.2-rebase-f44
Log:
On ix86, add -Wno-format-overflow to --enable-gdb-build-warnings.
(This is a workaround for the bogus warning/error that we now see
on i686 regarding a "may write a terminating nul past the end of
the destination" message for the sprintf() call in
global_symbol_searcher::search() in gdb/symtab.c.)
---
diff --git a/gdb.spec b/gdb.spec
index 7543421..c2b03fc 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -37,7 +37,7 @@ Version: 11.2
# 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: 1%{?dist}
+Release: 2%{?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
# Do not provide URL for snapshots as the file lasts there only for 2 days.
@@ -519,6 +519,9 @@ COMMON_GDB_CONFIGURE_FLAGS="\
--infodir=%{_infodir} \
--with-gdb-datadir=%{_datadir}/gdb \
--enable-gdb-build-warnings=,-Wno-unused,-Wno-deprecated-declarations,-Wno-unused-function\
+%ifarch %{ix86}
+,-Wno-format-overflow\
+%endif
--enable-build-with-cxx \
%ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64
--disable-werror \
@@ -1144,6 +1147,13 @@ fi
%endif
%changelog
+* Wed Feb 9 2022 Kevin Buettner - 11.2-2
+- On ix86, add -Wno-format-overflow to --enable-gdb-build-warnings.
+ (This is a workaround for the bogus warning/error that we now see
+ on i686 regarding a "may write a terminating nul past the end of
+ the destination" message for the sprintf() call in
+ global_symbol_searcher::search() in gdb/symtab.c.)
+
* Wed Feb 9 2022 Kevin Buettner - 11.2-1
- Rebase to FSF GDB 11.2.
reply other threads:[~2026-06-28 0:00 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=178260483624.1.990748225074037941.rpms-gdb-3410a513b2b9@fedoraproject.org \
--to=kevinb@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