[New-bugs-announce] [issue28487] missing _math.o target in 2.7 Makefile

Skip Montanaro report at bugs.python.org
Thu Oct 20 08:11:43 EDT 2016


New submission from Skip Montanaro:

Unless I have my hg repo dependencies incorrect, this target seems to be missing from the 2.7 Makefile.pre.in:

# This is shared by the math and cmath modules
Modules/_math.o: Modules/_math.c Modules/_math.h
	$(CC) -c $(CCSHARED) $(PY_CORE_CFLAGS) -o $@ $<

My cpython repo pulls from https://hg.python.org/cpython, My 2.7 repo pulls from my cpython repo. I have other branches to build older 3.x versions which also pull from my cpython repo. The math and cmath modules build fine, though they don't seem to have that target either. So perhaps I'm barking up the wrong tree.

Either way, 2.7 won't build properly for me unless I explicitly execute

make Modules/_math.o

----------
components: Build
messages: 279028
nosy: skip.montanaro
priority: normal
severity: normal
status: open
title: missing _math.o target in 2.7 Makefile
versions: Python 2.7

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


More information about the New-bugs-announce mailing list