X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 26 Apr 2011 17:03:14 +0200 Message-ID: Subject: Re: rebasing freshly built executables? From: Reini Urban To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2011/4/26 Dima Pasechnik: > while building Maxima on Windows 7 / Cygwin 1.7.9, with ECL (an > implementation of Common Lisp), we see the following puzzling error > messages, quite reminiscent of the usual cygwin installation in need > of rebaseall: > > 3 [main] ecl 2448 C:\cygwin\home\dima\sage-4.7.alpha5\local\bin\ecl.exe: * > ** fatal error - unable to remap \\?\C:\cygwin\tmp\eclfeH9uJ.dll to > same address > =A0as parent: 0x510000 !=3D 0x810000 > 3 [main] ecl 2448 C:\cygwin\home\dima\sage-4.7.alpha5\local\bin\ecl.exe: * > ** fatal error - unable to remap \\?\C:\cygwin\tmp\eclfeH9uJ.dll to > same address > =A0as parent: 0x510000 !=3D 0x810000 > Stack trace: > Frame =A0 =A0 Function =A0Args > 0022A468 =A06102796B =A0(0022A468, 00000000, 00000000, 00000000) > 0022A758 =A06102796B =A0(6117EC60, 00008000, 00000000, 61180977) > 0022B788 =A061004F1B =A0(611A7FAC, 6124DDB4, 00510000, 00810000) > End of stack trace > =A0 =A0 =A03 [main] ecl 1724 fork: child 2448 - died waiting for dll > loading, errno 1 > > Any idea what this would mean, in particular, why one sees these > temporary DLLs C:\cygwin\tmp\eclfeH9uJ.dll > there? Is it something internal to ECL, or rather it's Cygwin trying > to do something and creating a temporary DLL along the way? > > Any idea what should be fixed/rebased/whatever here? (and how :)) I haven't tried ecl on cygwin yet. But yes, 1) it's certainly a rebase problem, 2) rebaseall will most likely not help, since the conflict is in the freshly built /tmp/ecl*.dll, 3) it should be fixed in ecl, best by adding -Wl,--enable-auto-image-base to the LDFLAGS of the interim dll. Which is in compile.lsp at the first glance. I'll try to send a fix to the upstream maintainer today. --=20 Reini Urban http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 http://murbreak.at/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple