~alpine/devel

Replace -gnu with -musl in the python SOABI and platform triplet

Details
Message ID
<20210203140332.544d0587@ncopa-desktop.lan>
DKIM signature
missing
Download raw message
Hi,

Python currently set the PLATFORM_TRIPLET to $arch-linux-gnu. I wonder
if we should patch our python build to use *-linux-musl.

I reported it upstream but apparently they claim that the platform
triplet really is calling convention, and that for libc ABI
compatibility they need libc versions.

Upstream bugs with the details: https://bugs.python.org/issue43112

I wonder if we should just go ahead and replace the -gnu with -musl
with an Alpine specific patch.

The only downside I can see is that if you use the docker python:alpine
image (which is built from source) you will no longer e able to use
python modules from alpine packages.

Is there any other reasons why we should not replace the -gnu with
-musl in our python build?

-nc
Reply to thread Export thread (mbox)