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
Arch armv7l Alpine Docker
pip install --no-cache numpy on RAMv7 i get libs for ARMv8 arch
bash-5.1# pip install --no-cache numpy
Collecting numpy
Downloading numpy-1.24.2.tar.gz (10.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 1.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: numpy
Building wheel for numpy (pyproject.toml) ... done
Created wheel for numpy: filename=numpy-1.24.2-cp310-cp310-linux_armv7l.whl size=6850133 sha256=fb8de3244e8c7987ae7a895e8f4dc64370848ceaf868363d110c3c1a94392620
Stored in directory: /tmp/pip-ephem-wheel-cache-i62n9ysv/wheels/31/42/8e/88540c3411ed4734c7fd06056942e82136135724593ecec35a
Successfully built numpy
Installing collected packages: numpy
Successfully installed numpy-1.24.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
readelf -A /usr/local/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-arm-linux-gnueabihf.so
Attribute Section: aeabi
File Attributes with cpu 8-A and arch v8
Also debug of import numpy I see problem with lib _multiarrary
Starting program: /usr/local/bin/python
Python 3.10.7 (main, Nov 24 2022, 13:02:43) [GCC 11.2.1 20220219] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Program received signal SIGSEGV, Segmentation fault.
sysv_lookup (s=s@entry=0x75fe97f7 "__libc_start_main", h=h@entry=24641422, dso=dso@entry=0x7dffbdc8) at ldso/dynlink.c:249
249 char *strings = dso->strings;
(gdb) bt
#0 sysv_lookup (s=s@entry=0x75fe97f7 "__libc_start_main", h=h@entry=24641422, dso=dso@entry=0x7dffbdc8) at ldso/dynlink.c:249
#1 0x75fb87e4 in find_sym2 (use_deps=0, need_def=1, s=0x75fe97f7 "__libc_start_main", dso=0x7dffbdc8) at ldso/dynlink.c:313
#2 find_sym (dso=dso@entry=0x7dffbdc8, s=0x75fe97f7 "__libc_start_main", need_def=need_def@entry=1) at ldso/dynlink.c:334
#3 0x75fa6f7c in load_library (name=name@entry=0x759348a0 "/usr/local/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-arm-linux-gnueabihf.so",
needed_by=<optimized out>) at ldso/dynlink.c:1128
#4 0x75fa7f34 in dlopen (file=0x759348a0 "/usr/local/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-arm-linux-gnueabihf.so", mode=2)
at ldso/dynlink.c:2089
#5 0x75e07c54 in ?? () from /usr/local/lib/libpython3.10.so.1.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Context for the issue:
Here fragment of log file of strace before SIGFAULT for future check.
bash-5.1# strace python -c "import numpy"
Uh oh!
There was an error while loading. Please reload this page.
Describe the issue:
Arch armv7l Alpine Docker
pip install --no-cache numpy on RAMv7 i get libs for ARMv8 arch
Attribute Section: aeabi
File Attributes with cpu 8-A and arch v8
For example Python give normal attributes for armv7
readelf -A /usr/local/bin/python3
Attribute Section: aeabi File Attributes Tag_CPU_name: "7-A" Tag_CPU_arch: v7 Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_FP_arch: VFPv3-D16 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_rounding: Needed Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_enum_size: int Tag_ABI_VFP_args: VFP registers Tag_ABI_optimization_goals: Aggressive Size Tag_CPU_unaligned_access: v6
Reproduce the code example:
Error message:
Runtime information:
Also debug of import numpy I see problem with lib _multiarrary
Context for the issue:
Here fragment of log file of strace before SIGFAULT for future check.
bash-5.1# strace python -c "import numpy"
The text was updated successfully, but these errors were encountered: