gmake[3]: Leaving directory '/wrkdirs/usr/ports/editors/emacs-nox11/work/emacs-25.1/admin/unidata' cc -Demacs -I. -I. -I../lib -I../lib -I/usr/local/include/libxml2 -MMD -MF deps/.d -MP -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-pointer-sign -Wno-string-plus-int -Wno-unknown-attributes -O2 -pipe -fno-strict-aliasing -Wl,-znocombreloc \ -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o dynlib.o emacs-module.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o kqueue.o profiler.o decompress.o terminfo.o lastfile.o gmalloc.o ../lib/libgnu.a -lrt -lexecinfo -L/usr/local/lib -lxml2 -lutil -lncurses -lpthread -lm -lz alloc.o: In function `Fmemory_limit': alloc.c:(.text+0x65e8): undefined reference to `sbrk' unexelf.o: In function `unexec': unexelf.c:(.text+0x200): undefined reference to `sbrk' gmalloc.o: In function `__default_morecore': gmalloc.c:(.text+0x8): undefined reference to `sbrk' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:596: temacs] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/editors/emacs-nox11/work/emacs-25.1/src' gmake[1]: *** [Makefile:398: src] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/emacs-nox11/work/emacs-25.1' *** Error code 1 Stop. make: stopped in /usr/ports/editors/emacs-nox11
Sorry for the delay in follow-up. I have reported this upstream as bug 24892[1]. I will follow-up there, although if you folks have more information than what is provided there, please free to post there. References: [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24892 Thanks!
Is this issue still valid? I've been using Emacs 25.1 on 11.0-STABLE/amd64 r310436 with or without X11. I just compiled emacs-devel aka emacs-devel-25.2.50.20161001_1,2 on 11.0-STABLE/amd64 r310436 and it compiled OK without issues.
(In reply to Kenji Rikitake from comment #2) I was confused that I misunderstood the ARM64 issue as amd64 issue. My bad. Please disregard my previous comment.
Currently marked BROKEN on arm64.
The GNU bug report claims that it is fixed in 26.1
And indeed emacs-devel builds on arm64 Will editors/emacs be updated to at least 26.1?
(In reply to Ed Maste from comment #6) It will. The first release candidate for 26.1 was just released yesterday, so hopefully we will get the fix in the tree soon. https://alpha.gnu.org/gnu/emacs/pretest/
(In reply to Joseph Mingrone from comment #7) Great, thank you! I was unfamiliar with emacs' release schedule and based on my statement in Comment 5 I assumed it was already released; I guess the statement was from in-progress release notes for the then-future release.
editors/emacs was updated to 26.1, so we should be able to close this. Could we get confirmation?
With base having been updated to 26.1, IMHO this can be closed.
It builds fine on aarch64: http://mikael.urankar.free.fr/FreeBSD/aarch64/build_logs/emacs-26.1%2C3.log
Thanks for confirming.