From: Tiezhu Yang <yangtiezhu@loongson.cn>
To: gdb-patches@sourceware.org
Cc: Andy Wingo <wingo@pobox.com>
Subject: GDB build error with guile v3.0.8
Date: Wed, 6 Jul 2022 09:27:42 +0800 [thread overview]
Message-ID: <35d3edec-b84a-6839-38ff-0c2106b33414@loongson.cn> (raw)
When build GDB with guile v3.0.8, there exists the following build error:
/home/loongson/gdb.git/gdb/guile/guile.c:680:5:
error:‘scm_install_gmp_memory_functions’ is deprecated
[-Werror=deprecated-declarations]
This is because scm_install_gmp_memory_functions is deprecated since
guile v3.0.7.
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=aa5455ea98a7
Using "/home/loongson/gdb.git/configure --without-guile" can avoid the
above issue.
But what is the proper way to fix the build error?
Just delete "scm_install_gmp_memory_functions = 0;" in gdb/guile/guile.c?
Thanks,
Tiezhu
next reply other threads:[~2022-07-06 1:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-06 1:27 Tiezhu Yang [this message]
2022-07-06 8:02 ` Tom de Vries
2022-07-06 15:21 ` Tom de Vries
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=35d3edec-b84a-6839-38ff-0c2106b33414@loongson.cn \
--to=yangtiezhu@loongson.cn \
--cc=gdb-patches@sourceware.org \
--cc=wingo@pobox.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).