Issue 17603: AC_LIBOBJ replacement of fileblocks (original) (raw)

Issue17603

Created on 2013-03-31 20:13 by rpetrov, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
0014-MINGW-AC_LIBOBJ-replacement-of-fileblocks.patch rpetrov,2013-03-31 20:13
avoid-fileblocks.patch martin.panter,2016-03-10 23:51 review
Messages (4)
msg185665 - (view) Author: Roumen Petrov (rpetrov) * Date: 2013-03-31 20:13
split of - actually this is not mingw* specific - it is for all platforms without fileblocks
msg261534 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-03-10 23:51
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= LIBOBJDIRfileblocks{LIBOBJDIR}fileblocksLIBOBJDIRfileblocksU.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.
msg261883 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-03-17 03:08
New changeset acbeb33dc76a by Martin Panter in branch '2.7': Issue #17603: Check for st_blocks field without requiring fileblocks.o https://hg.python.org/cpython/rev/acbeb33dc76a New changeset 0774398c3433 by Martin Panter in branch '3.5': Issue #17603: Check for st_blocks field without requiring fileblocks.o https://hg.python.org/cpython/rev/0774398c3433 New changeset 628bd1ebfa22 by Martin Panter in branch 'default': Issue #17603: Merge configure.ac fix from 3.5 https://hg.python.org/cpython/rev/628bd1ebfa22
msg261887 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-03-17 06:23
I assume that should have fixed the problem, but I have only tested it in roundabout ways, so it would be good to get confirmation if it helps e.g. the original Ming GW problem.
History
Date User Action Args
2022-04-11 14:57:43 admin set github: 61803
2016-03-17 06:23:07 martin.panter set status: open -> closedresolution: fixedmessages: + versions: + Python 2.7, Python 3.6
2016-03-17 03:08:02 python-dev set nosy: + python-devmessages: +
2016-03-11 21:04:42 martin.panter link issue17605 dependencies
2016-03-10 23:51:23 martin.panter set files: + avoid-fileblocks.patchnosy: + martin.pantermessages: + components: - Cross-Buildtype: enhancement -> compile error
2014-08-03 20:27:57 BreamoreBoy set versions: + Python 3.5, - Python 3.4
2013-03-31 20:13:39 rpetrov create