Mercurial > emacs
changeset 74660:353ff7e82e90
Document problems with rebasing Cygwin DLLs.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 16 Dec 2006 14:00:15 +0000 |
parents | 56797b379afd |
children | 0b62ec4c4929 |
files | etc/PROBLEMS |
diffstat | 1 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/PROBLEMS Sat Dec 16 12:46:45 2006 +0000 +++ b/etc/PROBLEMS Sat Dec 16 14:00:15 2006 +0000 @@ -2115,6 +2115,34 @@ more permanent work around is to change it to another key combination, or disable it in the keyboard control panel. +** Cygwin build of Emacs hangs after rebasing Cygwin DLLs + +Usually, on Cygwin, one needs to rebase the DLLs if an application +aborts with a message like this: + + C:\cygwin\bin\python.exe: *** unable to remap C:\cygwin\bin\cygssl.dll to + same address as parent(0xDF0000) != 0xE00000 + +However, since Cygwin DLL 1.5.17 was released, after such rebasing, +Emacs hangs. + +This was reported to happen for Emacs 21.2 and also for the pretest of +Emacs 22.1 on Cygwin. + +To work around this, build Emacs like this: + + LDFLAGS='-Wl,--enable-auto-import -Wl,--enable-auto-image-base' ./configure + make LD='$(CC)' + make LD='$(CC)' install + +This produces an Emacs binary that is independent of rebasing. + +Note that you _must_ use LD='$(CC)' in the last two commands above, to +prevent GCC from passing the "--image-base 0x20000000" option to the +linker, which is what it does by default. That option produces an +Emacs binary with the base address 0x20000000, which will cause Emacs +to hang after Cygwin DLLs are rebased. + ** Interrupting Cygwin port of Bash from Emacs doesn't work. Cygwin 1.x builds of the ported Bash cannot be interrupted from the