# HG changeset patch # User Eli Zaretskii # Date 1166277615 0 # Node ID 353ff7e82e900d96661da444dbbaf678ffdc354b # Parent 56797b379afdf5cf53ddc69ebde5853fbe68f025 Document problems with rebasing Cygwin DLLs. diff -r 56797b379afd -r 353ff7e82e90 etc/PROBLEMS --- 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