public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* GDB build error with guile v3.0.8
@ 2022-07-06  1:27 Tiezhu Yang
  2022-07-06  8:02 ` Tom de Vries
  0 siblings, 1 reply; 3+ messages in thread
From: Tiezhu Yang @ 2022-07-06  1:27 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andy Wingo

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-06 15:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-06  1:27 GDB build error with guile v3.0.8 Tiezhu Yang
2022-07-06  8:02 ` Tom de Vries
2022-07-06 15:21   ` Tom de Vries

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).