From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: jsynacek@redhat.com (Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jun 2016 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23760@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146581493918309 (code B ref -1); Mon, 13 Jun 2016 10:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jun 2016 10:48:59 +0000 Received: from localhost ([127.0.0.1]:38579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCPQR-0004lF-8a for submit@debbugs.gnu.org; Mon, 13 Jun 2016 06:48:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCPQO-0004l1-OQ for submit@debbugs.gnu.org; Mon, 13 Jun 2016 06:48:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCPQI-0000nQ-N3 for submit@debbugs.gnu.org; Mon, 13 Jun 2016 06:48:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCPQI-0000n0-K8 for submit@debbugs.gnu.org; Mon, 13 Jun 2016 06:48:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCPQC-0006yM-8A for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 06:48:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCPQB-0000iT-FI for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 06:48:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCPQB-0000hG-9e for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 06:48:43 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EC26764D20 for ; Mon, 13 Jun 2016 10:48:41 +0000 (UTC) Received: from jsynacek-ntb.brq.redhat.com (dhcp-24-121.brq.redhat.com [10.34.24.121]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5DAmd1a003490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 13 Jun 2016 06:48:41 -0400 From: jsynacek@redhat.com (Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?=) Date: Mon, 13 Jun 2016 12:48:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 13 Jun 2016 10:48:42 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Emacs doesn't build with the latest glibc (glibc-2.23-90): CC gmalloc.o ../../src/gmalloc.c:273:15: error: attempt to use poisoned "__malloc_initialize_hook" extern void (*__malloc_initialize_hook) (void); ^ ../../src/gmalloc.c:381:8: error: attempt to use poisoned "__malloc_initialize_hook" void (*__malloc_initialize_hook) (void); ^ ../../src/gmalloc.c: In function 'malloc_initialize_1': ../../src/gmalloc.c:567:7: error: attempt to use poisoned "__malloc_initialize_hook" if (__malloc_initialize_hook) ^ ../../src/gmalloc.c:568:7: error: attempt to use poisoned "__malloc_initialize_hook" (*__malloc_initialize_hook) (); ^ -- Jan Synacek Software Engineer, Red Hat From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:34:40 2016 Received: (at control) by debbugs.gnu.org; 13 Jun 2016 15:34:40 +0000 Received: from localhost ([127.0.0.1]:39142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCTst-0004xn-Us for submit@debbugs.gnu.org; Mon, 13 Jun 2016 11:34:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCTss-0004xa-A6 for control@debbugs.gnu.org; Mon, 13 Jun 2016 11:34:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCTsm-0004eV-Af for control@debbugs.gnu.org; Mon, 13 Jun 2016 11:34:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCTsm-0004eM-7g for control@debbugs.gnu.org; Mon, 13 Jun 2016 11:34:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bCTsk-0003QA-Oq for control@debbugs.gnu.org; Mon, 13 Jun 2016 11:34:30 -0400 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 13 Jun 2016 11:34:30 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) block 19759 by 23760 From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jun 2016 16:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jsynacek@redhat.com (Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?=) Cc: 23760@debbugs.gnu.org Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146583354327507 (code B ref 23760); Mon, 13 Jun 2016 16:00:03 +0000 Received: (at 23760) by debbugs.gnu.org; 13 Jun 2016 15:59:03 +0000 Received: from localhost ([127.0.0.1]:39149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCUGU-00079b-W5 for submit@debbugs.gnu.org; Mon, 13 Jun 2016 11:59:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCUGT-000797-7w for 23760@debbugs.gnu.org; Mon, 13 Jun 2016 11:59:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCUGN-0001e0-9h for 23760@debbugs.gnu.org; Mon, 13 Jun 2016 11:58:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCUGK-0001dg-D7; Mon, 13 Jun 2016 11:58:52 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bCUGI-0005jx-LY; Mon, 13 Jun 2016 11:58:50 -0400 From: Glenn Morris References: X-Spook: Elvis dictionary FAMS Standoff broadside Eco terrorism X-Ran: Sod[++-=%?%Qfn&>f=3O0%x0LV=>Nq95ivy&ou,yW+_k4#T:2E/Qf?iS1+d{m']0eE;!mk X-Hue: green X-Attribution: GM Date: Mon, 13 Jun 2016 11:58:50 -0400 In-Reply-To: ("Jan \=\?utf-8\?B\?U3luw6HEjWVrIidz\?\= message of "Mon, 13 Jun 2016 12:48:39 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) Jan Syn=C3=A1=C4=8Dek wrote: > Emacs doesn't build with the latest glibc (glibc-2.23-90): > > CC gmalloc.o > ../../src/gmalloc.c:273:15: error: attempt to use poisoned "__malloc_init= ialize_hook" I guess this might be fixed already? https://sourceware.org/ml/libc-alpha/2016-06/msg00500.html "Revert symbol poisoning of __malloc_initialize_hook." From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: Jan Synacek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jun 2016 06:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23760@debbugs.gnu.org Cc: Florian Weimer , Glenn Morris Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146588457212533 (code B ref 23760); Tue, 14 Jun 2016 06:10:02 +0000 Received: (at 23760) by debbugs.gnu.org; 14 Jun 2016 06:09:32 +0000 Received: from localhost ([127.0.0.1]:39558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bChXX-0003G5-N1 for submit@debbugs.gnu.org; Tue, 14 Jun 2016 02:09:31 -0400 Received: from mail-it0-f54.google.com ([209.85.214.54]:37447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bChXV-0003Fu-VN for 23760@debbugs.gnu.org; Tue, 14 Jun 2016 02:09:30 -0400 Received: by mail-it0-f54.google.com with SMTP id e5so59561423ith.0 for <23760@debbugs.gnu.org>; Mon, 13 Jun 2016 23:09:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=8m743zB1+2CxqwO+lmdmQlJv2bIkINcb8h+a3iQe7g8=; b=RwoojF/Cr6tD1F0x6NSwGNqjWn1UkJS4QlLrkEDo3a3rh7fI2g4zeOSLsJa9qGamxC Bf+IbliUhp/B6Cd1vZMNlDbUnS3EVME9tIZ0JDwztxFS3uYfPrgUa5vgO+6iCODxswPJ Z8Tkl3AXUFh/TrANhfek/dt/9pGHj6E7A2L8H6hlSMSxJI+IP0oiVFKNSYLKg2tNA1Jy rK55frn+4e7KuPEB5oErcs1h1xfPT1Cx2jRTVX9ypqG2UWIwl/KDEQgmdrsnjQLdH+Uk K5Skb+8kigEVTXVYOSeYs+pV+if7sYeFJlwh9aHQklJN7f6HgPY4jNk/5jfUnIj9n8Sy 9m2Q== X-Gm-Message-State: ALyK8tKlEssv9QiF49Yck2giIAE2dOvmH5oTZcWjDnN6VdNbjf1p6sLX93ObgRTsnEVjliuuRmyY8VLJetaXsbyr MIME-Version: 1.0 X-Received: by 10.36.105.77 with SMTP id e74mr15200625itc.17.1465884564560; Mon, 13 Jun 2016 23:09:24 -0700 (PDT) Received: by 10.107.47.159 with HTTP; Mon, 13 Jun 2016 23:09:24 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Jun 2016 08:09:24 +0200 Message-ID: From: Jan Synacek Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Jun 13, 2016 at 5:58 PM, Glenn Morris wrote: > Jan Syn=C3=A1=C4=8Dek wrote: > >> Emacs doesn't build with the latest glibc (glibc-2.23-90): >> >> CC gmalloc.o >> ../../src/gmalloc.c:273:15: error: attempt to use poisoned "__malloc_ini= tialize_hook" > > I guess this might be fixed already? > > https://sourceware.org/ml/libc-alpha/2016-06/msg00500.html > "Revert symbol poisoning of __malloc_initialize_hook." It was my understanding that this needed to be fixed in both glibc and Emac= s. --=20 Jan Synacek Software Engineer, Red Hat From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: Florian Weimer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jun 2016 06:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan Synacek , 23760@debbugs.gnu.org Cc: Glenn Morris Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146588504713232 (code B ref 23760); Tue, 14 Jun 2016 06:18:01 +0000 Received: (at 23760) by debbugs.gnu.org; 14 Jun 2016 06:17:27 +0000 Received: from localhost ([127.0.0.1]:39563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bChfD-0003RM-IU for submit@debbugs.gnu.org; Tue, 14 Jun 2016 02:17:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bChfC-0003RE-7c for 23760@debbugs.gnu.org; Tue, 14 Jun 2016 02:17:26 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5109B8553F; Tue, 14 Jun 2016 06:17:25 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-204-37.brq.redhat.com [10.40.204.37]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5E6HMse028496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jun 2016 02:17:24 -0400 References: From: Florian Weimer Message-ID: <21855d8d-3725-aa8e-2243-6b3d7765c35f@redhat.com> Date: Tue, 14 Jun 2016 08:17:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 14 Jun 2016 06:17:25 +0000 (UTC) X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) On 06/14/2016 08:09 AM, Jan Synacek wrote: > On Mon, Jun 13, 2016 at 5:58 PM, Glenn Morris wrote: >> Jan Synáček wrote: >> >>> Emacs doesn't build with the latest glibc (glibc-2.23-90): >>> >>> CC gmalloc.o >>> ../../src/gmalloc.c:273:15: error: attempt to use poisoned "__malloc_initialize_hook" >> >> I guess this might be fixed already? >> >> https://sourceware.org/ml/libc-alpha/2016-06/msg00500.html >> "Revert symbol poisoning of __malloc_initialize_hook." > > It was my understanding that this needed to be fixed in both glibc and Emacs. Correct, Emacs should not use symbols in the implementation namespace. Names such as __malloc_initialize_hook (with two leading underscores) could be reserved by other implementations as well, not just glibc. Thanks, Florian From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 14:24:34 2016 Received: (at control) by debbugs.gnu.org; 18 Jun 2016 18:24:34 +0000 Received: from localhost ([127.0.0.1]:45401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEKv4-00030w-Cw for submit@debbugs.gnu.org; Sat, 18 Jun 2016 14:24:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEKv3-00030e-6G for control@debbugs.gnu.org; Sat, 18 Jun 2016 14:24:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEKuv-0000fD-05 for control@debbugs.gnu.org; Sat, 18 Jun 2016 14:24:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEKuu-0000f9-Sz for control@debbugs.gnu.org; Sat, 18 Jun 2016 14:24:24 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1940 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bEKur-0002U5-1L for control@debbugs.gnu.org; Sat, 18 Jun 2016 14:24:23 -0400 Date: Sat, 18 Jun 2016 21:25:15 +0300 Message-Id: <83eg7u9wxg.fsf@gnu.org> From: Eli Zaretskii To: control@debbugs.gnu.org In-reply-to: <21855d8d-3725-aa8e-2243-6b3d7765c35f@redhat.com> (message from Florian Weimer on Tue, 14 Jun 2016 08:17:22 +0200) Subject: Re: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 References: <21855d8d-3725-aa8e-2243-6b3d7765c35f@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) unblock 19759 by 23760 thanks From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 References: In-Reply-To: Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2016 03:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?= Cc: Florian Weimer , Glenn Morris , 23760@debbugs.gnu.org Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146630534932194 (code B ref 23760); Sun, 19 Jun 2016 03:03:02 +0000 Received: (at 23760) by debbugs.gnu.org; 19 Jun 2016 03:02:29 +0000 Received: from localhost ([127.0.0.1]:45543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bET0H-0008NC-9M for submit@debbugs.gnu.org; Sat, 18 Jun 2016 23:02:29 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bET0F-0008N0-HT for 23760@debbugs.gnu.org; Sat, 18 Jun 2016 23:02:27 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 094F21613EA; Sat, 18 Jun 2016 20:02:22 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id reiicF82UPiO; Sat, 18 Jun 2016 20:02:21 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4C61A1613C6; Sat, 18 Jun 2016 20:02:21 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ywj-IEAkXW04; Sat, 18 Jun 2016 20:02:21 -0700 (PDT) Received: from [192.168.1.2] (host156-229-dynamic.37-79-r.retail.telecomitalia.it [79.37.229.156]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2E1111613EA; Sat, 18 Jun 2016 20:02:19 -0700 (PDT) From: Paul Eggert Message-ID: <57660B39.5080909@cs.ucla.edu> Date: Sun, 19 Jun 2016 05:02:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) If I understand things correctly, the Emacs 'configure' script discovered that the test glibc version did not declare and define a symbol __malloc_initialize_hook, and so Emacs supplied its own implementation of malloc, complete with __malloc_initialize_hook. Since __malloc_initialize_hook was poisoned, this didn't work. I suppose Emacs could work around the problem by using __malloc_initialize_hook when linked against an old glibc, and by using a new symbol emacs_malloc_initialize_hook when linked against its substitute implementation. Although this would insulate distant-future versions of Emacs against the poisoning, it wouldn't work for Emacs 25 (the next Emacs version) and earlier; these systems would be unbuildable with a glibc that poisons __malloc_initialize_hook. So as a practical matter, aren't we better off having glibc simply not declare __malloc_initialize_hook? That should work with older Emacs versions, which is a win. I don't see a significant practical advantage to poisoning the symbol. From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: Florian Weimer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2016 08:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert , Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?= Cc: Glenn Morris , 23760@debbugs.gnu.org Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146641250918990 (code B ref 23760); Mon, 20 Jun 2016 08:49:02 +0000 Received: (at 23760) by debbugs.gnu.org; 20 Jun 2016 08:48:29 +0000 Received: from localhost ([127.0.0.1]:47068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEusf-0004wE-A3 for submit@debbugs.gnu.org; Mon, 20 Jun 2016 04:48:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEuse-0004w1-8O for 23760@debbugs.gnu.org; Mon, 20 Jun 2016 04:48:28 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 23C5EC049D67; Mon, 20 Jun 2016 08:48:22 +0000 (UTC) Received: from oldenburg.str.redhat.com (dhcp-192-212.str.redhat.com [10.33.192.212]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5K8mJkq028947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jun 2016 04:48:21 -0400 References: <57660B39.5080909@cs.ucla.edu> From: Florian Weimer Message-ID: Date: Mon, 20 Jun 2016 10:48:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <57660B39.5080909@cs.ucla.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 20 Jun 2016 08:48:22 +0000 (UTC) X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) On 06/19/2016 05:02 AM, Paul Eggert wrote: > If I understand things correctly, the Emacs 'configure' script > discovered that the test glibc version did not declare and define a > symbol __malloc_initialize_hook, and so Emacs supplied its own > implementation of malloc, complete with __malloc_initialize_hook. Since > __malloc_initialize_hook was poisoned, this didn't work. Yes, that's right. I didn't account for the possibility that Emacs would use symbols in the implementation namespace for implementing its own malloc. > I suppose Emacs could work around the problem by using > __malloc_initialize_hook when linked against an old glibc, and by using > a new symbol emacs_malloc_initialize_hook when linked against its > substitute implementation. Although this would insulate distant-future > versions of Emacs against the poisoning, it wouldn't work for Emacs 25 > (the next Emacs version) and earlier; these systems would be unbuildable > with a glibc that poisons __malloc_initialize_hook. So as a practical > matter, aren't we better off having glibc simply not declare > __malloc_initialize_hook? You mean, not declare it in ? I already posted a patch for that: I'm more worried about the other __ variables in the Emacs malloc. Their in Emacs definition does not even match the one in glibc. The difference is probably harmless, but it is fairly close to be being broken. Thanks, Florian From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2016 09:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Florian Weimer , Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?= Cc: Glenn Morris , 23760@debbugs.gnu.org Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146641339320320 (code B ref 23760); Mon, 20 Jun 2016 09:04:01 +0000 Received: (at 23760) by debbugs.gnu.org; 20 Jun 2016 09:03:13 +0000 Received: from localhost ([127.0.0.1]:47072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEv6v-0005Hf-Ln for submit@debbugs.gnu.org; Mon, 20 Jun 2016 05:03:13 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEv6t-0005HT-UG for 23760@debbugs.gnu.org; Mon, 20 Jun 2016 05:03:12 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 315C51613F2; Mon, 20 Jun 2016 02:03:06 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9jWBqqnn81u4; Mon, 20 Jun 2016 02:03:05 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7D78E1613F1; Mon, 20 Jun 2016 02:03:05 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wbducWSzbgBe; Mon, 20 Jun 2016 02:03:05 -0700 (PDT) Received: from [192.168.1.2] (host81-220-dynamic.35-79-r.retail.telecomitalia.it [79.35.220.81]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 5B76F1613EA; Mon, 20 Jun 2016 02:03:04 -0700 (PDT) References: <57660B39.5080909@cs.ucla.edu> From: Paul Eggert Message-ID: <5767B146.30902@cs.ucla.edu> Date: Mon, 20 Jun 2016 11:03:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) On 06/20/2016 10:48 AM, Florian Weimer wrote: >> aren't we better off having glibc simply not declare >> __malloc_initialize_hook? > > You mean, not declare it in ? Yes, that's what I meant. > > I'm more worried about the other __ variables in the Emacs malloc. > Their in Emacs definition does not even match the one in glibc. The > difference is probably harmless, but it is fairly close to be being > broken. The intent is that __malloc_initialize_hook and the other __ variables will become inoperative in glibc, right? That is, glibc won't set or use or care about these obsolete variables. If so, we should be OK with Emacs master as-is: when it substitutes its own (even-more-obsolescent) malloc it will set and use these variables freely, and this won't collide with any glibc use. From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: Florian Weimer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2016 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert , Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?= Cc: Glenn Morris , 23760@debbugs.gnu.org Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146641452721957 (code B ref 23760); Mon, 20 Jun 2016 09:23:02 +0000 Received: (at 23760) by debbugs.gnu.org; 20 Jun 2016 09:22:07 +0000 Received: from localhost ([127.0.0.1]:47084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEvPD-0005i5-I4 for submit@debbugs.gnu.org; Mon, 20 Jun 2016 05:22:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEvPB-0005hd-7o for 23760@debbugs.gnu.org; Mon, 20 Jun 2016 05:22:05 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4F99E7F08F; Mon, 20 Jun 2016 09:22:01 +0000 (UTC) Received: from oldenburg.str.redhat.com (dhcp-192-212.str.redhat.com [10.33.192.212]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5K9LxUo032696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jun 2016 05:22:00 -0400 References: <57660B39.5080909@cs.ucla.edu> <5767B146.30902@cs.ucla.edu> From: Florian Weimer Message-ID: <10c68790-0574-d3bd-752f-f5562ebf9fcb@redhat.com> Date: Mon, 20 Jun 2016 11:21:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <5767B146.30902@cs.ucla.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 20 Jun 2016 09:22:01 +0000 (UTC) X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) On 06/20/2016 11:03 AM, Paul Eggert wrote: >> I'm more worried about the other __ variables in the Emacs malloc. >> Their in Emacs definition does not even match the one in glibc. The >> difference is probably harmless, but it is fairly close to be being >> broken. > > The intent is that __malloc_initialize_hook and the other __ variables > will become inoperative in glibc, right? No, we need to preserve the past behavior of the hooks for old binaries. The usual mechanism for deprecation and removal of an API does not work if the symbol is interposed because it will be unversioned, and unversioned symbols preempt versioned symbols. As a result, even if the symbol is a compat symbol, you can produce new binaries which use the removed API. > That is, glibc won't set or use > or care about these obsolete variables. If we did that, old Emacs binaries would stop working because Emacs uses __malloc_initialize_hook to call malloc_set_state, which essential for restoring the dumped heap. Florian From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2016 10:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Florian Weimer , Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?= Cc: Glenn Morris , 23760@debbugs.gnu.org Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146641710525710 (code B ref 23760); Mon, 20 Jun 2016 10:06:01 +0000 Received: (at 23760) by debbugs.gnu.org; 20 Jun 2016 10:05:05 +0000 Received: from localhost ([127.0.0.1]:47103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEw4m-0006gc-Qz for submit@debbugs.gnu.org; Mon, 20 Jun 2016 06:05:05 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEw4l-0006g4-CB for 23760@debbugs.gnu.org; Mon, 20 Jun 2016 06:05:03 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 982411613C4; Mon, 20 Jun 2016 03:04:57 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id GyAxScy2SLbi; Mon, 20 Jun 2016 03:04:56 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DC08C1613DB; Mon, 20 Jun 2016 03:04:56 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hTBo-RD-Yqd5; Mon, 20 Jun 2016 03:04:56 -0700 (PDT) Received: from [192.168.1.2] (host81-220-dynamic.35-79-r.retail.telecomitalia.it [79.35.220.81]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 9AF031613C4; Mon, 20 Jun 2016 03:04:54 -0700 (PDT) References: <57660B39.5080909@cs.ucla.edu> <5767B146.30902@cs.ucla.edu> <10c68790-0574-d3bd-752f-f5562ebf9fcb@redhat.com> From: Paul Eggert Message-ID: <5767BFC2.3090504@cs.ucla.edu> Date: Mon, 20 Jun 2016 12:04:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <10c68790-0574-d3bd-752f-f5562ebf9fcb@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) On 06/20/2016 11:21 AM, Florian Weimer wrote: > > The usual mechanism for deprecation and removal of an API does not > work if the symbol is interposed because it will be unversioned, and > unversioned symbols preempt versioned symbols. As a result, even if > the symbol is a compat symbol, you can produce new binaries which use > the removed API. > True, but in this particular case Emacs is replacing malloc as well as __malloc_initialize_hook etc., so I don't see a problem. Although new Emacs binaries will still use the removed API, they will also support the removed API. What *could* be a problem is if the new glibc malloc API supplies symbols that Emacs does not supply, and if other parts of the new glibc use these symbols. But I don't see this happening either (and if it did happen, poisoning __malloc_initialize_hook wouldn't fix it). Perhaps poisoning __malloc_initialize_hook helps for some theoretical applications, but for Emacs I don't see how it is a win. From unknown Sun Jun 22 07:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Resent-From: Florian Weimer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2016 10:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert , Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?= Cc: Glenn Morris , 23760@debbugs.gnu.org Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146641775326648 (code B ref 23760); Mon, 20 Jun 2016 10:16:02 +0000 Received: (at 23760) by debbugs.gnu.org; 20 Jun 2016 10:15:53 +0000 Received: from localhost ([127.0.0.1]:47112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEwFF-0006vk-5U for submit@debbugs.gnu.org; Mon, 20 Jun 2016 06:15:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEwFB-0006vU-71 for 23760@debbugs.gnu.org; Mon, 20 Jun 2016 06:15:51 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E972B80F6D; Mon, 20 Jun 2016 10:15:42 +0000 (UTC) Received: from oldenburg.str.redhat.com (dhcp-192-212.str.redhat.com [10.33.192.212]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5KAFeH0026562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jun 2016 06:15:41 -0400 References: <57660B39.5080909@cs.ucla.edu> <5767B146.30902@cs.ucla.edu> <10c68790-0574-d3bd-752f-f5562ebf9fcb@redhat.com> <5767BFC2.3090504@cs.ucla.edu> From: Florian Weimer Message-ID: Date: Mon, 20 Jun 2016 12:15:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <5767BFC2.3090504@cs.ucla.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 20 Jun 2016 10:15:43 +0000 (UTC) X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) On 06/20/2016 12:04 PM, Paul Eggert wrote: > On 06/20/2016 11:21 AM, Florian Weimer wrote: >> >> The usual mechanism for deprecation and removal of an API does not >> work if the symbol is interposed because it will be unversioned, and >> unversioned symbols preempt versioned symbols. As a result, even if >> the symbol is a compat symbol, you can produce new binaries which use >> the removed API. >> > > True, but in this particular case Emacs is replacing malloc as well as > __malloc_initialize_hook etc., so I don't see a problem. Although new > Emacs binaries will still use the removed API, they will also support > the removed API. You need just one linked DSOs which somehow manages to call a function in the glibc malloc implementation, and interesting things will happen. > What *could* be a problem is if the new glibc malloc API supplies > symbols that Emacs does not supply, and if other parts of the new glibc > use these symbols. But I don't see this happening either (and if it did > happen, poisoning __malloc_initialize_hook wouldn't fix it). We already have this problem with malloc_usable_size, and perhaps some of the aligned allocation functions. This reminds me of this glibc bug, which I've put on my list to fix: I think after that, at least glibc will be interposition-clean. > Perhaps poisoning __malloc_initialize_hook helps for some theoretical > applications, but for Emacs I don't see how it is a win. I'm worried that Emacs developers decide to ignore the API removal and keep using glibc malloc and the malloc_set_state function it provides. If we can turn the latter into a compatibility symbol during this development cycle, that would go a long way towards addressing my concern. Florian From unknown Sun Jun 22 07:35:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jsynacek@redhat.com (Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?=) Subject: bug#23760: closed (Re: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90) Message-ID: References: <577D07C7.2070102@cs.ucla.edu> X-Gnu-PR-Message: they-closed 23760 X-Gnu-PR-Package: emacs Reply-To: 23760@debbugs.gnu.org Date: Wed, 06 Jul 2016 13:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1467811803-28687-1" This is a multi-part message in MIME format... ------------=_1467811803-28687-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23760@debbugs.gnu.org. --=20 23760: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23760 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1467811803-28687-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23760-done) by debbugs.gnu.org; 6 Jul 2016 13:29:57 +0000 Received: from localhost ([127.0.0.1]:38945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKmtp-0007SA-7i for submit@debbugs.gnu.org; Wed, 06 Jul 2016 09:29:57 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:36205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKmtn-0007Rx-Hs for 23760-done@debbugs.gnu.org; Wed, 06 Jul 2016 09:29:55 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C833F160EF1 for <23760-done@debbugs.gnu.org>; Wed, 6 Jul 2016 06:29:49 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 7zgVDfL5wZ2j for <23760-done@debbugs.gnu.org>; Wed, 6 Jul 2016 06:29:49 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 30FEB1613C2 for <23760-done@debbugs.gnu.org>; Wed, 6 Jul 2016 06:29:49 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1sjPzk9glIcq for <23760-done@debbugs.gnu.org>; Wed, 6 Jul 2016 06:29:49 -0700 (PDT) Received: from [192.168.0.35] (89-159-79-138.rev.numericable.fr [89.159.79.138]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id BAAEB160EF1 for <23760-done@debbugs.gnu.org>; Wed, 6 Jul 2016 06:29:48 -0700 (PDT) To: 23760-done@debbugs.gnu.org From: Paul Eggert Subject: Re: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Message-ID: <577D07C7.2070102@cs.ucla.edu> Date: Wed, 6 Jul 2016 15:29:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 23760-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) As this incompatibility was fixed in glibc commit 92e1ab0eb58c57d5843fa982ff6c24f551f2f634, I'm closing the Emacs bug report. Obviously we have some longer-term issues to address, but the problem prompting this bug report appears to have been fixed on the glibc side. ------------=_1467811803-28687-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Jun 2016 10:48:59 +0000 Received: from localhost ([127.0.0.1]:38579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCPQR-0004lF-8a for submit@debbugs.gnu.org; Mon, 13 Jun 2016 06:48:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCPQO-0004l1-OQ for submit@debbugs.gnu.org; Mon, 13 Jun 2016 06:48:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCPQI-0000nQ-N3 for submit@debbugs.gnu.org; Mon, 13 Jun 2016 06:48:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCPQI-0000n0-K8 for submit@debbugs.gnu.org; Mon, 13 Jun 2016 06:48:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCPQC-0006yM-8A for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 06:48:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCPQB-0000iT-FI for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 06:48:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCPQB-0000hG-9e for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 06:48:43 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EC26764D20 for ; Mon, 13 Jun 2016 10:48:41 +0000 (UTC) Received: from jsynacek-ntb.brq.redhat.com (dhcp-24-121.brq.redhat.com [10.34.24.121]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5DAmd1a003490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 13 Jun 2016 06:48:41 -0400 From: jsynacek@redhat.com (Jan =?utf-8?B?U3luw6HEjWVr?=) To: bug-gnu-emacs@gnu.org Subject: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Date: Mon, 13 Jun 2016 12:48:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 13 Jun 2016 10:48:42 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Emacs doesn't build with the latest glibc (glibc-2.23-90): CC gmalloc.o ../../src/gmalloc.c:273:15: error: attempt to use poisoned "__malloc_initialize_hook" extern void (*__malloc_initialize_hook) (void); ^ ../../src/gmalloc.c:381:8: error: attempt to use poisoned "__malloc_initialize_hook" void (*__malloc_initialize_hook) (void); ^ ../../src/gmalloc.c: In function 'malloc_initialize_1': ../../src/gmalloc.c:567:7: error: attempt to use poisoned "__malloc_initialize_hook" if (__malloc_initialize_hook) ^ ../../src/gmalloc.c:568:7: error: attempt to use poisoned "__malloc_initialize_hook" (*__malloc_initialize_hook) (); ^ -- Jan Synacek Software Engineer, Red Hat ------------=_1467811803-28687-1-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 20 14:38:24 2016 Received: (at control) by debbugs.gnu.org; 20 Jul 2016 18:38:24 +0000 Received: from localhost ([127.0.0.1]:58917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPwO0-0000iw-5e for submit@debbugs.gnu.org; Wed, 20 Jul 2016 14:38:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPwNy-0000ik-Nw for control@debbugs.gnu.org; Wed, 20 Jul 2016 14:38:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPwNs-0002xR-TG for control@debbugs.gnu.org; Wed, 20 Jul 2016 14:38:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPwNs-0002xH-QY for control@debbugs.gnu.org; Wed, 20 Jul 2016 14:38:16 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bPwNr-0000Zc-Br for control@debbugs.gnu.org; Wed, 20 Jul 2016 14:38:15 -0400 Subject: control message for bug 23760 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 20 Jul 2016 14:38:15 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) forcemerge 24033 23760 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 12:51:11 2016 Received: (at control) by debbugs.gnu.org; 11 Aug 2016 16:51:11 +0000 Received: from localhost ([127.0.0.1]:54261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtCJ-0005H1-ME for submit@debbugs.gnu.org; Thu, 11 Aug 2016 12:51:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtCI-0005Go-7x for control@debbugs.gnu.org; Thu, 11 Aug 2016 12:51:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtCC-0002ay-HL for control@debbugs.gnu.org; Thu, 11 Aug 2016 12:51:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtCC-0002au-EE for control@debbugs.gnu.org; Thu, 11 Aug 2016 12:51:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bXtCB-0002Xz-09 for control@debbugs.gnu.org; Thu, 11 Aug 2016 12:51:03 -0400 Subject: control message for bug 24204 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 11 Aug 2016 12:51:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) forcemerge 23760 24204