◐ Shell
clean mode source ↗

deps/v8/highway fails to build on ppc64el

Version

24.11.1

Platform

6.17.10+deb14-amd64
debian 14/sid

Subsystem

v8

What steps will reproduce the bug?

Build on ppc64el

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior? Why is that the expected behavior?

To build on that architecture. Nodejs has a long history of being perfectly buildable on ppc64el on debian.

What do you see instead?

In file included from ../deps/v8/third_party/highway/src/hwy/highway.h:586,
                 from ../deps/v8/third_party/highway/src/hwy/per_target.cc:28,
                 from ../deps/v8/third_party/highway/src/hwy/foreach_target.h:266,
                 from ../deps/v8/third_party/highway/src/hwy/per_target.cc:27:
../deps/v8/third_party/highway/src/hwy/ops/ppc_vsx-inl.h: In function ‘hwy::N_PPC9::VFromD<D> hwy::N_PPC9::PromoteTo(D, VFromD<typename D::Rebind<float> >)’:
../deps/v8/third_party/highway/src/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)};

Additional information

Full build available here: https://debusine.debian.net/debian/developers/artifact/2863118/