Skip to content

Error building in 32-bit PyPy 3.7 #18297

@radarhere

Description

@radarhere

Over at https://github.com/python-pillow/pillow-wheels, I've found a problem when trying to install numpy 1.20.0 in 32-bit PyPy 3.7. The problem doesn't occur with numpy 1.19.5. From the errors, I would think it relates to 'multi-platform SIMD compiler optimizations' in the changelog.

Let me know if this isn't clear enough.

Reproducing code example:

Here is the failing GitHub Actions job - https://github.com/radarhere/pillow-wheels/runs/1813058801?check_suite_focus=true#step:4:7359

Error message:

I won't include the full log, but this should be enough to demonstrate

In file included from /usr/lib/gcc/i686-linux-gnu/5/include/immintrin.h:45:0,
				 from build/src.linux-i686-3.7/numpy/distutils/include/npy_cpu_dispatch_config.h:64,
				 from numpy/core/src/common/npy_cpu_dispatch.h:36,
				 from numpy/core/src/common/npy_config.h:6,
				 from numpy/core/include/numpy/npy_common.h:10,
				 from numpy/core/src/_simd/_simd.h:16,
				 from numpy/core/src/_simd/_simd.dispatch.c.src:2,
				 from build/src.linux-i686-3.7/numpy/core/src/_simd/_simd.dispatch.avx512_skx.c:21:
/usr/lib/gcc/i686-linux-gnu/5/include/avx512fintrin.h:9538:1: note: expected 'long long int *' but argument is of type '__vector(8) long long int *'
 _mm512_mask_i64scatter_epi64 (long long *__addr, __mmask8 __mask,
 ^
cc1: all warnings being treated as errors

NumPy/Python version information:

3.7.9 (7e6e2bb30ac5, Nov 18 2020, 10:58:15)
[PyPy 7.3.3-beta0 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions