You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
New changeset 27ac19c by Pablo Galindo in branch 'master': bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598) 27ac19c
New changeset 6ceb523 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) 6ceb523
New changeset 9b5a023 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) 9b5a023
New changeset a4ac5fa 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) a4ac5fa
Activity
pablogsal commentedon Oct 8, 2020
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.
pablogsal commentedon Oct 8, 2020
New changeset 27ac19c by Pablo Galindo in branch 'master':
bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when using gcc>9 (GH-22598)
27ac19c
pablogsal commentedon Oct 8, 2020
New changeset 6ceb523 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)
6ceb523
pablogsal commentedon Oct 8, 2020
New changeset 9b5a023 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)
9b5a023
miss-islington commentedon Oct 8, 2020
New changeset a4ac5fa 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)
a4ac5fa