This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author haubi
Recipients haubi
Date 2013-11-07.16:04:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383840294.95.0.0890053719997.issue19521@psf.upfronthosting.co.za>
In-reply-to
Content
Since python-3.2, there is a race condition building in parallel on AIX:

Consider these Makefile(.pre.in) rules:

$(BUILDPYTHON): ...
  $(LINKCC) ... $(LINKFORSHARED) ...

Modules/_testembed: ...
  $(LINKCC) ... $(LINKFORSHARED) ...

Modules/_freeze_importlib: ...
  $(LINKCC) ...

On AIX, the variables get these values:

LINKCC = $(srcdir)/Modules/makexp_aix Modules/python.exp ...
LINKFORSHARED = -Wl,-bE:Modules/python.exp ...

Now $(BUILDPYTHON) and Modules/_testembed may run in parallel, causing Modules/python.exp to be created by two instances of makexp_aix eventually running at the same time.

Attached patch fixes this problem for cpython tip (doubt supporting AIX 4.1 and earlier still is necessary).

Thank you!
History
Date User Action Args
2013-11-07 16:04:55haubisetrecipients: + haubi
2013-11-07 16:04:54haubisetmessageid: <1383840294.95.0.0890053719997.issue19521@psf.upfronthosting.co.za>
2013-11-07 16:04:54haubilinkissue19521 messages
2013-11-07 16:04:54haubicreate