From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info Date: Sat, 14 Aug 2021 19:40:17 +0300 Message-ID: <83zgtk9dzi.fsf@gnu.org> References: <85lf5416vb.fsf@laptop.i-did-not-set--mail-host-address--so-tickle-me> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36251"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50058@debbugs.gnu.org To: birdsite@airmail.cc Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 14 18:41:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEwib-0009DX-J7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Aug 2021 18:41:09 +0200 Original-Received: from localhost ([::1]:35968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEwia-0002Wd-G9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Aug 2021 12:41:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEwiU-0002WO-T4 for bug-gnu-emacs@gnu.org; Sat, 14 Aug 2021 12:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEwiU-0007Hq-JZ for bug-gnu-emacs@gnu.org; Sat, 14 Aug 2021 12:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEwiU-0006JB-HO for bug-gnu-emacs@gnu.org; Sat, 14 Aug 2021 12:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Aug 2021 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50058 X-GNU-PR-Package: emacs Original-Received: via spool by 50058-submit@debbugs.gnu.org id=B50058.162895924324205 (code B ref 50058); Sat, 14 Aug 2021 16:41:02 +0000 Original-Received: (at 50058) by debbugs.gnu.org; 14 Aug 2021 16:40:43 +0000 Original-Received: from localhost ([127.0.0.1]:45325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEwiB-0006IK-7J for submit@debbugs.gnu.org; Sat, 14 Aug 2021 12:40:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEwi8-0006Hz-19 for 50058@debbugs.gnu.org; Sat, 14 Aug 2021 12:40:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54418) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEwi1-0006vj-NG; Sat, 14 Aug 2021 12:40:33 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2108 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEwhx-0003bM-1F; Sat, 14 Aug 2021 12:40:33 -0400 In-Reply-To: <85lf5416vb.fsf@laptop.i-did-not-set--mail-host-address--so-tickle-me> (birdsite@airmail.cc) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211849 Archived-At: > From: birdsite@airmail.cc > Date: Sat, 14 Aug 2021 19:26:12 +0545 > > Recently while building emacs from source in void-linux using musl libc, > the make program exits saying undefined reference to malloc_info. > > Using git-bisect, i've found that the problem started with commit > 621bb79b7044dcc277386eb7338c0eb1e08c29c7 `New debugging command > 'malloc-info'' > This commit was introduced in 2020 Nov 10 > > The problem is present in the HEAD as of 2021 Aug 11 with commit > 244acc5a057b0d6ff03754af14d71808b6f20233 `Replace some `string-match-p' > calls in Tramp' > > I beleive the problem exists because i'm using musl libc and not glibc. Does musl define some preprocessor macro that we could use to condition that function's compilation?