public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: Tiezhu Yang <yangtiezhu@loongson.cn>, gdb-patches@sourceware.org
Cc: Andy Wingo <wingo@pobox.com>
Subject: Re: GDB build error with guile v3.0.8
Date: Wed, 6 Jul 2022 17:21:52 +0200	[thread overview]
Message-ID: <00d685d2-7840-5a6f-9de7-2a83349498e2@suse.de> (raw)
In-Reply-To: <f79420ab-0726-4847-aa4a-f18ec2426fe5@suse.de>

On 7/6/22 10:02, Tom de Vries via Gdb-patches wrote:
> On 7/6/22 03:27, Tiezhu Yang wrote:
>> 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 
>>

Actually, since v3.0.8:
...
$ git tag --contains aa5455ea98a7
v3.0.8
...

Thanks,
- Tom

>>
>> 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?
>>
> 
> This was filed and discussed at 
> https://sourceware.org/bugzilla/show_bug.cgi?id=28994 .
> 
> Thanks,
> - Tom
> 

      reply	other threads:[~2022-07-06 15:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06  1:27 Tiezhu Yang
2022-07-06  8:02 ` Tom de Vries
2022-07-06 15:21   ` Tom de Vries [this message]

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=00d685d2-7840-5a6f-9de7-2a83349498e2@suse.de \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    --cc=wingo@pobox.com \
    --cc=yangtiezhu@loongson.cn \
    /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).