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: Wed, 21 Apr 2021 20:41:03 +0300

> 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.

> This leaves only the main branch unexec problem.

Could you please reiterate what is the problem on master that is left?
I understand that it is not resolved by using those 2 linker switches?



reply via email to

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