* 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
* Re: GDB build error with guile v3.0.8
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
0 siblings, 1 reply; 3+ messages in thread
From: Tom de Vries @ 2022-07-06 8:02 UTC (permalink / raw)
To: Tiezhu Yang, gdb-patches; +Cc: Andy Wingo
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
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GDB build error with guile v3.0.8
2022-07-06 8:02 ` Tom de Vries
@ 2022-07-06 15:21 ` Tom de Vries
0 siblings, 0 replies; 3+ messages in thread
From: Tom de Vries @ 2022-07-06 15:21 UTC (permalink / raw)
To: Tiezhu Yang, gdb-patches; +Cc: Andy Wingo
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
>
^ 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).