Opened 21 months ago

#65592 assigned defect

py310-numpy fails on Rosetta: multiarray/lowlevel_strided_loops failure

Reported by: barracuda156 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard Cc:
Port: py310-numpy

Description

There are two problems:

  1. Usage of -march=native, unsupported on PPC: https://github.com/mfem/mfem/issues/216

This can be fixed with a patch or reinplace.

  1. This failure:
    error: Command "/opt/local/bin/gcc-mp-12 -Wno-unused-result -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/multiarray -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/common -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/include/numpy -Ibuild/src.macosx-10.6-ppc-3.10/numpy/distutils/include -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/npysort -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/common -Ibuild/src.macosx-10.6-ppc-3.10/numpy/core/src/npymath -c build/src.macosx-10.6-ppc-3.10/numpy/core/src/multiarray/lowlevel_strided_loops.c -o build/temp.macosx-10.6-ppc-cpython-310/build/src.macosx-10.6-ppc-3.10/numpy/core/src/multiarray/lowlevel_strided_loops.o -MMD -MF build/temp.macosx-10.6-ppc-cpython-310/build/src.macosx-10.6-ppc-3.10/numpy/core/src/multiarray/lowlevel_strided_loops.o.d" failed with exit status 1
    

Ticket with upstream: https://github.com/numpy/numpy/issues/22072

Attachments (1)

py310-numpy.log (390.8 KB) - added by barracuda156 21 months ago.

Download all attachments as: .zip

Change History (1)

Changed 21 months ago by barracuda156

Attachment: py310-numpy.log added
Note: See TracTickets for help on using tickets.