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

[API common] undefined reference to __builtin_ia32_pause when using Intel Compilers #1771

Closed
gabswb opened this issue Nov 15, 2022 · 1 comment · Fixed by #1885
Closed

[API common] undefined reference to __builtin_ia32_pause when using Intel Compilers #1771

gabswb opened this issue Nov 15, 2022 · 1 comment · Fixed by #1885
Labels
bug Something isn't working

Comments

@gabswb
Copy link
Contributor

gabswb commented Nov 15, 2022

Describe your environment
C Compiler : icc version 19.0.3.199 (gcc version 9.3.1 compatibility)
C++ Compiler : icpc version 19.0.3.199 (gcc version 9.3.1 compatibility)

I am getting an undefined reference to __builtin_ia32_pause from common::SpinLockMutex.

It seems that the Intel C++ compiler can't link the GCC built-in function __builtin_ia32_pause.

@gabswb gabswb added the bug Something isn't working label Nov 15, 2022
@marcalff
Copy link
Member

Possibly relevant:

curl/curl#9081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants