-
Notifications
You must be signed in to change notification settings - Fork 30k
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
__atomic_is_lock_free
undefined on clang
#28231
Labels
c++
Issues and PRs that require attention from people who are familiar with C++.
Comments
this appears to fix it, is this correct? diff --git a/node.gyp b/node.gyp
index 56377d6a0c..7913599e4e 100644
--- a/node.gyp
+++ b/node.gyp
@@ -289,6 +289,9 @@
'-Wl,-bnoerrmsg',
],
}],
+ ['OS=="linux" or OS=="mac"', {
+ 'libraries': ['-latomic'],
+ }],
],
}, |
addaleax
added
the
c++
Issues and PRs that require attention from people who are familiar with C++.
label
Jun 14, 2019
devsnek
added a commit
that referenced
this issue
Jun 14, 2019
2 tasks
devsnek
added a commit
that referenced
this issue
Jun 18, 2019
devsnek
changed the title
Jun 18, 2019
__atomic_is_lock_free
undefined__atomic_is_lock_free
undefined on clang
4 tasks
I just stumbled into this exact issue as well, the PR that fixes this issue did not work for me, removing Kernel: 5.18.0-14parrot1-amd64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cc @addaleax
i'm on debian+wsl
update: adding
-latomic
fixes this, but i'm not sure where to put that within our build tooling.The text was updated successfully, but these errors were encountered: