[issue46712] Share global string identifiers in deepfreeze

Dennis Sweeney report at bugs.python.org
Mon Mar 21 00:49:39 EDT 2022


Dennis Sweeney <sweeney.dennis650 at gmail.com> added the comment:

In bpo-47067, there was concern about the addition of the makefile target from PR 31637:

    regen-global-objects: regen-deepfreeze

After a new `&_Py_ID(__orig_class__)` is added to Objects/genericaliasobject.c, running `make regen-global-objects` starts

    gcc -pthread -c [snipped] -DPy_BUILD_CORE -o Objects/genericaliasobject.o Objects/genericaliasobject.c

which fails with a compilation error because that identifier is not yet defined. Is there a good way to convince `make` to regenerate the global objects without this sort of circular dependency? Am I missing a step?

----------
nosy: +Dennis Sweeney

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46712>
_______________________________________


More information about the Python-bugs-list mailing list