Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2016 08:21:04 -0800
From:      Paul Eggert <eggert@cs.ucla.edu>
To:        Ashish SHUKLA <ashish.is@lostca.se>
Cc:        24892@debbugs.gnu.org, freebsd-hackers@freebsd.org
Subject:   Re: bug#24892: {s, }brk removed from FreeBSD 11.x and later, arm64 architecture
Message-ID:  <5ec481c4-41e1-c7dd-433d-f533653b132f@cs.ucla.edu>
In-Reply-To: <8637ipm0nb.fsf@lostca.se>
References:  <82a03552-8f33-2dbe-6bb5-54f649b29db7@cs.ucla.edu> <86vavxs2cn.fsf@members.fsf.org> <5adee8d9-8f08-9536-a95f-ae64719d6a0f@cs.ucla.edu> <mvminrxc7f2.fsf@hawking.suse.de> <c9396165-da2e-3c41-ec2b-070ce9c885bb@cs.ucla.edu> <mvmtwbfachr.fsf@hawking.suse.de> <40f8df50-b431-1ebd-221c-df2aa453aa81@cs.ucla.edu> <mvmfumz8e2u.fsf@hawking.suse.de> <06ee71fd-1a64-d32b-862e-c725807aef4e@cs.ucla.edu> <mvm60nv8cky.fsf@hawking.suse.de> <876cf047-82fb-f08c-bbb3-024206f6fabd@cs.ucla.edu> <83twb6dnkm.fsf@gnu.org> <8637ipm0nb.fsf@lostca.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Ashish SHUKLA wrote:

> One of the FreeBSD developer has
> pointed me to this ongoing discussion[1] on freebsd-hackers@ list.
>
> References:
> [1]  https://lists.freebsd.org/pipermail/freebsd-hackers/2016-November/=
050144.html

OK, thanks, I'll CC: freebsd-hackers. FreeBSD hackers: this is following =
up on=20
this serious Emacs bug report, which says that Emacs no longer works on F=
reeBSD=20
11.x arm64:

https://bugs.gnu.org/24892

The referenced FreeBSD discussion appears to be under the misapprehension=
 that=20
sbrk is useful only to estimate how much memory is in use, and since this=
 use=20
has long been wrong sbrk should be unceremoniously removed. Unfortunately=
, this=20
assumption is incorrect for Emacs, as (bleeding-edge) Emacs uses its own=20
allocator during its build process, and reverts to malloc only during use=
r=20
operation. (The build-time Emacs makes a copy of itself in a new executab=
le, and=20
relies on sbrk during the build.) Obviously this is dicey and we are plan=
ning to=20
change Emacs to make it more portable; however, this will require nontriv=
ial=20
reengineering on our part.

In the meantime we respectfully request that sbrk functionality be kept i=
n=20
FreeBSD 11.x arm64 for a while. It is fine to mark it as deprecated or ob=
solete,=20
or even rename it, but please do not remove the functionality entirely.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ec481c4-41e1-c7dd-433d-f533653b132f>