Repository navigation
nodejs v14.6.0 error while compiling #34478
Copy link
Copy link
Closed
Labels
zlibIssues and PRs related to the zlib module and its compression dependencies.Issues and PRs related to the zlib module and its compression dependencies.
Description
I been trying to build nodejs for 3 days now haha
here's the output
../deps/zlib/contrib/optimizations/chunkcopy.h:52:5: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
const unsigned char FAR* s) {
^
cc -o /root/node-v14.6.0/out/Release/obj.target/zlib/deps/zlib/contrib/optimizations/inflate.o ../deps/zlib/contrib/optimizations/inflate.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DHAVE_HIDDEN' '-DADLER32_SIMD_SSSE3' '-DINFLATE_CHUNK_SIMD_SSE2' '-DCRC32_SIMD_SSE42_PCLMUL' -I../deps/zlib -pthread -Wall -Wextra -Wno-unused-parameter -m32 -O3 -fno-omit-frame-pointer -MMD -MF /root/node-v14.6.0/out/Release/.deps//root/node-v14.6.0/out/Release/obj.target/zlib/deps/zlib/contrib/optimizations/inflate.o.d.raw -c
In file included from ../deps/zlib/contrib/optimizations/chunkcopy.h:32:0,
from ../deps/zlib/contrib/optimizations/inffast_chunk.c:10:
../deps/zlib/contrib/optimizations/chunkcopy.h: In function 'v_load64_dup':
/usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:625:1: error: inlining failed in call to always_inline '_mm_set1_epi64x': target specific option mismatch
_mm_set1_epi64x (long long __A)
^
In file included from ../deps/zlib/contrib/optimizations/inffast_chunk.c:10:0:
../deps/zlib/contrib/optimizations/chunkcopy.h:215:10: error: called from here
return _mm_set1_epi64x(i64);
^
deps/zlib/zlib.target.mk:109: recipe for target '/root/node-v14.6.0/out/Release/obj.target/zlib/deps/zlib/contrib/optimizations/inffast_chunk.o' failed
make[1]: *** [/root/node-v14.6.0/out/Release/obj.target/zlib/deps/zlib/contrib/optimizations/inffast_chunk.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../deps/zlib/contrib/optimizations/inflate.c:87:0:
../deps/zlib/contrib/optimizations/chunkcopy.h: In function 'loadchunk':
../deps/zlib/contrib/optimizations/chunkcopy.h:52:5: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
const unsigned char FAR* s) {
^
In file included from ../deps/zlib/contrib/optimizations/chunkcopy.h:32:0,
from ../deps/zlib/contrib/optimizations/inflate.c:87:
../deps/zlib/contrib/optimizations/chunkcopy.h: In function 'v_load64_dup':
/usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:625:1: error: inlining failed in call to always_inline '_mm_set1_epi64x': target specific option mismatch
_mm_set1_epi64x (long long __A)
^
In file included from ../deps/zlib/contrib/optimizations/inflate.c:87:0:
../deps/zlib/contrib/optimizations/chunkcopy.h:215:10: error: called from here
return _mm_set1_epi64x(i64);
^
deps/zlib/zlib.target.mk:109: recipe for target '/root/node-v14.6.0/out/Release/obj.target/zlib/deps/zlib/contrib/optimizations/inflate.o' failed
make[1]: *** [/root/node-v14.6.0/out/Release/obj.target/zlib/deps/zlib/contrib/optimizations/inflate.o] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
zlibIssues and PRs related to the zlib module and its compression dependencies.Issues and PRs related to the zlib module and its compression dependencies.
Activity
richardlau commentedon Jul 22, 2020
What OS/arch are you compiling for? You could try to see if #33044 makes a difference.
seisdr commentedon Jul 22, 2020
32bit i386
ubuntu
richardlau commentedon Jul 22, 2020
I think this is a duplicate of #33019.
seisdr commentedon Jul 22, 2020
do I need to compile it again
seisdr commentedon Jul 22, 2020
as #33019 (comment)
seisdr commentedon Jul 22, 2020
I just want to download dependencies of project it failed so I'm guessing I'm need to download least version of nodejs or I don't need? it gonna a long time to compile anyway
here's the error output
seisdr commentedon Jul 22, 2020
aduh95 commentedon Aug 8, 2020
@seisdr the last two console dump have very little to do with the original issue, it shows you are using Node.js v8.17.0; Node.js v8.x support has ended last year, if you want assistance you should be using a more recent version (list of currently supported versions can be found in the CHANGELOG).
Regarding the original issue, since the subject is already covered by #33019, you can close this one and continue the discussion over there. If you need assistance rather than report a technical issue, please open a new issue over at nodejs/help.
bnoordhuis commentedon Aug 17, 2020
I'll close this per the previous comment (thanks @aduh95.)
redouaane commentedon Mar 23, 2022
try {} catch {}
^
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Object. ([eval]-wrapper:6:22)
at Module._compile (module.js:653:30)
at evalScript (bootstrap_node.js:479:27)
at startup (bootstrap_node.js:180:9)
at bootstrap_node.js:625:3
redouaane commentedon Mar 23, 2022
i have this issue when i type in my terminal node -e "try {} catch {}"