all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs 25 from GIT build issue under Ubuntu 16.10
@ 2016-10-14 23:06 Tim Cross
  2016-10-14 23:20 ` Tim Cross
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Tim Cross @ 2016-10-14 23:06 UTC (permalink / raw)
  To: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

After upgrade to ubuntu gnome 16.10, attempts to build from fresh git clone
of emacs repo gives an seg fault error when trying to run dumped image. All
was working fine under Ubuntu 16.04.

Loading /home/tcross/git/emacs/lisp/electric.el (source)...
Loading /home/tcross/git/emacs/lisp/emacs-lisp/eldoc.el (source)...
Loading /home/tcross/git/emacs/lisp/cus-start.el (source)...
Loading /home/tcross/git/emacs/lisp/tooltip.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
20812288 of 33554432 static heap bytes used
Makefile:749: recipe for target 'bootstrap-emacs' failed
make[1]: *** [bootstrap-emacs] Segmentation fault (core dumped)
make[1]: Leaving directory '/home/tcross/git/emacs/src'
Makefile:398: recipe for target 'src' failed
make: *** [src] Error 2


-- 
regards,

Tim

--
Tim Cross

[-- Attachment #2: Type: text/html, Size: 1231 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: Emacs 25 from GIT build issue under Ubuntu 16.10
@ 2016-10-15  6:32 Cesar Quiroz
  2016-10-15 13:28 ` Óscar Fuentes
  2016-10-16  4:33 ` Paul Eggert
  0 siblings, 2 replies; 20+ messages in thread
From: Cesar Quiroz @ 2016-10-15  6:32 UTC (permalink / raw)
  To: eliz, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

16.10 has modified gcc to compile with -pie by default.  That just must get
in the way of unexec.

Search "gcc" in https://wiki.ubuntu.com/YakketyYak/ReleaseNotes,

I have tried this successfully (both emacs-25 and master):

1. in the git workdir:

$ ./autogen.sh

2. in the build directory:

$ ...../configure CFLAGS=-no-pie <other configure options>

and the binaries built fine.

On topic, it would be nice if there was a string in the binary that told
one how the $(config.status --config), so one could (more) easily rebuild a
binary.  Something like a function (emacs-configure-options).

This has worked with ASLR on (echo 2 > /proc/sys/kernel/randomize_va_space)
and with ASLR off (echo 0 > /proc/sys/kernel/randomize_va_space).

I hope this helps all to work with the new Ubuntu.

--César

[-- Attachment #2: Type: text/html, Size: 1243 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-10-19  4:13 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-14 23:06 Emacs 25 from GIT build issue under Ubuntu 16.10 Tim Cross
2016-10-14 23:20 ` Tim Cross
2016-10-15  4:09   ` Paul Eggert
2016-10-15  6:10     ` Eli Zaretskii
2016-10-15  6:18     ` bug#24682: 26.0.50; Bootstrap failed Eli Zaretskii
2016-10-15  4:15 ` Emacs 25 from GIT build issue under Ubuntu 16.10 Óscar Fuentes
2016-10-15  6:11   ` Eli Zaretskii
2016-10-15  5:56 ` Eli Zaretskii
2016-10-16  4:51   ` bug#24682: " Paul Eggert
2016-10-16  5:31     ` Cesar Quiroz
2016-10-16  6:54       ` Eli Zaretskii
2016-10-16  7:10         ` Cesar Quiroz
2016-10-16 23:56       ` Paul Eggert
2016-10-17  3:04         ` Cesar Quiroz
2016-10-17  5:03           ` Cesar Quiroz
2016-10-17  6:18             ` Paul Eggert
2016-10-19  4:13               ` Cesar Quiroz
  -- strict thread matches above, loose matches on Subject: below --
2016-10-15  6:32 Cesar Quiroz
2016-10-15 13:28 ` Óscar Fuentes
2016-10-16  4:33 ` Paul Eggert

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.