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
In the future, please provide more context when reporting an issue so we know what is going on. Digging into the log, this seems like a failure with Highway on some powerpc cpu
Details
highway_qsort_16bit.dispatch.cpp
In file included from ../numpy/_core/src/highway/hwy/highway.h:602,
from ../numpy/_core/src/npysort/highway_qsort.hpp:4,
from ../numpy/_core/src/npysort/highway_qsort_16bit.dispatch.cpp:1:
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h: In function ‘hwy::N_PPC8::VFromD<D> hwy::N_PPC8::PromoteTo(D, VFromD<typename D::Rebind<float> >)’:
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h:3713:33: error: there are no arguments to ‘__builtin_vsx_xvcvspsxds’ that depend on a template parameter, so a declaration of ‘__builtin_vsx_xvcvspsxds’ must be available [-Wtemplate-body]
3713 | return VFromD<decltype(di64)>{__builtin_vsx_xvcvspsxds(raw_v)};
| ^~~~~~~~~~~~~~~~~~~~~~~~
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h:3713:33: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h: In function ‘hwy::N_PPC8::VFromD<D> hwy::N_PPC8::PromoteTo(D, VFromD<typename D::Rebind<float> >)’:
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h:3727:7: error: there are no arguments to ‘__builtin_vsx_xvcvspuxds’ that depend on a template parameter, so a declaration of ‘__builtin_vsx_xvcvspuxds’ must be available [-Wtemplate-body]
3727 | __builtin_vsx_xvcvspuxds(raw_v))};
| ^~~~~~~~~~~~~~~~~~~~~~~~
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h: In function ‘hwy::N_PPC8::VFromD<D> hwy::N_PPC8::PromoteUpperTo(D, Vec128<float>)’:
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h:3837:33: error: there are no arguments to ‘__builtin_vsx_xvcvspsxds’ that depend on a template parameter, so a declaration of ‘__builtin_vsx_xvcvspsxds’ must be available [-Wtemplate-body]
3837 | return VFromD<decltype(di64)>{__builtin_vsx_xvcvspsxds(raw_v)};
| ^~~~~~~~~~~~~~~~~~~~~~~~
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h: In function ‘hwy::N_PPC8::VFromD<D> hwy::N_PPC8::PromoteUpperTo(D, Vec128<float>)’:
../numpy/_core/src/highway/hwy/ops/ppc_vsx-inl.h:3852:7: error: there are no arguments to ‘__builtin_vsx_xvcvspuxds’ that depend on a template parameter, so a declaration of ‘__builtin_vsx_xvcvspuxds’ must be available [-Wtemplate-body]
3852 | __builtin_vsx_xvcvspuxds(raw_v))};
It is being built with g++ (gcc 15.0.1 "g++ (GCC) 15.0.1 20250114 (Red Hat 15.0.1-0)") which doesn't have an official release yet and is still in development. @jan-wassenberg thoughts?
Activity
mattip commentedon Jan 23, 2025
In the future, please provide more context when reporting an issue so we know what is going on. Digging into the log, this seems like a failure with Highway on some powerpc cpu
Details
limburgher commentedon Jan 23, 2025
Noted. I wasn't sure what would be relevant. Happy to help testing patches.
r-devulap commentedon Jan 23, 2025
It is being built with g++ (gcc 15.0.1 "g++ (GCC) 15.0.1 20250114 (Red Hat 15.0.1-0)") which doesn't have an official release yet and is still in development. @jan-wassenberg thoughts?
r-devulap commentedon Jan 23, 2025
Never mind, looks like this was already resolved in google/highway#2443. Pulling in latest highway should fix this.
limburgher commentedon Jan 23, 2025
Thank you, that works!
jan-wassenberg commentedon Jan 24, 2025
👍 Yes indeed, it seems GCC removed an intrinsic. Not sure why that was considered desirable. We were able to work around it, so all good.