[MacPorts] #71256: py-numpy at 1.26.4_1: error: use of undeclared identifier '_kxor_mask8' (was: py311-numpy, py312-numpy at 1.26.4_1: error: use of undeclared identifier '_kxor_mask8')

MacPorts noreply at macports.org
Thu Nov 7 06:58:53 UTC 2024


#71256: py-numpy at 1.26.4_1: error: use of undeclared identifier '_kxor_mask8'
---------------------------+------------------------
  Reporter:  sambthompson  |      Owner:  reneeotten
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.4
Resolution:                |   Keywords:  mojave
      Port:  py-numpy      |
---------------------------+------------------------
Changes (by sambthompson):

 * port:  py311-numpy, py312-numpy => py-numpy


Old description:

> Build failures on 10.14.6 for
> [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/222377
> py311-numpy] and
> [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/222379
> py312-numpy]:
>
> {{{
> In file included from
> ../numpy/core/src/npysort/simd_qsort.dispatch.cpp:12:
> In file included from ../numpy/core/src/npysort/x86-simd-sort/src/avx512
> -64bit-qsort.hpp:10:
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:56:16:
> error: use of undeclared identifier '_kxor_mask8'
>         return _kxor_mask8(x, y);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:60:16:
> error: use of undeclared identifier '_knot_mask8'
>         return _knot_mask8(x);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:196:16:
> error: use of undeclared identifier '_kxor_mask8'
>         return _kxor_mask8(x, y);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:200:16:
> error: use of undeclared identifier '_knot_mask8'
>         return _knot_mask8(x);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:325:16:
> error: use of undeclared identifier '_kxor_mask8'
>         return _kxor_mask8(x, y);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:329:16:
> error: use of undeclared identifier '_knot_mask8'
>         return _knot_mask8(x);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:455:16:
> error: use of undeclared identifier '_kxor_mask8'
>         return _kxor_mask8(x, y);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:459:16:
> error: use of undeclared identifier '_knot_mask8'
>         return _knot_mask8(x);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:590:16:
> error: use of undeclared identifier '_knot_mask8'
>         return _knot_mask8(x);
>                ^
> ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:696:16:
> error: use of undeclared identifier '_knot_mask8'
>         return _knot_mask8(x);
>                ^
> }}}
>
> Assume it's related to recently landed [https://github.com/macports
> /macports-ports/pull/26408 PR 26408] which has removed the compiler
> blacklisting `compiler.blacklist-append {clang < 1100}`?

New description:

 Build failures on 10.14.6 for
 [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/222377
 py311-numpy] and
 [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/222379
 py312-numpy] (for example, other subports show same error on 10.14.6):

 {{{
 In file included from
 ../numpy/core/src/npysort/simd_qsort.dispatch.cpp:12:
 In file included from ../numpy/core/src/npysort/x86-simd-sort/src/avx512
 -64bit-qsort.hpp:10:
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:56:16:
 error: use of undeclared identifier '_kxor_mask8'
         return _kxor_mask8(x, y);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:60:16:
 error: use of undeclared identifier '_knot_mask8'
         return _knot_mask8(x);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:196:16:
 error: use of undeclared identifier '_kxor_mask8'
         return _kxor_mask8(x, y);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:200:16:
 error: use of undeclared identifier '_knot_mask8'
         return _knot_mask8(x);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:325:16:
 error: use of undeclared identifier '_kxor_mask8'
         return _kxor_mask8(x, y);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:329:16:
 error: use of undeclared identifier '_knot_mask8'
         return _knot_mask8(x);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:455:16:
 error: use of undeclared identifier '_kxor_mask8'
         return _kxor_mask8(x, y);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:459:16:
 error: use of undeclared identifier '_knot_mask8'
         return _knot_mask8(x);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:590:16:
 error: use of undeclared identifier '_knot_mask8'
         return _knot_mask8(x);
                ^
 ../numpy/core/src/npysort/x86-simd-sort/src/avx512-64bit-common.h:696:16:
 error: use of undeclared identifier '_knot_mask8'
         return _knot_mask8(x);
                ^
 }}}

 Assume it's related to recently landed [https://github.com/macports
 /macports-ports/pull/26408 PR 26408] which has removed the compiler
 blacklisting `compiler.blacklist-append {clang < 1100}`?

 EDIT: OK, it affects all py-numpy subports.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/71256#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list