Date: Thu, 31 Aug 2017 16:16:08 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221961] editors/emacs-devel build segfaults on aarch64 Message-ID: <bug-221961-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221961 Bug ID: 221961 Summary: editors/emacs-devel build segfaults on aarch64 Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ashish@FreeBSD.org Reporter: gergely.czuczy@harmless.hu Assignee: ashish@FreeBSD.org Flags: maintainer-feedback?(ashish@FreeBSD.org) Hello, editors/emacs-devel was marked broken on aarch64, due to the sbrk issue (th= ey are still using sbrk, which is not available on aarch64). When manually removing the BROKEN directive, it seems to build, however the bootstrap-ema= cs segfaults: 87095 pure bytes used mv -f emacs bootstrap-emacs gmake -C ../lisp compile-first EMACS=3D"../src/bootstrap-emacs" gmake[4]: Entering directory '/usr/ports/editors/emacs-devel/work/emacs-f44184f/lisp' EMACSLOADPATH=3D '../src/bootstrap-emacs' -batch --no-site-file --no-site-l= isp --eval '(setq load-prefer-newer t)' -f batch-byte-compile emacs-lisp/macroexp.el Fatal error 11: Segmentation faultgmake[4]: *** [Makefile:297: emacs-lisp/macroexp.elc] Segmentation fault (core dumped) gmake[4]: Leaving directory '/usr/ports/editors/emacs-devel/work/emacs-f44184f/lisp' gmake[3]: *** [Makefile:739: bootstrap-emacs] Error 2 gmake[3]: Leaving directory '/usr/ports/editors/emacs-devel/work/emacs-f44184f/src' gmake[2]: *** [Makefile:416: src] Error 2 gmake[2]: Leaving directory '/usr/ports/editors/emacs-devel/work/emacs-f441= 84f' -emacs.corepine64:/usr/ports/editors/emacs-devel# lldb work/emacs-f44184f/src/bootstrap-emacs -c work/emacs-f44184f/lisp/bootstrap- (lldb) target create "work/emacs-f44184f/src/bootstrap-emacs" --core "work/emacs-f44184f/lisp/bootstrap-emacs.core" Core file '/usr/ports/editors/emacs-devel/work/emacs-f44184f/lisp/bootstrap-emacs.cor= e' (aarch64) was loaded. (lldb) bt * thread #1, name =3D 'bootstrap-emacs', stop reason =3D signal SIGSEGV * frame #0: 0x0000000000158584 bootstrap-emacs`oblookup + 120 frame #1: 0x000000000015843c bootstrap-emacs`intern_1 + 92 frame #2: 0x00000000000fb0cc bootstrap-emacs`Fdo_auto_save + 220 frame #3: 0x00000000000c5bd8 bootstrap-emacs`shut_down_emacs + 216 frame #4: 0x00000000000c5a04 bootstrap-emacs`terminate_due_to_signal + = 128 frame #5: 0x00000000000df574 bootstrap-emacs`deliver_fatal_thread_signa= l + 128 frame #6: 0x00000000000e0ec8 bootstrap-emacs`handle_sigsegv + 164 frame #7: 0x00000000404cfe80 libthr.so.3`handle_signal(actp=3D0x0000000000539600, sig=3D11, info=3D0x0000000000539670, ucp=3D0x00000000005396c0) at thr_sig.c:244 frame #8: 0x00000000404cf5a4 libthr.so.3`thr_sighandler(sig=3D11, info=3D0x0000000000539670, _ucp=3D0x00000000005396c0) at thr_sig.c:189 frame #9: 0x0000fffffffff000 frame #10: 0x0000000000040190 bootstrap-emacs`__start + 376 frame #11: 0x00000000401c0018 ld-elf.so.1`.rtld_start at rtld_start.S:41 I've tried the latest git checkout as well (example is from that), it fails with it as well. So, maybe not sbrk is the issue anymore, and it should build. Best regards, Gergely --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221961-13>