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.

classification
Title: PPC64 AIX 3.x: compilation issue, linker fails to locate symbols
Type: Stage: resolved
Components: Build Versions: Python 3.8
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: David.Edelsohn, aixtools@gmail.com, db3l, vstinner
Priority: normal Keywords: patch

Created on 2019-04-29 07:55 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13004 closed vstinner, 2019-04-29 08:14
Messages (6)
msg341049 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-04-29 07:55
First failure:
https://buildbot.python.org/all/#/builders/10/builds/2507

Running the test suite fails with "ModuleNotFoundError: No module named '_socket'".

Example of (dynamic) linker issue:

*** WARNING: renaming "_socket" since importing it failed: 	0509-130 Symbol resolution failed for build/lib.aix-7.2-3.8-pydebug/_socket.so because:
	0509-136   Symbol PyCapsule_New (number 8) is not exported from
		   dependent module python.
	0509-136   Symbol PyErr_CheckSignals (number 9) is not exported from
		   dependent module python.
	0509-136   Symbol PyErr_Clear (number 10) is not exported from
		   dependent module python.
	0509-136   Symbol PyErr_ExceptionMatches (number 11) is not exported from
		   dependent module python.
	0509-136   Symbol PyErr_Fetch (number 12) is not exported from
		   dependent module python.
	0509-136   Symbol PyErr_Format (number 13) is not exported from
		   dependent module python.
	0509-021 Additional errors occurred but are not reported.
	0509-192 Examine .loader section symbols with the
		 'dump -Tv' command.

IMHO it's a regression caused by my commit 8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b for bpo-21536. I guess that
msg341050 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-04-29 08:17
David, Michael: Is one of you able to reproduce this issue? If yes, would you mind to test my PR 13004 to validate that it fix the issue?

Michael: Your useername "aixtools@gmail.com" on bugs.python.org is surprising. Maybe you should strip "@gmail.com" from it.
msg341051 - (view) Author: David Bolen (db3l) * Date: 2019-04-29 08:22
I think I'm the wrong David for this...
msg341058 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-04-29 09:05
David Bolen: Oops, right, I was looking for David Edelsohn :-)

David Edelsohn: Are you able to reproduce this issue? If yes, would you mind to test my PR 13004 to validate that it fix the issue?
msg341062 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-04-29 09:26
Oh, that's strange now. The following build succeeded!
https://buildbot.python.org/all/#/builders/10/builds/2508

I don't understand why this buildbot runs builds on commits which are now 1 month old.
msg342146 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-11 01:49
PPC64 AIX 3.x buildbot worker is back to green. It seems like my PR 13004 is useless. I close the issue.
History
Date User Action Args
2022-04-11 14:59:14adminsetgithub: 80930
2019-05-11 01:49:33vstinnersetstatus: open -> closed
resolution: not a bug
messages: + msg342146

stage: patch review -> resolved
2019-04-29 09:26:32vstinnersetmessages: + msg341062
2019-04-29 09:05:10vstinnersetnosy: + David.Edelsohn
messages: + msg341058
2019-04-29 08:22:10db3lsetmessages: + msg341051
2019-04-29 08:17:40vstinnersetnosy: + db3l, aixtools@gmail.com
messages: + msg341050
2019-04-29 08:14:26vstinnersetkeywords: + patch
stage: patch review
pull_requests: + pull_request12925
2019-04-29 07:55:40vstinnercreate