emacs-devel
[Top][All Lists]
Advanced

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

Re: Unexec dumping results in "Segmentation fault" on Windows Msys2


From: Eli Zaretskii
Subject: Re: Unexec dumping results in "Segmentation fault" on Windows Msys2
Date: Thu, 22 Apr 2021 20:22:55 +0300

> Date: Wed, 21 Apr 2021 20:41:03 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
> 
> > From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> > Date: Wed, 21 Apr 2021 19:33:11 +0300
> > Cc: emacs-devel@gnu.org
> > 
> > Eli, you were correct. Msys2 developers enabled ASLR by default in 
> > binutils 2.36 ( 
> > https://www.msys2.org/news/#2021-01-31-aslr-enabled-by-default ).
> > 
> > I was able to avoid the segfault by adding those switches to 
> > LD_SWITCH_SYSTEM_TEMACS in src/Makefile. Adding them as generic LDFLAGS 
> > works too.
> > 
> > Maybe it's worth documenting this problem in nt/INSTALL.W64, but since 
> > unexec is kinda deprecated I'm not entirely sure...
> 
> It's much easier to teach the build process to use those switches when
> building for unexec, so I'm going to do that soon.

Now done on the master branch, please test.



reply via email to

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