From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24892: {s, }brk removed from FreeBSD 11.x and later, arm64 architecture Date: Tue, 08 Nov 2016 22:11:22 +0200 Message-ID: <838tsthgut.fsf@gnu.org> References: <8660nzkevm.fsf@lostca.se> <82a03552-8f33-2dbe-6bb5-54f649b29db7@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1478635969 20525 195.159.176.226 (8 Nov 2016 20:12:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2016 20:12:49 +0000 (UTC) Cc: 24892@debbugs.gnu.org, ashish.is@lostca.se To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 08 21:12:40 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Ckf-0001E9-6N for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Nov 2016 21:12:13 +0100 Original-Received: from localhost ([::1]:35196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Cki-0000OM-7l for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Nov 2016 15:12:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4CkY-0000NT-Mp for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 15:12:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4CkU-0000uV-IP for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 15:12:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4CkU-0000uH-Fe for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 15:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c4CkU-0002ds-84; Tue, 08 Nov 2016 15:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Nov 2016 20:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24892 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24892-submit@debbugs.gnu.org id=B24892.147863590010118 (code B ref 24892); Tue, 08 Nov 2016 20:12:02 +0000 Original-Received: (at 24892) by debbugs.gnu.org; 8 Nov 2016 20:11:40 +0000 Original-Received: from localhost ([127.0.0.1]:50018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Ck7-0002d8-Uo for submit@debbugs.gnu.org; Tue, 08 Nov 2016 15:11:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Ck7-0002cr-0c for 24892@debbugs.gnu.org; Tue, 08 Nov 2016 15:11:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Cjx-0000oB-KX for 24892@debbugs.gnu.org; Tue, 08 Nov 2016 15:11:33 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Cjx-0000o3-Gb; Tue, 08 Nov 2016 15:11:29 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3285 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c4Cjw-0007ni-H5; Tue, 08 Nov 2016 15:11:29 -0500 In-reply-to: <82a03552-8f33-2dbe-6bb5-54f649b29db7@cs.ucla.edu> (message from Paul Eggert on Tue, 8 Nov 2016 09:54:45 -0800) 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:125488 Archived-At: > From: Paul Eggert > Date: Tue, 8 Nov 2016 09:54:45 -0800 > Cc: 24892@debbugs.gnu.org > > Thanks for reporting that. Although I don't have easy access to that > platform, I simulated the problem on FreeBSD 11 x86-64 and came up with > the attached patch, which I installed into the Emacs master branch. > Please give it a try if you can, and let me know either way. I doubt > whether this patch will apply to Emacs 25 and have not investigated the > details there. Thanks! I think we must have at least a workaround for this in Emacs 25. Can't we use a similar solution in emacs-25, i.e. systems that don't have sbrk will use their system malloc? (I understand that on master we use system malloc for more platforms, but we don't have to do that on emacs-25.)