unix: use relaxed loads/stores for feature checks#2886
Merged
bnoordhuis merged 1 commit intolibuv:v1.xfrom Jun 16, 2020
Merged
Conversation
addaleax
approved these changes
Jun 12, 2020
vtjnash
approved these changes
Jun 12, 2020
Make ThreadSanitizer stop complaining about the static variables that libuv uses to record the presence (or lack) of system calls and other kernel features. Fixes: libuv#2884 PR-URL: libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Member
|
@bnoordhuis this change seems to cause build issues in the |
Member
Author
|
Mea culpa, I could swear the run was green when I last checked it. #2888 should fix it. |
bnoordhuis
added a commit
to bnoordhuis/libuv
that referenced
this pull request
Jun 18, 2020
`__atomic_load_n()` and friends were added in gcc 4.7.0 but we still have some centos6 machines with a vintage gcc 4.4.7 from 2012 in the CI matrix. PR-URL: libuv#2888 Refs: libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
|
@bnoordhuis It seems that when at some point you updated this PR you happened to revert the fixes to |
bnoordhuis
added a commit
that referenced
this pull request
Jul 10, 2020
This was part of commit c70dd70 ("unix: use relaxed loads/stores for feature checks") and was reviewed as such but I accidentally dropped it in the rebase before the final merge. Fixes: #2884 PR-URL: #2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
JeffroMF
pushed a commit
to JeffroMF/libuv
that referenced
this pull request
May 16, 2022
Make ThreadSanitizer stop complaining about the static variables that libuv uses to record the presence (or lack) of system calls and other kernel features. Fixes: libuv#2884 PR-URL: libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
JeffroMF
pushed a commit
to JeffroMF/libuv
that referenced
this pull request
May 16, 2022
`__atomic_load_n()` and friends were added in gcc 4.7.0 but we still have some centos6 machines with a vintage gcc 4.4.7 from 2012 in the CI matrix. PR-URL: libuv#2888 Refs: libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
JeffroMF
pushed a commit
to JeffroMF/libuv
that referenced
this pull request
May 16, 2022
This was part of commit c70dd70 ("unix: use relaxed loads/stores for feature checks") and was reviewed as such but I accidentally dropped it in the rebase before the final merge. Fixes: libuv#2884 PR-URL: libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
liujinye-sys
pushed a commit
to open-vela/apps_system_libuv
that referenced
this pull request
Jul 23, 2025
Make ThreadSanitizer stop complaining about the static variables that libuv uses to record the presence (or lack) of system calls and other kernel features. Fixes: libuv/libuv#2884 PR-URL: libuv/libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
liujinye-sys
pushed a commit
to open-vela/apps_system_libuv
that referenced
this pull request
Jul 23, 2025
`__atomic_load_n()` and friends were added in gcc 4.7.0 but we still have some centos6 machines with a vintage gcc 4.4.7 from 2012 in the CI matrix. PR-URL: libuv/libuv#2888 Refs: libuv/libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
liujinye-sys
pushed a commit
to open-vela/apps_system_libuv
that referenced
this pull request
Jul 23, 2025
This was part of commit c70dd70 ("unix: use relaxed loads/stores for feature checks") and was reviewed as such but I accidentally dropped it in the rebase before the final merge. Fixes: libuv/libuv#2884 PR-URL: libuv/libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
liujinye-sys
pushed a commit
to open-vela/apps_system_libuv
that referenced
this pull request
Dec 16, 2025
Make ThreadSanitizer stop complaining about the static variables that libuv uses to record the presence (or lack) of system calls and other kernel features. Fixes: libuv/libuv#2884 PR-URL: libuv/libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
liujinye-sys
pushed a commit
to open-vela/apps_system_libuv
that referenced
this pull request
Dec 16, 2025
`__atomic_load_n()` and friends were added in gcc 4.7.0 but we still have some centos6 machines with a vintage gcc 4.4.7 from 2012 in the CI matrix. PR-URL: libuv/libuv#2888 Refs: libuv/libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
liujinye-sys
pushed a commit
to open-vela/apps_system_libuv
that referenced
this pull request
Dec 16, 2025
This was part of commit c70dd70 ("unix: use relaxed loads/stores for feature checks") and was reviewed as such but I accidentally dropped it in the rebase before the final merge. Fixes: libuv/libuv#2884 PR-URL: libuv/libuv#2886 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make ThreadSanitizer stop complaining about the static variables that
libuv uses to record the presence (or lack) of system calls and other
kernel features.
Fixes: #2884
CI: https://ci.nodejs.org/job/libuv-test-commit/1933/CI: https://ci.nodejs.org/job/libuv-test-commit/1934/