comparison etc/PROBLEMS @ 74660:353ff7e82e90

Document problems with rebasing Cygwin DLLs.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 16 Dec 2006 14:00:15 +0000
parents dde3145743e4
children 9cd33b55eebf bc10a33dd40b
comparison
equal deleted inserted replaced
74659:56797b379afd 74660:353ff7e82e90
2113 you proceed to type another non-modifier key before you let go of Alt 2113 you proceed to type another non-modifier key before you let go of Alt
2114 and Shift, the Alt and Shift act as modifiers in the usual way. A 2114 and Shift, the Alt and Shift act as modifiers in the usual way. A
2115 more permanent work around is to change it to another key combination, 2115 more permanent work around is to change it to another key combination,
2116 or disable it in the keyboard control panel. 2116 or disable it in the keyboard control panel.
2117 2117
2118 ** Cygwin build of Emacs hangs after rebasing Cygwin DLLs
2119
2120 Usually, on Cygwin, one needs to rebase the DLLs if an application
2121 aborts with a message like this:
2122
2123 C:\cygwin\bin\python.exe: *** unable to remap C:\cygwin\bin\cygssl.dll to
2124 same address as parent(0xDF0000) != 0xE00000
2125
2126 However, since Cygwin DLL 1.5.17 was released, after such rebasing,
2127 Emacs hangs.
2128
2129 This was reported to happen for Emacs 21.2 and also for the pretest of
2130 Emacs 22.1 on Cygwin.
2131
2132 To work around this, build Emacs like this:
2133
2134 LDFLAGS='-Wl,--enable-auto-import -Wl,--enable-auto-image-base' ./configure
2135 make LD='$(CC)'
2136 make LD='$(CC)' install
2137
2138 This produces an Emacs binary that is independent of rebasing.
2139
2140 Note that you _must_ use LD='$(CC)' in the last two commands above, to
2141 prevent GCC from passing the "--image-base 0x20000000" option to the
2142 linker, which is what it does by default. That option produces an
2143 Emacs binary with the base address 0x20000000, which will cause Emacs
2144 to hang after Cygwin DLLs are rebased.
2145
2118 ** Interrupting Cygwin port of Bash from Emacs doesn't work. 2146 ** Interrupting Cygwin port of Bash from Emacs doesn't work.
2119 2147
2120 Cygwin 1.x builds of the ported Bash cannot be interrupted from the 2148 Cygwin 1.x builds of the ported Bash cannot be interrupted from the
2121 MS-Windows version of Emacs. This is due to some change in the Bash 2149 MS-Windows version of Emacs. This is due to some change in the Bash
2122 port or in the Cygwin library which apparently make Bash ignore the 2150 port or in the Cygwin library which apparently make Bash ignore the