Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC make: SSE4.1 instruction set not enabled #36678

Closed
d-mozulyov opened this issue Dec 29, 2020 · 5 comments
Closed

GCC make: SSE4.1 instruction set not enabled #36678

d-mozulyov opened this issue Dec 29, 2020 · 5 comments
Labels
build Issues and PRs related to build files or the CI.

Comments

@d-mozulyov
Copy link

  • Version: master 16.0.0 (pre)
  • Platform: CentOS7
  • Subsystem:

What steps will reproduce the bug?

I'm trying to compile under CentOS 7 on the GCC compiler (tried 7 and 9.2), according to the official instructions:

$ ./configure
$ make -j4

What do you see instead?

  cc -o /home/osboxes/Public/ultra-power/node/out/Release/obj.target/zlib/deps/zlib/inftrees.o ../deps/zlib/inftrees.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' '-DINFLATE_CHUNK_READ_64LE' -I../deps/zlib  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer  -MMD -MF /home/osboxes/Public/ultra-power/node/out/Release/.deps//home/osboxes/Public/ultra-power/node/out/Release/obj.target/zlib/deps/zlib/inftrees.o.d.raw   -c
In file included from ../deps/zlib/contrib/optimizations/insert_string.h:19:0,
                 from ../deps/zlib/deflate.c:54:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/smmintrin.h:31:3: ошибка: #error "SSE4.1 instruction set not enabled"
 # error "SSE4.1 instruction set not enabled"
@PoojaDurgad PoojaDurgad added the build Issues and PRs related to build files or the CI. label Dec 30, 2020
@PoojaDurgad
Copy link
Contributor

duplicate of vgteam/vg#99

@d-mozulyov
Copy link
Author

duplicate of vgteam/vg#99

Hello

Yes, I saw this information
But it's not entirely clear to me what exactly in Node I should change
Tell me please

@targos
Copy link
Member

targos commented Dec 30, 2020

Are you sure about the GCC version that you tried? In the error it seems to indicate that you are using GCC 4.8.5 (which is not supported by Node.js)

@d-mozulyov
Copy link
Author

Are you sure about the GCC version that you tried? In the error it seems to indicate that you are using GCC 4.8.5 (which is not supported by Node.js)

Yep
I'm sure

RaisinTen added a commit to RaisinTen/node that referenced this issue Dec 31, 2020
RaisinTen added a commit to RaisinTen/node that referenced this issue Jan 1, 2021
@RaisinTen
Copy link
Contributor

Closing this as the issue was solved in the discussions under the PR: #36693

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants