From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24033: Porting emacs-25 to GNU/Linux ppc64 with draft glibc 2.24 Date: Wed, 20 Jul 2016 17:59:27 +0300 Message-ID: <83poq8z774.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1469026832 16997 80.91.229.3 (20 Jul 2016 15:00:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jul 2016 15:00:32 +0000 (UTC) Cc: 24033@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 20 17:00:15 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 1bPsys-0004sw-Oq for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jul 2016 17:00:14 +0200 Original-Received: from localhost ([::1]:35078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPsys-00016l-1i for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jul 2016 11:00:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPsyl-000147-Kb for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2016 11:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPsyh-0001KN-CV for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2016 11:00:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPsyh-0001K2-9o for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2016 11:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bPsyh-0001zb-1G for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2016 11:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jul 2016 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24033 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24033-submit@debbugs.gnu.org id=B24033.14690267807602 (code B ref 24033); Wed, 20 Jul 2016 15:00:02 +0000 Original-Received: (at 24033) by debbugs.gnu.org; 20 Jul 2016 14:59:40 +0000 Original-Received: from localhost ([127.0.0.1]:58755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPsyH-0001yS-4i for submit@debbugs.gnu.org; Wed, 20 Jul 2016 10:59:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPsyC-0001yE-Vk for 24033@debbugs.gnu.org; Wed, 20 Jul 2016 10:59:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPsy4-00017e-Nj for 24033@debbugs.gnu.org; Wed, 20 Jul 2016 10:59:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPsy4-00017A-KV; Wed, 20 Jul 2016 10:59:24 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4247 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bPsy2-0005eo-MB; Wed, 20 Jul 2016 10:59:23 -0400 In-reply-to: (message from Paul Eggert on Wed, 20 Jul 2016 10:02:32 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:121309 Archived-At: > From: Paul Eggert > Date: Wed, 20 Jul 2016 10:02:32 +0200 > > I'd like to backport the attached patch from master to emacs-25. The > idea is that Emacs 25 should work with glibc 2.24 (which is still in > draft form). glibc is withdrawing support for some deprecated symbols > like malloc_set_state and __malloc_initialize_hook. Emacs is intended to > be portable to systems lacking these symbols, but this apparently does > not work on ppc64 and ppc64le platforms. As noted in > , the > attached patch has been tested on emacs-25 and works on the affected > platforms. I've also tested it on unaffected platforms such as x86 and > x86-64. Would it be possible to tweak the patch so that it doesn't change the code on platforms other than PPC64? Maybe I misunderstand, but it looks like some changes are also being done in the non-PPC64 branches of the patch, and I'd like to avoid that if possible. (It's okay to move the code around and change it syntactically, as long as the semantics is intact for non-PPC64 platforms.) Thanks.