Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue41976

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:ctypes.util.find_library fails with gcc 9
Type:Stage:resolved
Components:ctypesVersions:Python 3.10, Python 3.9, Python 3.8, Python 3.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: pablogsalNosy List: miss-islington, pablogsal
Priority:normalKeywords:patch

Created on2020-10-08 17:17 bypablogsal, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 22598mergedpablogsal,2020-10-08 17:23
PR 22599mergedmiss-islington,2020-10-08 18:31
PR 22600mergedpablogsal,2020-10-08 18:33
PR 22601mergedpablogsal,2020-10-08 18:33
Messages (5)
msg378258 -(view)Author: Pablo Galindo Salgado (pablogsal)*(Python committer)Date: 2020-10-08 17:17
Running ctypes.util.find_library with gcc-9, if ldconfig is not available, it falls back to check the output of gcc -Wl,-t -lc to locate the library and then runs objdump on the file it's found to parse out the SONAME. With the gcc-9 the output of that gcc command is slightly perturbed so that /lib64/libc.so is listed before /libc64/libc.so.6. The former is a linker script not and ELF file so objdump fails.
msg378264 -(view)Author: Pablo Galindo Salgado (pablogsal)*(Python committer)Date: 2020-10-08 18:31
New changeset27ac19cca2c639caaf6fedf3632fe6beb265f24f by Pablo Galindo in branch 'master':bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598)https://github.com/python/cpython/commit/27ac19cca2c639caaf6fedf3632fe6beb265f24f
msg378270 -(view)Author: Pablo Galindo Salgado (pablogsal)*(Python committer)Date: 2020-10-08 18:50
New changeset6ceb5232aeb1943dacbbdb87e7dddfaa716678bc by Pablo Galindo in branch '3.8':[3.8]bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598). (GH-22600)https://github.com/python/cpython/commit/6ceb5232aeb1943dacbbdb87e7dddfaa716678bc
msg378271 -(view)Author: Pablo Galindo Salgado (pablogsal)*(Python committer)Date: 2020-10-08 18:50
New changeset9b5a023a5dc3127da15253f7acad71019395ebe1 by Pablo Galindo in branch '3.7':[3.7]bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598). (GH-22601)https://github.com/python/cpython/commit/9b5a023a5dc3127da15253f7acad71019395ebe1
msg378274 -(view)Author: miss-islington (miss-islington)Date: 2020-10-08 18:55
New changeseta4ac5fadf55a9743c6812dea8d31ca4f05f33829 by Miss Skeleton (bot) in branch '3.9':bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598)https://github.com/python/cpython/commit/a4ac5fadf55a9743c6812dea8d31ca4f05f33829
History
DateUserActionArgs
2022-04-11 14:59:36adminsetgithub: 86142
2020-10-08 19:04:10pablogsalsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-10-08 18:55:32miss-islingtonsetmessages: +msg378274
2020-10-08 18:50:41pablogsalsetmessages: +msg378271
2020-10-08 18:50:37pablogsalsetmessages: +msg378270
2020-10-08 18:33:49pablogsalsetpull_requests: +pull_request21589
2020-10-08 18:33:11pablogsalsetpull_requests: +pull_request21588
2020-10-08 18:31:37miss-islingtonsetnosy: +miss-islington
pull_requests: +pull_request21587
2020-10-08 18:31:25pablogsalsetmessages: +msg378264
2020-10-08 17:23:43pablogsalsetkeywords: +patch
stage: patch review
pull_requests: +pull_request21586
2020-10-08 17:17:51pablogsalcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp