From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id B47973857C49 for ; Wed, 6 Jul 2022 08:02:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B47973857C49 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id E13E11FA0B; Wed, 6 Jul 2022 08:02:21 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id C630E134CF; Wed, 6 Jul 2022 08:02:21 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /K8vL41BxWImGAAAMHmgww (envelope-from ); Wed, 06 Jul 2022 08:02:21 +0000 Message-ID: Date: Wed, 6 Jul 2022 10:02:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: GDB build error with guile v3.0.8 Content-Language: en-US To: Tiezhu Yang , gdb-patches@sourceware.org Cc: Andy Wingo References: <35d3edec-b84a-6839-38ff-0c2106b33414@loongson.cn> From: Tom de Vries In-Reply-To: <35d3edec-b84a-6839-38ff-0c2106b33414@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2022 08:02:33 -0000 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