[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2022-01-28 Thread Éric Araujo
Change by Éric Araujo : -- pull_requests: +29182 pull_request: https://github.com/python/cpython/pull/31001 ___ Python tracker ___

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2022-01-28 Thread miss-islington
miss-islington added the comment: New changeset 1f036ede59e2c4befc07714cf76603c591d5c972 by Natanael Copa in branch 'main': bpo-43112: detect musl as a separate SOABI (GH-24502) https://github.com/python/cpython/commit/1f036ede59e2c4befc07714cf76603c591d5c972 -- nosy:

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2022-01-15 Thread Christian Heimes
Christian Heimes added the comment: I noticed that 9 test suites are failing on Alpine 3.15, see bpo-46390. Should we require a stable buildbot before we proclaim official support for Alpine? -- dependencies: +Multiple test failures on Alpine 3.15 / musl-1.2.2-r7

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-12-09 Thread Dave Shawley
Change by Dave Shawley : -- nosy: +dave-shawley ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-11-24 Thread Henry Schreiner
Henry Schreiner added the comment: We had a call and have a potential path forward. Quick summary: * Add a patch on top of the current patch to make CPython look for `-gnu` on top of `-musl` for Alpine 3.15 and 3.14. Reverting the patch would break every Alpine wheel previously locally

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-11-23 Thread Tzu-ping Chung
Tzu-ping Chung added the comment: Can anyone problem examples that it’s not an option to continue using the “technically incorrect” `-gnu` suffix on 3.9 and 3.10? From what I understand, te suffix technically works (as in the module will load correctly), it just fails to distinguish the ABI

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-11-23 Thread Daniele Varrazzo
Change by Daniele Varrazzo : -- nosy: +piro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-11-01 Thread Éric Araujo
Éric Araujo added the comment: If this is deemed a bugfix, the PR should be backported. -- nosy: +eric.araujo type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-10 Thread Natanael Copa
Natanael Copa added the comment: I created a PR for this https://github.com/python/cpython/pull/24502 -- ___ Python tracker ___

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-10 Thread Natanael Copa
Change by Natanael Copa : -- keywords: +patch pull_requests: +23292 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24502 ___ Python tracker ___

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-10 Thread h-vetinari
Change by h-vetinari : -- nosy: +h-vetinari ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-09 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: While original uClibc is not maintained, its fork called uClibc-ng is supposedly binary-compatible with uClibc and is still somehow maintained: https://uclibc-ng.org/ https://repo.or.cz/w/uclibc-ng.git https://www.uclibc.org/news.html

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-09 Thread Olivier Le Floch
Change by Olivier Le Floch : -- nosy: +olivierlefloch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-09 Thread Tianon
Change by Tianon : -- nosy: +tianon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-09 Thread Natanael Copa
Natanael Copa added the comment: This mentions some examples for musl triplets/tuples: https://wiki.musl-libc.org/getting-started.html It points to https://github.com/richfelker/musl-cross-make/blob/master/README.md#supported-targets which I think is the best documentation. (Rich Felker is

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-09 Thread Christian Heimes
Christian Heimes added the comment: I stand corrected. The last element in the platform triplet does seem to indicate libc. Is there any formal definition of the platform triplet or is it defined by GCC's reference implementation? A quick search didn't reveal any decisive results. The

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-03 Thread Natanael Copa
Natanael Copa added the comment: > Do you have glibc and musl installed side by side? No. But there is nothing preventing me to have the libc runtimes installed in parallel with glibc. /lib/libc.so.6 /lib/libc.musl-x86_64.so.1 And it is not common that people copy libc.so.6 (with friends)

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-03 Thread Christian Heimes
Christian Heimes added the comment: Do you have glibc and musl installed side by side? -- ___ Python tracker ___ ___

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-03 Thread Christian Heimes
Christian Heimes added the comment: SOABI basically contains the CPU architecture and Kernel ABI. The libc ABI is yet another dimension that is not encoded in the shared library ABI. The libc ABI is more complex than just glibc or musl. You need to include the ABI version of all core

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-03 Thread Natanael Copa
Natanael Copa added the comment: The referenced https://wiki.debian.org/Multiarch/Tuples doc says: > we require unique identifiers for each architecture that identifies an > incompatible set of libraries that we want to be co-installed. Since GNU libc and musl libc are not ABI compatible

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-03 Thread Natanael Copa
Natanael Copa added the comment: Does this mean that the SOABI should be the same for python built with musl libc and GNU libc? They are not really ABI compatible. -- ___ Python tracker

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-03 Thread Christian Heimes
Christian Heimes added the comment: The suffix "-gnu" does not stand for "glibc". The triplet defines the calling convention. For example x86_64-linux-gnu means x86_64 / AMD64 CPU architecture, Linux, with standard GNU / GCC calling convention. Other calling conventions are

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-03 Thread Natanael Copa
New submission from Natanael Copa : The SOABI does not make any difference between GNU libc and musl libc. Using official docker images: # debian build with GNU libc $ docker run --rm python:slim python -c 'import sysconfig;print(sysconfig.get_config_var("SOABI"))'