Skip to content

SEGFAULT with auditwheel + patchelf #474

@magicse

Description

@magicse

Describe the bug
SEGFAULT with auditwheel + patchelf
General problem that wheel libs repaired in Qemu Docker image work in Qemu but didn't work in the same image Docker on real ARMv7, and without wheelaudit+patchelf, built packages work well.
GDB show that problem with memory maping in patched /usr/local/lib/python3.10/site-packages/*.libs/libstdc++-ad7c573d.so.6.0.29 .libs/libgcc_s-8c7760c8.so.1

A clear and concise description of what the bug is.
Patched in Qemu docker ARMv7 libraries after that give SEGFAULT on real ARMv7
pypa/auditwheel#414 (comment)

Steps To Reproduce
All steps in this post
home-assistant/core#86589 (comment)

Expected behavior
Worked python wheel
patchelf --version output
patchelf 0.17.2
Additional context
strace of patched lib
home-assistant/core#86589 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions