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: Nikolay Kudryavtsev
Subject: Re: Unexec dumping results in "Segmentation fault" on Windows Msys2
Date: Wed, 21 Apr 2021 19:33:11 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

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

This leaves only the main branch unexec problem. I was able to reproduce it with MinGW. I'll report later if my debugging results in any other useful info.




reply via email to

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