[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50666: 28.0.50; Fix native compilation on Cygwin
From: |
Ken Brown |
Subject: |
bug#50666: 28.0.50; Fix native compilation on Cygwin |
Date: |
Sat, 18 Sep 2021 16:46:42 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
Building --with-native-compilation on 32-bit Cygwin currently fails with
errors like the following:
child_info_fork::abort: address space needed by
'simple-fab5b0cf-aaf18a4e.eln' (0x5910000) is already occupied
This happens because shared libraries (usually DLLs, but also *.eln
files in this case) often need to be rebased in order for Cygwin's fork
implementation to work. See
https://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-process-problems
for an explanation. It's mostly an issue in the 32-bit case because of
the limited address space, but on rare occasions it can be a problem on
64-bit Cygwin also.
For shared libraries installed in standard places, Cygwin normally takes
care of the rebasing automatically. But if libraries are created in the
course of a build and then used later in the build, an "ephemeral" rebase
might be necessary. This is the case for the *.eln libraries produced
during the emacs build.
In a followup to this message, I'll submit a patch that does this
ephemeral rebase and fixes the build problem.
Note: The build will not actually be convenient to use on 32-bit Cygwin, because
sooner or later the *.eln files in ~/.emacs.d/eln-cache will also need to be
rebased. I hope to address this in future patches.
Ken
- bug#50666: 28.0.50; Fix native compilation on Cygwin,
Ken Brown <=
- bug#50666: 28.0.50; Fix native compilation on Cygwin, Ken Brown, 2021/09/18
- bug#50666: 28.0.50; Fix native compilation on Cygwin, Eli Zaretskii, 2021/09/19
- bug#50666: 28.0.50; Fix native compilation on Cygwin, ASSI, 2021/09/19
- bug#50666: 28.0.50; Fix native compilation on Cygwin, Eli Zaretskii, 2021/09/19
- bug#50666: 28.0.50; Fix native compilation on Cygwin, ASSI, 2021/09/19
- bug#50666: 28.0.50; Fix native compilation on Cygwin, Eli Zaretskii, 2021/09/19
- bug#50666: 28.0.50; Fix native compilation on Cygwin, Ken Brown, 2021/09/19
- bug#50666: 28.0.50; Fix native compilation on Cygwin, Eli Zaretskii, 2021/09/19
- bug#50666: 28.0.50; Fix native compilation on Cygwin, Ken Brown, 2021/09/19
- bug#50666: 28.0.50; Fix native compilation on Cygwin, Eli Zaretskii, 2021/09/19