[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60996: 29.0.60; Native compile fails to remove temp file for trampol
From: |
Eli Zaretskii |
Subject: |
bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline |
Date: |
Thu, 26 Jan 2023 20:38:45 +0200 |
> From: Andrea Corallo <akrl@sdf.org>
> Cc: andrewjmoreton@gmail.com, 60996@debbugs.gnu.org
> Date: Thu, 26 Jan 2023 16:50:59 +0000
>
> What I've understood from the trace is that `comp--native-compile' is
> trying to delete the trampoline that was just compiled.
>
> This is not expected in normal conditions so we have to understand why.
>
> The only case where we might do that AFAIR is when
> `inhibit-automatic-native-compilation' is used. This was the infamous
> mechanism that was installed by Lars where, if I'm not wrong, we are
> supposed to compile a trampoline, load it, and remove it to pretend we
> didn't compiled anything :x
OK, this seems to be what is happening here, because we compile the
trampoline to a temporary directory. Otherwise, I don't see why we
would do that, and why we would delete a trampoline we just compiled.
> If (as I understand) in Windows we can't delete a mapped file we have a
> problem more to solve.
Yes. If this is what happens, then I think we will have to maintain a
list of such trampolines, and delete them just before exiting, after
calling dynlib_close for them.
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andy Moreton, 2023/01/21
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Eli Zaretskii, 2023/01/22
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andy Moreton, 2023/01/22
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andrea Corallo, 2023/01/23
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Eli Zaretskii, 2023/01/23
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andrea Corallo, 2023/01/26
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline,
Eli Zaretskii <=
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andrea Corallo, 2023/01/26
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Eli Zaretskii, 2023/01/26
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andrea Corallo, 2023/01/26
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Eli Zaretskii, 2023/01/27
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andrea Corallo, 2023/01/27
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Eli Zaretskii, 2023/01/26
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andrea Corallo, 2023/01/27
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Andy Moreton, 2023/01/28
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Eli Zaretskii, 2023/01/29
- bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline, Eli Zaretskii, 2023/01/29