[issue24421] Race condition compiling Modules/_math.c

Martin Panter report at bugs.python.org
Thu Nov 12 16:46:03 EST 2015


Martin Panter added the comment:

Ideally, I think the solution would be to compile _math.c once, as a dependency shared between both extension modules (perhaps like a static library if necessary). Does anyone know if the build system supports this, or how to do it?

Another semi-favourable solution might be to compile _math.c twice, but send the output to separate directories, e.g. . . ./math-build/_math.o and . . ./cmath-build/_math.o. Again, I don’t know if this is practical.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24421>
_______________________________________


More information about the Python-bugs-list mailing list