[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread miss-islington


miss-islington  added the comment:


New changeset a4ac5fadf55a9743c6812dea8d31ca4f05f33829 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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 6ceb5232aeb1943dacbbdb87e7dddfaa716678bc 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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 9b5a023a5dc3127da15253f7acad71019395ebe1 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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
pull_requests: +21589
pull_request: https://github.com/python/cpython/pull/22601

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
pull_requests: +21588
pull_request: https://github.com/python/cpython/pull/22600

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 27ac19cca2c639caaf6fedf3632fe6beb265f24f 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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 1.0 -> 2.0
pull_requests: +21587
pull_request: https://github.com/python/cpython/pull/22599

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
keywords: +patch
pull_requests: +21586
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22598

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41976] ctypes.util.find_library fails with gcc 9

2020-10-08 Thread Pablo Galindo Salgado


New submission from Pablo Galindo Salgado :

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.

--
assignee: pablogsal
components: ctypes
messages: 378258
nosy: pablogsal
priority: normal
severity: normal
status: open
title: ctypes.util.find_library fails with gcc 9
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com