From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.emacs.bugs Subject: bug#23760: 25.0.95; emacs 25.0.95 doesn't build with glibc-2.23.90 Date: Mon, 20 Jun 2016 11:21:58 +0200 Message-ID: <10c68790-0574-d3bd-752f-f5562ebf9fcb@redhat.com> References: <57660B39.5080909@cs.ucla.edu> <5767B146.30902@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1466414610 24723 80.91.229.3 (20 Jun 2016 09:23:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 09:23:30 +0000 (UTC) Cc: 23760@debbugs.gnu.org To: Paul Eggert , Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 20 11:23:21 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bEvQF-0008DP-Pk for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 11:23:11 +0200 Original-Received: from localhost ([::1]:42253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEvQF-0007I4-2q for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 05:23:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEvQ7-0007Gs-Ao for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 05:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEvQ6-0006S4-CK for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 05:23:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEvQ6-0006Rz-9L for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 05:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bEvQ6-0005jN-5L for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 05:23:02 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146641452721957 (code B ref 23760); Mon, 20 Jun 2016 09:23:02 +0000 Original-Received: (at 23760) by debbugs.gnu.org; 20 Jun 2016 09:22:07 +0000 Original-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 Original-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 Original-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) Original-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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 In-Reply-To: <5767B146.30902@cs.ucla.edu> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119817 Archived-At: 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