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
Linux ubuntu 4.4.0-236-generic #270-Ubuntu SMP Tue Jan 3 13:23:53 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
GNU Make
What steps will reproduce the bug?
make -j4
How often does it reproduce? Is there a required condition?
All run generate this error.
What is the expected behavior?
Expected behavior is a build without error.
What do you see instead?
/tmp/cc0wYHmF.s:51797: Error: no such instruction: `vpcompressb %zmm12,%zmm18{%k7}{z}'
deps/simdutf/simdutf.target.mk:87: recipe for target '/home/user/node-v19.6.0/out/Release/obj.target/simdutf/deps/simdutf/simdutf.o' failed
make[1]: *** [/home/user/node-v19.6.0/out/Release/obj.target/simdutf/deps/simdutf/simdutf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:134: recipe for target 'node' failed
make: *** [node] Error 2
Additional information
Unix prerequisites are fit with requirements:
Linux: Ubuntu 16.04.7 LTS (kernel: 4.4.0-236-generic)
gcc --version: gcc 9.4.0
g++ --version: g++ 9.4.0
make --version: GNU Make 4.1
python3 --version: Python 3.9.4
You need to update your toolchain, your copy of binutils (gas in particular) is too old.
Btw, the binary its not named " gas " but " as " and caused so much confusion for me when installed recent binutils and the moment I symlinked to newer " as " n /usr/bin, all these errors gone away. Just in case someone will be going through what I have gone through. It might save you hours to days of analysing.
Activity
bnoordhuis commentedon Feb 5, 2023
You need to update your toolchain, your copy of binutils (gas in particular) is too old.
bhevesi commentedon Feb 5, 2023
Thanks Ben!
Sinan81 commentedon Apr 25, 2024
using binutils@2.41, still getting this error.
Sinan81 commentedon Apr 25, 2024
no avx2 on the build machine. Could that be a problem?
InputOutputZ commentedon Jan 26, 2025
Btw, the binary its not named " gas " but " as " and caused so much confusion for me when installed recent binutils and the moment I symlinked to newer " as " n /usr/bin, all these errors gone away. Just in case someone will be going through what I have gone through. It might save you hours to days of analysing.
Sinan81 commentedon Jan 26, 2025
FYI it seems I fixed this issue by building node-js with
binutils+gasI put together an MR while ago which hasn't been merged yet.
spack/spack#43683