From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert 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 12:04:50 +0200 Message-ID: <5767BFC2.3090504@cs.ucla.edu> References: <57660B39.5080909@cs.ucla.edu> <5767B146.30902@cs.ucla.edu> <10c68790-0574-d3bd-752f-f5562ebf9fcb@redhat.com> 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 1466417206 32021 80.91.229.3 (20 Jun 2016 10:06:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 10:06:46 +0000 (UTC) Cc: 23760@debbugs.gnu.org To: Florian Weimer , 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 12:06:31 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 1bEw5x-0003Xn-2W for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 12:06:17 +0200 Original-Received: from localhost ([::1]:42424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEw5w-0006Ab-A5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 06:06:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEw5o-00068k-HE for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 06:06:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEw5h-00076d-T7 for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 06:06:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEw5h-00076N-Qd for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 06:06:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bEw5h-0006hm-Il for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 06:06:01 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146641710525710 (code B ref 23760); Mon, 20 Jun 2016 10:06:01 +0000 Original-Received: (at 23760) by debbugs.gnu.org; 20 Jun 2016 10:05:05 +0000 Original-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 Original-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 Original-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) Original-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) Original-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 Original-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) Original-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) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: <10c68790-0574-d3bd-752f-f5562ebf9fcb@redhat.com> 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:119818 Archived-At: 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.