Skip to content

Cannot compile numpy with GCC 16.0.0 (development version) #29130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
clin1234 opened this issue Jun 5, 2025 · 4 comments
Open

Cannot compile numpy with GCC 16.0.0 (development version) #29130

clin1234 opened this issue Jun 5, 2025 · 4 comments
Milestone

Comments

@clin1234
Copy link

clin1234 commented Jun 5, 2025

(EDIT: seberg, add summary and move everything else -- i.e. the build log -- into details.)

Runs into:

cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown

which comes from highway (at least most likely).

Build log
(venv) cc@pretty:~/venv/bin$ CC=gcc pip install numpy
Collecting numpy
  Using cached numpy-2.2.6.tar.gz (20.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [526 lines of output]
      + /home/cc/venv/bin/python3.14t /tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981/vendored-meson/meson/meson.py setup /tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981 /tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981/.mesonpy-72d52acj -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981/.mesonpy-72d52acj/meson-python-native-file.ini
      The Meson build system
      Version: 1.5.2
      Source dir: /tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981
      Build dir: /tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981/.mesonpy-72d52acj
      Build type: native build
      Project name: NumPy
      Project version: 2.2.6
      C compiler for the host machine: gcc (gcc 16.0.0 "gcc (GCC) 16.0.0 20250525 (experimental)")
      C linker for the host machine: gcc ld.bfd 2.44-3
      C++ compiler for the host machine: sccache c++ (gcc 16.0.0 "c++ (GCC) 16.0.0 20250525 (experimental)")
      C++ linker for the host machine: c++ ld.bfd 2.44-3
      Cython compiler for the host machine: cython (cython 3.1.1)
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Program python found: YES (/home/cc/venv/bin/python3.14t)
      Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0
      Run-time dependency python found: YES 3.14
      Has header "Python.h" with dependency python-3.14t: YES
      Compiler for C supports arguments -fno-strict-aliasing: YES
      Test features "SSE SSE2 SSE3" : Supported
      Test features "SSSE3" : Supported
      Test features "SSE41" : Supported
      Test features "POPCNT" : Supported
      Test features "SSE42" : Supported
      Test features "AVX" : Supported
      Test features "F16C" : Supported
      Test features "FMA3" : Supported
      Test features "AVX2" : Supported
      Test features "AVX512F" : Supported
      Test features "AVX512CD" : Supported
      Test features "AVX512_KNL" : Unsupported due to Arguments "-msse, -msse2, -msse3, -mssse3, -msse4.1, -mpopcnt, -msse4.2, -mavx, -mf16c, -mfma, -mavx2, -maes, -mpclmul, -mbmi, -mbmi2, -mno-mmx, -mavx512f, -mavx512cd, -mavx512er, -mavx512pf" are not supported
      Test features "AVX512_KNM" : Unsupported due to Implied feature "AVX512_KNL" is not supported
      Test features "AVX512_SKX" : Supported
      Test features "AVX512_CLX" : Supported
      Test features "AVX512_CNL" : Supported
      Test features "AVX512_ICL" : Supported
      Test features "AVX512_SPR" : Supported
      Configuring npy_cpu_dispatch_config.h using configuration
      Message:
      CPU Optimization Options
        baseline:
          Requested : min
          Enabled   : SSE SSE2 SSE3
        dispatch:
          Requested : max -xop -fma4
          Enabled   : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL AVX512_SPR
      
      Library m found: YES
      Run-time dependency scipy-openblas found: NO (tried pkgconfig)
      Run-time dependency mkl found: NO (tried pkgconfig and system)
      Run-time dependency mkl found: NO (tried pkgconfig and system)
      Found CMake: /usr/bin/cmake (3.31.6)
      WARNING: CMake Toolchain: Failed to determine CMake compilers state
      Run-time dependency openblas found: NO (tried pkgconfig, pkgconfig, pkgconfig, system and cmake)
      Run-time dependency flexiblas found: NO (tried pkgconfig and cmake)
      Run-time dependency blis found: NO (tried pkgconfig and cmake)
      Run-time dependency blas found: NO (tried pkgconfig and system)
      Run-time dependency mkl found: NO (tried pkgconfig and system)
      Run-time dependency openblas found: NO (tried pkgconfig, pkgconfig, pkgconfig, system and cmake)
      Run-time dependency flexiblas found: NO (tried pkgconfig and cmake)
      Run-time dependency lapack found: NO (tried pkgconfig and system)
      Checking if "Check atomic builtins without -latomic" : links: YES
      Program _build_utils/process_src_template.py found: YES (/home/cc/venv/bin/python3.14t /tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981/numpy/_build_utils/process_src_template.py)
      Program _build_utils/tempita.py found: YES (/home/cc/venv/bin/python3.14t /tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981/numpy/_build_utils/tempita.py)
      Configuring __config__.py using configuration
      ../numpy/meson.build:447: WARNING: The variable(s) 'BLAS_INCLUDEDIR', 'BLAS_LIBDIR', 'BLAS_OPENBLAS_CONFIG', 'BLAS_PCFILEDIR', 'BLAS_TYPE_NAME', 'BLAS_VERSION', 'LAPACK_INCLUDEDIR', 'LAPACK_LIBDIR', 'LAPACK_OPENBLAS_CONFIG', 'LAPACK_PCFILEDIR', 'LAPACK_TYPE_NAME', 'LAPACK_VERSION' in the input file 'numpy/__config__.py.in' are not present in the given configuration data.
      Checking for size of "short" : 2
      Checking for size of "int" : 4
      Checking for size of "long" : 8
      Checking for size of "long long" : 8
      Checking for size of "float" : 4
      Checking for size of "double" : 8
      Checking for size of "long double" : 16
      Checking for size of "size_t" : 8
      Checking for size of "size_t" : 8 (cached)
      Checking for size of "wchar_t" : 4
      Checking for size of "off_t" : 8
      Checking for size of "Py_intptr_t" with dependency python-3.14t: 8
      Checking for size of "PY_LONG_LONG" with dependency python-3.14t: 8
      Has header "complex.h" : YES
      Checking for type "complex float" : YES
      Checking for size of "complex float" : 8
      Checking for type "complex double" : YES
      Checking for size of "complex double" : 16
      Checking for type "complex long double" : YES
      Checking for size of "complex long double" : 32
      Checking for function "sin" with dependency -lm: YES
      Checking for function "cos" with dependency -lm: YES
      Checking for function "tan" with dependency -lm: YES
      Checking for function "sinh" with dependency -lm: YES
      Checking for function "cosh" with dependency -lm: YES
      Checking for function "tanh" with dependency -lm: YES
      Checking for function "fabs" with dependency -lm: YES
      Checking for function "floor" with dependency -lm: YES
      Checking for function "ceil" with dependency -lm: YES
      Checking for function "sqrt" with dependency -lm: YES
      Checking for function "log10" with dependency -lm: YES
      Checking for function "log" with dependency -lm: YES
      Checking for function "exp" with dependency -lm: YES
      Checking for function "asin" with dependency -lm: YES
      Checking for function "acos" with dependency -lm: YES
      Checking for function "atan" with dependency -lm: YES
      Checking for function "fmod" with dependency -lm: YES
      Checking for function "modf" with dependency -lm: YES
      Checking for function "frexp" with dependency -lm: YES
      Checking for function "ldexp" with dependency -lm: YES
      Checking for function "expm1" with dependency -lm: YES
      Checking for function "log1p" with dependency -lm: YES
      Checking for function "acosh" with dependency -lm: YES
      Checking for function "asinh" with dependency -lm: YES
      Checking for function "atanh" with dependency -lm: YES
      Checking for function "rint" with dependency -lm: YES
      Checking for function "trunc" with dependency -lm: YES
      Checking for function "exp2" with dependency -lm: YES
      Checking for function "copysign" with dependency -lm: YES
      Checking for function "nextafter" with dependency -lm: YES
      Checking for function "cbrt" with dependency -lm: YES
      Checking for function "log2" with dependency -lm: YES
      Checking for function "pow" with dependency -lm: YES
      Checking for function "hypot" with dependency -lm: YES
      Checking for function "atan2" with dependency -lm: YES
      Checking for function "csin" with dependency -lm: YES
      Checking for function "csinh" with dependency -lm: YES
      Checking for function "ccos" with dependency -lm: YES
      Checking for function "ccosh" with dependency -lm: YES
      Checking for function "ctan" with dependency -lm: YES
      Checking for function "ctanh" with dependency -lm: YES
      Checking for function "creal" with dependency -lm: YES
      Checking for function "cimag" with dependency -lm: YES
      Checking for function "conj" with dependency -lm: YES
      Checking for function "strtoll" : YES
      Checking for function "strtoull" : YES
      Checking for function "cabs" with dependency -lm: YES
      Checking for function "cabsf" with dependency -lm: YES
      Checking for function "cabsl" with dependency -lm: YES
      Checking for function "cacos" with dependency -lm: YES
      Checking for function "cacosf" with dependency -lm: YES
      Checking for function "cacosl" with dependency -lm: YES
      Checking for function "cacosh" with dependency -lm: YES
      Checking for function "cacoshf" with dependency -lm: YES
      Checking for function "cacoshl" with dependency -lm: YES
      Checking for function "carg" with dependency -lm: YES
      Checking for function "cargf" with dependency -lm: YES
      Checking for function "cargl" with dependency -lm: YES
      Checking for function "casin" with dependency -lm: YES
      Checking for function "casinf" with dependency -lm: YES
      Checking for function "casinl" with dependency -lm: YES
      Checking for function "casinh" with dependency -lm: YES
      Checking for function "casinhf" with dependency -lm: YES
      Checking for function "casinhl" with dependency -lm: YES
      Checking for function "catan" with dependency -lm: YES
      Checking for function "catanf" with dependency -lm: YES
      Checking for function "catanl" with dependency -lm: YES
      Checking for function "catanh" with dependency -lm: YES
      Checking for function "catanhf" with dependency -lm: YES
      Checking for function "catanhl" with dependency -lm: YES
      Checking for function "cexp" with dependency -lm: YES
      Checking for function "cexpf" with dependency -lm: YES
      Checking for function "cexpl" with dependency -lm: YES
      Checking for function "clog" with dependency -lm: YES
      Checking for function "clogf" with dependency -lm: YES
      Checking for function "clogl" with dependency -lm: YES
      Checking for function "cpow" with dependency -lm: YES
      Checking for function "cpowf" with dependency -lm: YES
      Checking for function "cpowl" with dependency -lm: YES
      Checking for function "csqrt" with dependency -lm: YES
      Checking for function "csqrtf" with dependency -lm: YES
      Checking for function "csqrtl" with dependency -lm: YES
      Checking for function "csin" with dependency -lm: YES (cached)
      Checking for function "csinf" with dependency -lm: YES
      Checking for function "csinl" with dependency -lm: YES
      Checking for function "csinh" with dependency -lm: YES (cached)
      Checking for function "csinhf" with dependency -lm: YES
      Checking for function "csinhl" with dependency -lm: YES
      Checking for function "ccos" with dependency -lm: YES (cached)
      Checking for function "ccosf" with dependency -lm: YES
      Checking for function "ccosl" with dependency -lm: YES
      Checking for function "ccosh" with dependency -lm: YES (cached)
      Checking for function "ccoshf" with dependency -lm: YES
      Checking for function "ccoshl" with dependency -lm: YES
      Checking for function "ctan" with dependency -lm: YES (cached)
      Checking for function "ctanf" with dependency -lm: YES
      Checking for function "ctanl" with dependency -lm: YES
      Checking for function "ctanh" with dependency -lm: YES (cached)
      Checking for function "ctanhf" with dependency -lm: YES
      Checking for function "ctanhl" with dependency -lm: YES
      Checking for function "isfinite" with dependency -lm: YES
      Header "Python.h" has symbol "isfinite" with dependency python-3.14t: YES
      Checking for function "isinf" with dependency -lm: YES
      Header "Python.h" has symbol "isinf" with dependency python-3.14t: YES
      Checking for function "isnan" with dependency -lm: YES
      Header "Python.h" has symbol "isnan" with dependency python-3.14t: YES
      Checking for function "signbit" with dependency -lm: YES
      Header "Python.h" has symbol "signbit" with dependency python-3.14t: YES
      Checking if "thread_local" compiles: NO
      Checking if "_Thread_local" compiles: YES
      Checking if "__thread" compiles: YES
      Checking if "__declspec(thread)" compiles: NO
      Checking for function "fallocate" : YES
      Header "Python.h" has symbol "HAVE_FTELLO" with dependency python-3.14t: YES
      Header "Python.h" has symbol "HAVE_FSEEKO" with dependency python-3.14t: YES
      Checking for function "backtrace" : YES
      Checking for function "madvise" : YES
      Has header "features.h" : YES
      Has header "xlocale.h" : NO
      Has header "dlfcn.h" : YES
      Has header "execinfo.h" : YES
      Has header "libunwind.h" : YES
      Has header "sys/mman.h" : YES
      Checking for function "strtold_l" : YES
      Compiler for C supports arguments -O3: YES
      Has header "endian.h" : YES
      Has header "sys/endian.h" : NO
      Compiler for C supports function attribute visibility:hidden: YES
      Configuring config.h using configuration
      Configuring _numpyconfig.h using configuration
      Configuring npymath.ini using configuration
      Configuring mlib.ini using configuration
      Configuring numpy.pc using configuration
      Generating multi-targets for "_umath_tests.dispatch.h"
        Enabled targets: AVX2, SSE41, baseline
      Generating multi-targets for "argfunc.dispatch.h"
        Enabled targets: AVX512_SKX, AVX2, SSE42, baseline
      Generating multi-targets for "x86_simd_argsort.dispatch.h"
        Enabled targets: AVX512_SKX, AVX2
      Generating multi-targets for "x86_simd_qsort.dispatch.h"
        Enabled targets: AVX512_SKX, AVX2
      Generating multi-targets for "x86_simd_qsort_16bit.dispatch.h"
        Enabled targets: AVX512_SPR, AVX512_ICL
      Generating multi-targets for "highway_qsort.dispatch.h"
        Enabled targets:
      Generating multi-targets for "highway_qsort_16bit.dispatch.h"
        Enabled targets:
      Generating multi-targets for "loops_arithm_fp.dispatch.h"
        Enabled targets: AVX2, baseline
      Generating multi-targets for "loops_arithmetic.dispatch.h"
        Enabled targets: AVX512_SKX, AVX512F, AVX2, SSE41, baseline
      Generating multi-targets for "loops_comparison.dispatch.h"
        Enabled targets: AVX512_SKX, AVX512F, AVX2, SSE42, baseline
      Generating multi-targets for "loops_exponent_log.dispatch.h"
        Enabled targets: AVX512_SKX, AVX512F, AVX2, baseline
      Generating multi-targets for "loops_hyperbolic.dispatch.h"
        Enabled targets: AVX512_SKX, AVX2, baseline
      Generating multi-targets for "loops_logical.dispatch.h"
        Enabled targets: AVX512_SKX, AVX2, baseline
      Generating multi-targets for "loops_minmax.dispatch.h"
        Enabled targets: AVX512_SKX, AVX2, baseline
      Generating multi-targets for "loops_modulo.dispatch.h"
        Enabled targets: baseline
      Generating multi-targets for "loops_trigonometric.dispatch.h"
        Enabled targets: AVX512_SKX, AVX2, baseline
      Generating multi-targets for "loops_umath_fp.dispatch.h"
        Enabled targets: AVX512_SKX, baseline
      Generating multi-targets for "loops_unary.dispatch.h"
        Enabled targets: AVX512_SKX, AVX2, baseline
      Generating multi-targets for "loops_unary_fp.dispatch.h"
        Enabled targets: SSE41, baseline
      Generating multi-targets for "loops_unary_fp_le.dispatch.h"
        Enabled targets: SSE41, baseline
      Generating multi-targets for "loops_unary_complex.dispatch.h"
        Enabled targets: AVX512F, AVX2, baseline
      Generating multi-targets for "loops_autovec.dispatch.h"
        Enabled targets: AVX2, baseline
      Generating multi-targets for "_simd.dispatch.h"
        Enabled targets: SSE42, AVX2, FMA3, AVX512F, AVX512_SKX, baseline
      Build targets in project: 104
      NOTICE: Future-deprecated features used:
       * 1.3.0: {'Source file src/umath/svml/linux/avx512/svml_z0_acos_d_la.s in the 'objects' kwarg is not an object.'}
      
      NumPy 2.2.6
      
        User defined options
          Native files: /tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981/.mesonpy-72d52acj/meson-python-native-file.ini
          buildtype   : release
          b_ndebug    : if-release
          b_vscrt     : md
      
      Found ninja-1.11.1.git.kitware.jobserver-1 at /home/cc/venv/bin/ninja
      + /home/cc/venv/bin/ninja
      [1/530] Generating 'numpy/_core/libnpymath.a.p/ieee754.c'
      [2/530] Generating 'numpy/_core/_multiarray_tests.cpython-314t-x86_64-linux-gnu.so.p/_multiarray_tests.c'
      [3/530] Generating 'numpy/_core/libargfunc.dispatch.h_baseline.a.p/arraytypes.h'
      [4/530] Generating 'numpy/_core/libargfunc.dispatch.h_AVX512_SKX.a.p/arraytypes.h'
      [5/530] Generating 'numpy/_core/libargfunc.dispatch.h_baseline.a.p/npy_sort.h'
      [6/530] Generating 'numpy/_core/libargfunc.dispatch.h_baseline.a.p/argfunc.dispatch.c'
      [7/530] Generating 'numpy/_core/_umath_tests.cpython-314t-x86_64-linux-gnu.so.p/_umath_tests.c'
      [8/530] Generating 'numpy/_core/libargfunc.dispatch.h_AVX2.a.p/npy_sort.h'
      [9/530] Generating numpy/_core/npy_math_internal.h with a custom command
      [10/530] Generating 'numpy/_core/libargfunc.dispatch.h_AVX2.a.p/arraytypes.h'
      [11/530] Generating numpy/_core/_umath_doc_generated with a custom command
      [12/530] Copying file numpy/__init__.pxd
      [13/530] Generating 'numpy/_core/libnpymath.a.p/npy_math_complex.c'
      [14/530] Copying file numpy/__init__.cython-30.pxd
      [15/530] Compiling C++ object numpy/_core/libhighway.a.p/src_highway_hwy_abort.cc.o
      [16/530] Generating 'numpy/_core/libargfunc.dispatch.h_AVX2.a.p/argfunc.dispatch.c'
      [17/530] Linking static target numpy/_core/libhighway.a
      [18/530] Generating numpy/_core/__umath_generated with a custom command
      [19/530] Generating 'numpy/_core/libargfunc.dispatch.h_AVX512_SKX.a.p/npy_sort.h'
      [20/530] Generating 'numpy/_core/_multiarray_tests.cpython-314t-x86_64-linux-gnu.so.p/templ_common.h'
      [21/530] Copying file numpy/__init__.py
      [22/530] Generating 'numpy/_core/libargfunc.dispatch.h_AVX512_SKX.a.p/argfunc.dispatch.c'
      [23/530] Generating 'numpy/_core/libargfunc.dispatch.h_SSE42.a.p/arraytypes.h'
      [24/530] Generating 'numpy/_core/libx86_simd_argsort.dispatch.h_AVX512_SKX.a.p/arraytypes.h'
      [25/530] Generating 'numpy/_core/libx86_simd_qsort.dispatch.h_AVX512_SKX.a.p/arraytypes.h'
      [26/530] Generating numpy/_core/__ufunc_api with a custom command
      [27/530] Generating 'numpy/_core/libx86_simd_argsort.dispatch.h_AVX512_SKX.a.p/npy_sort.h'
      [28/530] Generating 'numpy/_core/libargfunc.dispatch.h_SSE42.a.p/argfunc.dispatch.c'
      [29/530] Generating 'numpy/_core/libx86_simd_argsort.dispatch.h_AVX2.a.p/npy_sort.h'
      [30/530] Generating 'numpy/_core/libx86_simd_qsort.dispatch.h_AVX512_SKX.a.p/npy_sort.h'
      [31/530] Generating 'numpy/_core/libargfunc.dispatch.h_SSE42.a.p/npy_sort.h'
      [32/530] Generating 'numpy/_core/libx86_simd_qsort.dispatch.h_AVX2.a.p/arraytypes.h'
      [33/530] Generating 'numpy/_core/libx86_simd_qsort.dispatch.h_AVX2.a.p/npy_sort.h'
      [34/530] Generating 'numpy/_core/libx86_simd_qsort_16bit.dispatch.h_AVX512_SPR.a.p/npy_sort.h'
      [35/530] Generating 'numpy/_core/libx86_simd_qsort_16bit.dispatch.h_AVX512_ICL.a.p/arraytypes.h'
      [36/530] Generating 'numpy/_core/libx86_simd_argsort.dispatch.h_AVX2.a.p/arraytypes.h'
      [37/530] Generating 'numpy/_core/libx86_simd_qsort_16bit.dispatch.h_AVX512_ICL.a.p/npy_sort.h'
      [38/530] Generating 'numpy/_core/libx86_simd_qsort_16bit.dispatch.h_AVX512_SPR.a.p/arraytypes.h'
      [39/530] Generating 'numpy/_core/libloops_arithm_fp.dispatch.h_baseline.a.p/loops.h'
      [40/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_baseline.a.p/loops_utils.h'
      [41/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [42/530] Generating 'numpy/_core/libloops_arithm_fp.dispatch.h_baseline.a.p/loops_arithm_fp.dispatch.c'
      [43/530] Generating 'numpy/_core/libloops_arithm_fp.dispatch.h_AVX2.a.p/loops.h'
      [44/530] Generating 'numpy/_core/libloops_arithm_fp.dispatch.h_AVX2.a.p/loops_utils.h'
      [45/530] Compiling C++ object numpy/_core/libnpymath.a.p/src_npymath_halffloat.cpp.o
      [46/530] Generating 'numpy/_core/libloops_arithm_fp.dispatch.h_AVX2.a.p/loops_arithm_fp.dispatch.c'
      [47/530] Generating 'numpy/_core/libloops_arithm_fp.dispatch.h_baseline.a.p/loops_utils.h'
      [48/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_baseline.a.p/loops.h'
      [49/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_baseline.a.p/loops_arithmetic.dispatch.c'
      [50/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX512_SKX.a.p/loops_arithmetic.dispatch.c'
      [51/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX512_SKX.a.p/loops.h'
      [52/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX512F.a.p/loops.h'
      [53/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX512F.a.p/loops_utils.h'
      [54/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX2.a.p/loops.h'
      [55/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX2.a.p/loops_arithmetic.dispatch.c'
      [56/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX2.a.p/loops_utils.h'
      [57/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_AVX512F.a.p/loops_arithmetic.dispatch.c'
      [58/530] Generating numpy/_core/__multiarray_api with a custom command
      [59/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_SSE41.a.p/loops_arithmetic.dispatch.c'
      [60/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_SSE41.a.p/loops_utils.h'
      [61/530] Generating 'numpy/_core/libloops_arithmetic.dispatch.h_SSE41.a.p/loops.h'
      [62/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [63/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_baseline.a.p/loops_utils.h'
      [64/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX512F.a.p/loops_utils.h'
      [65/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX512_SKX.a.p/loops.h'
      [66/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_baseline.a.p/loops.h'
      [67/530] Compiling C object numpy/_core/libnpymath.a.p/meson-generated_ieee754.c.o
      [68/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX2.a.p/loops_utils.h'
      [69/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_baseline.a.p/loops_comparison.dispatch.c'
      [70/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX512F.a.p/loops.h'
      [71/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX2.a.p/loops.h'
      [72/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_SSE42.a.p/loops_utils.h'
      [73/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX512_SKX.a.p/loops_comparison.dispatch.c'
      [74/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_SSE42.a.p/loops.h'
      [75/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX512F.a.p/loops_comparison.dispatch.c'
      [76/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_SSE42.a.p/loops_comparison.dispatch.c'
      [77/530] Generating 'numpy/_core/libloops_comparison.dispatch.h_AVX2.a.p/loops_comparison.dispatch.c'
      [78/530] Compiling C++ object numpy/_core/_multiarray_tests.cpython-314t-x86_64-linux-gnu.so.p/src_common_npy_hashtable.cpp.o
      [79/530] Compiling C object numpy/_core/lib_umath_tests.dispatch.h_baseline.a.p/src_umath__umath_tests.dispatch.c.o
      [80/530] Compiling C object numpy/_core/libnpymath.a.p/meson-generated_npy_math_complex.c.o
      [81/530] Linking static target numpy/_core/lib_umath_tests.dispatch.h_baseline.a
      [82/530] Compiling C object numpy/_core/lib_umath_tests.dispatch.h_SSE41.a.p/src_umath__umath_tests.dispatch.c.o
      [83/530] Linking static target numpy/_core/lib_umath_tests.dispatch.h_SSE41.a
      [84/530] Compiling C object numpy/_core/_operand_flag_tests.cpython-314t-x86_64-linux-gnu.so.p/src_umath__operand_flag_tests.c.o
      [85/530] Linking target numpy/_core/_operand_flag_tests.cpython-314t-x86_64-linux-gnu.so
      [86/530] Compiling C object numpy/_core/_struct_ufunc_tests.cpython-314t-x86_64-linux-gnu.so.p/src_umath__struct_ufunc_tests.c.o
      [87/530] Linking target numpy/_core/_struct_ufunc_tests.cpython-314t-x86_64-linux-gnu.so
      [88/530] Compiling C object numpy/_core/libnpymath.a.p/src_npymath_npy_math.c.o
      [89/530] Linking static target numpy/_core/libnpymath.a
      [90/530] Compiling C++ object numpy/_core/libx86_simd_argsort.dispatch.h_AVX512_SKX.a.p/src_npysort_x86_simd_argsort.dispatch.cpp.o
      [91/530] Linking static target numpy/_core/libx86_simd_argsort.dispatch.h_AVX512_SKX.a
      [92/530] Compiling C++ object numpy/_core/libx86_simd_qsort_16bit.dispatch.h_AVX512_SPR.a.p/src_npysort_x86_simd_qsort_16bit.dispatch.cpp.o
      [93/530] Linking static target numpy/_core/libx86_simd_qsort_16bit.dispatch.h_AVX512_SPR.a
      [94/530] Compiling C++ object numpy/_core/libx86_simd_qsort.dispatch.h_AVX2.a.p/src_npysort_x86_simd_qsort.dispatch.cpp.o
      [95/530] Linking static target numpy/_core/libx86_simd_qsort.dispatch.h_AVX2.a
      [96/530] Compiling C++ object numpy/_core/libx86_simd_argsort.dispatch.h_AVX2.a.p/src_npysort_x86_simd_argsort.dispatch.cpp.o
      [97/530] Linking static target numpy/_core/libx86_simd_argsort.dispatch.h_AVX2.a
      [98/530] Compiling C object numpy/_core/_umath_tests.cpython-314t-x86_64-linux-gnu.so.p/src_common_npy_cpu_features.c.o
      [99/530] Compiling C object numpy/_core/_multiarray_tests.cpython-314t-x86_64-linux-gnu.so.p/src_common_npy_argparse.c.o
      [100/530] Compiling C++ object numpy/_core/libx86_simd_qsort.dispatch.h_AVX512_SKX.a.p/src_npysort_x86_simd_qsort.dispatch.cpp.o
      [101/530] Linking static target numpy/_core/libx86_simd_qsort.dispatch.h_AVX512_SKX.a
      [102/530] Compiling C++ object numpy/_core/libx86_simd_qsort_16bit.dispatch.h_AVX512_ICL.a.p/src_npysort_x86_simd_qsort_16bit.dispatch.cpp.o
      [103/530] Linking static target numpy/_core/libx86_simd_qsort_16bit.dispatch.h_AVX512_ICL.a
      [104/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_baseline.a.p/loops.h'
      [105/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_baseline.a.p/loops_utils.h'
      [106/530] Compiling C object numpy/_core/lib_umath_tests.dispatch.h_AVX2.a.p/src_umath__umath_tests.dispatch.c.o
      [107/530] Linking static target numpy/_core/lib_umath_tests.dispatch.h_AVX2.a
      [108/530] Linking static target numpy/_core/lib_umath_tests_mtargets.a
      [109/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_baseline.a.p/loops_exponent_log.dispatch.c'
      [110/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops.h'
      [111/530] Compiling C object numpy/_core/_umath_tests.cpython-314t-x86_64-linux-gnu.so.p/meson-generated__umath_tests.c.o
      [112/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [113/530] Linking target numpy/_core/_umath_tests.cpython-314t-x86_64-linux-gnu.so
      [114/530] Compiling C object numpy/_core/_multiarray_tests.cpython-314t-x86_64-linux-gnu.so.p/src_common_mem_overlap.c.o
      [115/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_exponent_log.dispatch.c'
      [116/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX512F.a.p/loops_utils.h'
      [117/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX512F.a.p/loops_exponent_log.dispatch.c'
      [118/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX512F.a.p/loops.h'
      [119/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX2.a.p/loops.h'
      [120/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX2.a.p/loops_utils.h'
      [121/530] Compiling C object numpy/_core/libloops_exponent_log.dispatch.h_baseline.a.p/meson-generated_loops_exponent_log.dispatch.c.o
      [122/530] Linking static target numpy/_core/libloops_exponent_log.dispatch.h_baseline.a
      [123/530] Generating 'numpy/_core/libloops_exponent_log.dispatch.h_AVX2.a.p/loops_exponent_log.dispatch.c'
      [124/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops.h'
      [125/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops_utils.h'
      [126/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_baseline.a.p/loops_hyperbolic.dispatch.c'
      [127/530] Compiling C object numpy/_core/libloops_arithmetic.dispatch.h_baseline.a.p/meson-generated_loops_arithmetic.dispatch.c.o
      [128/530] Linking static target numpy/_core/libloops_arithmetic.dispatch.h_baseline.a
      [129/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_AVX512_SKX.a.p/loops.h'
      [130/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [131/530] Compiling C object numpy/_core/libloops_arithmetic.dispatch.h_SSE41.a.p/meson-generated_loops_arithmetic.dispatch.c.o
      [132/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_AVX512_SKX.a.p/loops_hyperbolic.dispatch.c'
      [133/530] Linking static target numpy/_core/libloops_arithmetic.dispatch.h_SSE41.a
      [134/530] Compiling C object numpy/_core/libloops_hyperbolic.dispatch.h_baseline.a.p/meson-generated_loops_hyperbolic.dispatch.c.o
      [135/530] Linking static target numpy/_core/libloops_hyperbolic.dispatch.h_baseline.a
      [136/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_AVX2.a.p/loops.h'
      [137/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_AVX2.a.p/loops_hyperbolic.dispatch.c'
      [138/530] Generating 'numpy/_core/libloops_hyperbolic.dispatch.h_AVX2.a.p/loops_utils.h'
      [139/530] Compiling C object numpy/_core/_rational_tests.cpython-314t-x86_64-linux-gnu.so.p/src_umath__rational_tests.c.o
      [140/530] Generating 'numpy/_core/libloops_logical.dispatch.h_baseline.a.p/loops.h'
      [141/530] Linking target numpy/_core/_rational_tests.cpython-314t-x86_64-linux-gnu.so
      [142/530] Generating 'numpy/_core/libloops_logical.dispatch.h_baseline.a.p/loops_utils.h'
      [143/530] Generating 'numpy/_core/libloops_logical.dispatch.h_baseline.a.p/loops_logical.dispatch.c'
      [144/530] Compiling C object numpy/_core/libloops_arithmetic.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_arithmetic.dispatch.c.o
      [145/530] Linking static target numpy/_core/libloops_arithmetic.dispatch.h_AVX512_SKX.a
      [146/530] Compiling C object numpy/_core/libargfunc.dispatch.h_baseline.a.p/meson-generated_argfunc.dispatch.c.o
      [147/530] Linking static target numpy/_core/libargfunc.dispatch.h_baseline.a
      [148/530] Generating 'numpy/_core/libloops_logical.dispatch.h_AVX512_SKX.a.p/loops.h'
      [149/530] Compiling C object numpy/_core/libloops_arithmetic.dispatch.h_AVX2.a.p/meson-generated_loops_arithmetic.dispatch.c.o
      [150/530] Linking static target numpy/_core/libloops_arithmetic.dispatch.h_AVX2.a
      [151/530] Generating 'numpy/_core/libloops_logical.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [152/530] Compiling C object numpy/_core/libloops_exponent_log.dispatch.h_AVX512F.a.p/meson-generated_loops_exponent_log.dispatch.c.o
      [153/530] Linking static target numpy/_core/libloops_exponent_log.dispatch.h_AVX512F.a
      [154/530] Generating 'numpy/_core/libloops_logical.dispatch.h_AVX2.a.p/loops_utils.h'
      [155/530] Compiling C object numpy/_core/libargfunc.dispatch.h_AVX512_SKX.a.p/meson-generated_argfunc.dispatch.c.o
      [156/530] Linking static target numpy/_core/libargfunc.dispatch.h_AVX512_SKX.a
      [157/530] Compiling C object numpy/_core/libloops_exponent_log.dispatch.h_AVX2.a.p/meson-generated_loops_exponent_log.dispatch.c.o
      [158/530] Linking static target numpy/_core/libloops_exponent_log.dispatch.h_AVX2.a
      [159/530] Generating 'numpy/_core/libloops_logical.dispatch.h_AVX512_SKX.a.p/loops_logical.dispatch.c'
      [160/530] Generating 'numpy/_core/libloops_logical.dispatch.h_AVX2.a.p/loops.h'
      [161/530] Generating 'numpy/_core/libloops_logical.dispatch.h_AVX2.a.p/loops_logical.dispatch.c'
      [162/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_baseline.a.p/loops_utils.h'
      [163/530] Compiling C object numpy/_core/libargfunc.dispatch.h_SSE42.a.p/meson-generated_argfunc.dispatch.c.o
      [164/530] Compiling C object numpy/_core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o
      [165/530] Linking static target numpy/_core/libargfunc.dispatch.h_SSE42.a
      [166/530] Linking static target numpy/_core/libloops_exponent_log.dispatch.h_AVX512_SKX.a
      [167/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_baseline.a.p/loops.h'
      [168/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_AVX512_SKX.a.p/loops.h'
      [169/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [170/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_AVX2.a.p/loops.h'
      [171/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_AVX512_SKX.a.p/loops_minmax.dispatch.c'
      [172/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_AVX2.a.p/loops_utils.h'
      [173/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_baseline.a.p/loops_minmax.dispatch.c'
      [174/530] Generating 'numpy/_core/libloops_modulo.dispatch.h_baseline.a.p/loops_utils.h'
      [175/530] Compiling C object numpy/_core/_multiarray_tests.cpython-314t-x86_64-linux-gnu.so.p/meson-generated__multiarray_tests.c.o
      [176/530] Generating 'numpy/_core/libloops_modulo.dispatch.h_baseline.a.p/loops_modulo.dispatch.c'
      [177/530] Generating 'numpy/_core/libloops_modulo.dispatch.h_baseline.a.p/loops.h'
      [178/530] Generating 'numpy/_core/libloops_trigonometric.dispatch.h_baseline.a.p/loops.h'
      [179/530] Generating 'numpy/_core/libloops_minmax.dispatch.h_AVX2.a.p/loops_minmax.dispatch.c'
      [180/530] Linking target numpy/_core/_multiarray_tests.cpython-314t-x86_64-linux-gnu.so
      [181/530] Generating 'numpy/_core/libloops_trigonometric.dispatch.h_baseline.a.p/loops_utils.h'
      [182/530] Generating 'numpy/_core/libloops_trigonometric.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [183/530] Generating 'numpy/_core/libloops_trigonometric.dispatch.h_AVX2.a.p/loops.h'
      [184/530] Generating 'numpy/_core/libloops_trigonometric.dispatch.h_AVX512_SKX.a.p/loops.h'
      [185/530] Compiling C object numpy/_core/libargfunc.dispatch.h_AVX2.a.p/meson-generated_argfunc.dispatch.c.o
      [186/530] Linking static target numpy/_core/libargfunc.dispatch.h_AVX2.a
      [187/530] Generating 'numpy/_core/libloops_trigonometric.dispatch.h_AVX2.a.p/loops_utils.h'
      [188/530] Generating 'numpy/_core/libloops_umath_fp.dispatch.h_baseline.a.p/loops.h'
      [189/530] Generating 'numpy/_core/libloops_umath_fp.dispatch.h_baseline.a.p/loops_utils.h'
      [190/530] Compiling C object numpy/_core/libloops_hyperbolic.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_hyperbolic.dispatch.c.o
      [191/530] Linking static target numpy/_core/libloops_hyperbolic.dispatch.h_AVX512_SKX.a
      [192/530] Compiling C object numpy/_core/libloops_arithmetic.dispatch.h_AVX512F.a.p/meson-generated_loops_arithmetic.dispatch.c.o
      [193/530] Generating 'numpy/_core/libloops_umath_fp.dispatch.h_baseline.a.p/loops_umath_fp.dispatch.c'
      [194/530] Linking static target numpy/_core/libloops_arithmetic.dispatch.h_AVX512F.a
      [195/530] Generating 'numpy/_core/libloops_umath_fp.dispatch.h_AVX512_SKX.a.p/loops.h'
      [196/530] Compiling C++ object numpy/_core/libloops_trigonometric.dispatch.h_baseline.a.p/src_umath_loops_trigonometric.dispatch.cpp.o
      [197/530] Linking static target numpy/_core/libloops_trigonometric.dispatch.h_baseline.a
      [198/530] Generating 'numpy/_core/libloops_umath_fp.dispatch.h_AVX512_SKX.a.p/loops_umath_fp.dispatch.c'
      [199/530] Generating 'numpy/_core/libloops_umath_fp.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [200/530] Compiling C object numpy/_core/libloops_hyperbolic.dispatch.h_AVX2.a.p/meson-generated_loops_hyperbolic.dispatch.c.o
      [201/530] Linking static target numpy/_core/libloops_hyperbolic.dispatch.h_AVX2.a
      [202/530] Compiling C object numpy/_core/libloops_logical.dispatch.h_baseline.a.p/meson-generated_loops_logical.dispatch.c.o
      [203/530] Linking static target numpy/_core/libloops_logical.dispatch.h_baseline.a
      [204/530] Generating 'numpy/_core/libloops_unary.dispatch.h_baseline.a.p/loops.h'
      [205/530] Generating 'numpy/_core/libloops_unary.dispatch.h_baseline.a.p/loops_utils.h'
      [206/530] Generating 'numpy/_core/libloops_unary.dispatch.h_baseline.a.p/loops_unary.dispatch.c'
      [207/530] Generating 'numpy/_core/libloops_unary.dispatch.h_AVX512_SKX.a.p/loops_unary.dispatch.c'
      [208/530] Generating 'numpy/_core/libloops_unary.dispatch.h_AVX512_SKX.a.p/loops.h'
      [209/530] Generating 'numpy/_core/libloops_unary.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
      [210/530] Compiling C++ object numpy/_core/libloops_trigonometric.dispatch.h_AVX512_SKX.a.p/src_umath_loops_trigonometric.dispatch.cpp.o
      FAILED: numpy/_core/libloops_trigonometric.dispatch.h_AVX512_SKX.a.p/src_umath_loops_trigonometric.dispatch.cpp.o
      sccache c++ -Inumpy/_core/libloops_trigonometric.dispatch.h_AVX512_SKX.a.p -Inumpy/_core -I../numpy/_core -Inumpy/_core/include -I../numpy/_core/include -I../numpy/_core/src/common -I../numpy/_core/src/multiarray -I../numpy/_core/src/npymath -I../numpy/_core/src/umath -I../numpy/_core/src/highway -I/usr/include/python3.14t -I/tmp/pip-install-3caavxsb/numpy_cbdaf1b1e9814b69bc129e01e082e981/.mesonpy-72d52acj/meson_cpu -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c++17 -O3 -msse -msse2 -msse3 -fPIC -DNPY_INTERNAL_BUILD -DHAVE_NPY_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -fno-exceptions -fno-rtti -O3 -DNPY_HAVE_SSE2 -DNPY_HAVE_SSE -DNPY_HAVE_SSE3 -DNPY_HAVE_SSSE3 -DNPY_HAVE_SSE41 -DNPY_HAVE_POPCNT -DNPY_HAVE_SSE42 -DNPY_HAVE_AVX -DNPY_HAVE_F16C -DNPY_HAVE_FMA3 -DNPY_HAVE_AVX2 -DNPY_HAVE_AVX512F -DNPY_HAVE_AVX512F_REDUCE -DNPY_HAVE_AVX512CD -DNPY_HAVE_AVX512_SKX -DNPY_HAVE_AVX512VL -DNPY_HAVE_AVX512BW -DNPY_HAVE_AVX512DQ -DNPY_HAVE_AVX512BW_MASK -DNPY_HAVE_AVX512DQ_MASK -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mfma -mavx2 -maes -mpclmul -mbmi -mbmi2 -mno-mmx -mavx512f -mavx512cd -mavx512vl -mavx512bw -mavx512dq -DNPY_MTARGETS_CURRENT=AVX512_SKX -MD -MQ numpy/_core/libloops_trigonometric.dispatch.h_AVX512_SKX.a.p/src_umath_loops_trigonometric.dispatch.cpp.o -MF numpy/_core/libloops_trigonometric.dispatch.h_AVX512_SKX.a.p/src_umath_loops_trigonometric.dispatch.cpp.o.d -o numpy/_core/libloops_trigonometric.dispatch.h_AVX512_SKX.a.p/src_umath_loops_trigonometric.dispatch.cpp.o -c ../numpy/_core/src/umath/loops_trigonometric.dispatch.cpp
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      cc1plus: error: attribute ‘target’ argument ‘evex512’ is unknown
      [211/530] Generating 'numpy/_core/libloops_unary.dispatch.h_AVX2.a.p/loops.h'
      [212/530] Generating 'numpy/_core/libloops_unary.dispatch.h_AVX2.a.p/loops_utils.h'
      [213/530] Generating 'numpy/_core/libloops_unary.dispatch.h_AVX2.a.p/loops_unary.dispatch.c'
      [214/530] Compiling C++ object numpy/_core/libloops_trigonometric.dispatch.h_AVX2.a.p/src_umath_loops_trigonometric.dispatch.cpp.o
      [215/530] Compiling C object numpy/_core/libloops_modulo.dispatch.h_baseline.a.p/meson-generated_loops_modulo.dispatch.c.o
      [216/530] Compiling C object numpy/_core/libloops_arithm_fp.dispatch.h_baseline.a.p/meson-generated_loops_arithm_fp.dispatch.c.o
      [217/530] Compiling C object numpy/_core/libloops_logical.dispatch.h_AVX2.a.p/meson-generated_loops_logical.dispatch.c.o
      [218/530] Compiling C object numpy/_core/libloops_umath_fp.dispatch.h_baseline.a.p/meson-generated_loops_umath_fp.dispatch.c.o
      [219/530] Compiling C object numpy/_core/libloops_logical.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_logical.dispatch.c.o
      [220/530] Compiling C object numpy/_core/libloops_arithm_fp.dispatch.h_AVX2.a.p/meson-generated_loops_arithm_fp.dispatch.c.o
      [221/530] Compiling C object numpy/_core/libloops_unary.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_unary.dispatch.c.o
      [222/530] Compiling C object numpy/_core/libloops_unary.dispatch.h_baseline.a.p/meson-generated_loops_unary.dispatch.c.o
      [223/530] Compiling C object numpy/_core/libloops_umath_fp.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_umath_fp.dispatch.c.o
      [224/530] Compiling C object numpy/_core/libloops_comparison.dispatch.h_AVX2.a.p/meson-generated_loops_comparison.dispatch.c.o
      [225/530] Compiling C object numpy/_core/libloops_comparison.dispatch.h_baseline.a.p/meson-generated_loops_comparison.dispatch.c.o
      [226/530] Compiling C object numpy/_core/libloops_minmax.dispatch.h_AVX2.a.p/meson-generated_loops_minmax.dispatch.c.o
      [227/530] Compiling C object numpy/_core/libloops_minmax.dispatch.h_baseline.a.p/meson-generated_loops_minmax.dispatch.c.o
      [228/530] Compiling C object numpy/_core/libloops_minmax.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_minmax.dispatch.c.o
      [229/530] Compiling C object numpy/_core/libloops_comparison.dispatch.h_AVX512F.a.p/meson-generated_loops_comparison.dispatch.c.o
      [230/530] Compiling C object numpy/_core/libloops_comparison.dispatch.h_SSE42.a.p/meson-generated_loops_comparison.dispatch.c.o
      [231/530] Compiling C object numpy/_core/libloops_comparison.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_comparison.dispatch.c.o
      ninja: build stopped: subcommand failed.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
@seberg
Copy link
Member

seberg commented Jun 5, 2025

You are using a development version of GCC 16, and that runs into a highway issue that has been addressed there.

We should plan on back-porting a highway update to include google/highway#2563, though. It seems like a simple enough thing.

@seberg seberg changed the title Cannot compile numpy via pip on Linux Cannot compile numpy with GCC 16.0.0 (development version) Jun 5, 2025
@thesamesam
Copy link
Contributor

FWIW, I've been using the following:

https://github.com/google/highway/issues/2577
https://github.com/google/highway/commit/7cde540171a1718a9bdfa8f896d70e47eb0785d5
--- a/numpy/_core/src/highway/hwy/ops/set_macros-inl.h
+++ b/numpy/_core/src/highway/hwy/ops/set_macros-inl.h
@@ -141,7 +141,8 @@
 #define HWY_TARGET_STR_AVX2 \
   HWY_TARGET_STR_SSE4 ",avx,avx2" HWY_TARGET_STR_BMI2_FMA HWY_TARGET_STR_F16C
 
-#if HWY_COMPILER_GCC_ACTUAL >= 1400 || HWY_COMPILER_CLANG >= 1800
+#if (HWY_COMPILER_GCC_ACTUAL >= 1400 && HWY_COMPILER_GCC_ACTUAL < 1600) || \
+    HWY_COMPILER_CLANG >= 1800
 #define HWY_TARGET_STR_AVX3_VL512 ",evex512"
 #else
 #define HWY_TARGET_STR_AVX3_VL512

@seberg seberg added this to the 2.3.0 release milestone Jun 6, 2025
@seberg
Copy link
Member

seberg commented Jun 6, 2025

Yeah, not sure what's best. Just updating highway or applying the minimal patch. Also I doubt it is important to support 16.0 in the upcoming 2.3.0, but I guess we'll have to eventually within the 2.3.x time-span. @jan-wassenberg any opinion?

@charris charris modified the milestones: 2.3.0 release, 2.3.1 release Jun 6, 2025
@jan-wassenberg
Copy link
Contributor

hm. It's unclear when we will manage the next release. Seems like this minimal patch is a good way forward for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants