|
From: | Andrea Corallo |
Subject: | Re: --with-native-compilation build failure on 32-bit systems |
Date: | Tue, 09 Aug 2022 09:21:11 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Andrea Corallo <akrl@sdf.org> writes: [...] > Just had some time to look into this further: > > Of all the CUs we are dumping two are not fixed-up in loadup.el before > dump because not referenced by any function. > > In particular looking at 'ediff-hook' it does contain only variable > definitions so this is correct. > > We do run a GC before dumping so we should unload these unreferenced CUs > before dump. And as expected I don't see ediff-hook CU being marked but > we do not free it during sweep. > > It looks to me like a GC bug so far. Unfortunatly I've very constrained > time to dedicate on this this week. Thinking about this... Maybe relying on the GC for this is not a very good idea in the first place. If we are conservative on the stack my might always mark a CU accidentally and fall into the same issue. I think we should maintain a list of all loaded CUs so we can fix them up reliably. If this is agreed not to be a bad idea I'll prepare a patch. BR Andrea PS still dunno what's going on with the GC here
[Prev in Thread] | Current Thread | [Next in Thread] |