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: Sun, 19 Jun 2016 05:02:17 +0200 Message-ID: <57660B39.5080909@cs.ucla.edu> References: 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 1466305409 10614 80.91.229.3 (19 Jun 2016 03:03:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2016 03:03:29 +0000 (UTC) Cc: Florian Weimer , 23760@debbugs.gnu.org To: 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 Sun Jun 19 05:03:18 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 1bET0z-0004Gw-EO for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jun 2016 05:03:13 +0200 Original-Received: from localhost ([::1]:37250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bET0y-0006lD-Qj for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 23:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bET0s-0006al-RH for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 23:03:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bET0o-0006Fs-EH for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 23:03:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bET0o-0006Fo-AY for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 23:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bET0o-0008Nw-1Y for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 23:03:02 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 23760-submit@debbugs.gnu.org id=B23760.146630534932194 (code B ref 23760); Sun, 19 Jun 2016 03:03:02 +0000 Original-Received: (at 23760) by debbugs.gnu.org; 19 Jun 2016 03:02:29 +0000 Original-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 Original-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 Original-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) 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 reiicF82UPiO; Sat, 18 Jun 2016 20:02:21 -0700 (PDT) Original-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 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 ywj-IEAkXW04; Sat, 18 Jun 2016 20:02:21 -0700 (PDT) Original-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) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 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:119767 Archived-At: 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.