GDB build error with guile v3.0.8
Tom de Vries
tdevries@suse.de
Wed Jul 6 15:21:52 GMT 2022
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
>
More information about the Gdb-patches
mailing list