This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rebasing freshly built executables?


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
> ?as parent: 0x510000 != 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
> ?as parent: 0x510000 != 0x810000
> Stack trace:
> Frame ? ? Function ?Args
> 0022A468 ?6102796B ?(0022A468, 00000000, 00000000, 00000000)
> 0022A758 ?6102796B ?(6117EC60, 00008000, 00000000, 61180977)
> 0022B788 ?61004F1B ?(611A7FAC, 6124DDB4, 00510000, 00810000)
> End of stack trace
> ? ? ?3 [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.
-- 
Reini Urban
http://phpwiki.org/? ? ? ? ?? 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]