[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24892: {s, }brk removed from FreeBSD 11.x and later, arm64 architect

From: Paul Eggert
Subject: bug#24892: {s, }brk removed from FreeBSD 11.x and later, arm64 architecture
Date: Fri, 18 Nov 2016 08:21:04 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Ashish SHUKLA wrote:

One of the FreeBSD developer has
pointed me to this ongoing discussion[1] on freebsd-hackers@ list.


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


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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]