[issue17603] AC_LIBOBJ replacement of fileblocks

Martin Panter report at bugs.python.org
Thu Mar 10 18:51:23 EST 2016


Martin Panter added the comment:

IMO this is a fault of the autowhatever configuration stuff, not just an enhancement. If configure.ac determines that there is no st_blocks field, it tries to link against a non-existant fileblocks.o file:

./mingw/Makefile:220:LIBOBJS=	 ${LIBOBJDIR}fileblocks$U.o
i486-mingw32-gcc: error: Python/fileblocks.o: No such file or directory

I am not really an autoconf or whatever expert, but it seems if you use a lower-level bit of configure.ac code it avoids the problem; see avoid-fileblocks.patch.

----------
components:  -Cross-Build
nosy: +martin.panter
type: enhancement -> compile error
Added file: http://bugs.python.org/file42123/avoid-fileblocks.patch

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


More information about the Python-bugs-list mailing list