Visitar URL original
Potential issue regarding ABI identification for PyPI manylinux purposes · Issue #63 · loongson-community/discussions · GitHub
Skip to content

Potential issue regarding ABI identification for PyPI manylinux purposes #63

Open

Description

@xen0n

Link: pypa/manylinux#1587

If we were to support LoongArch manylinux wheels on PyPI, we must be able to prevent installation of wheels built on a different world than that of the running system.

Right now, due to:

the multiarch specifiers for both worlds are the same, so we must be able to distinguish by other means. This is likely glibc symbol versions for glibc-based systems, but I think musl-based systems will need something else.

Activity

  1. xen0n commented on Aug 6, 2024

    @xen0n
    MemberAuthor

    cc @yzewei @loongson-zn (seems both are from Loongson)

  2. xry111 commented on Aug 6, 2024

    @xry111
    Member

    Maybe just check EF_LOONGARCH_OBJABI_V1 for every EM_LOONGARCH ELF files containing a SEC_LOAD | SEC_CODE | SEC_HAS_CONTENTS section in the wheel.

  3. xry111 commented on Aug 6, 2024

    @xry111
    Member

    Or, we can add this check into libc loader (gated with something like a Glibc tunable) and the packages requiring such a check will be able to simply enable it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions