-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
should FOLLY_HAVE_PTHREAD_ATFORK should be defined for linux by default? #124
Comments
Yea, something seems wrong with the configure script that tries to detect this |
i can confirm it. Happens also on latest arch linux (as a result make check fails on ThreadLocalTest). Seems that the presence of pthread_at_fork is tested without linking in pthread. |
I already fixed configure script for this issue. |
pull request #125 has been merged. I verified it work with latest Arch Linux (it used to fail before). |
Summary: X-link: facebook/fboss#124 X-link: facebookincubator/reindeer#6 X-link: facebook/sapling#497 X-link: facebook/mvfst#284 X-link: facebook/wangle#212 X-link: facebookincubator/velox#3785 X-link: facebookexperimental/rust-shed#37 X-link: facebook/hhvm#9317 X-link: facebookexperimental/edencommon#6 X-link: facebookincubator/hsthrift#108 X-link: facebook/proxygen#436 X-link: facebookincubator/katran#183 X-link: facebook/openr#143 X-link: facebook/fbthrift#536 X-link: facebook/fb303#33 Pull Request resolved: #1924 FBOSS OSS on-diff job is failing due to random test failures. Disabling the tests for now to avoid build breakages. Reviewed By: shri-khare Differential Revision: D42550176 fbshipit-source-id: a40a4d39c2176e4a201f6c49c6e7837c4c7c90e5
Folly version 23 (i just download this today)
/usr/local/include/folly/detail/ThreadLocalDetail.h:221:6: error: pthread_atfork unavailable [-Werror,-W#warnings]
Here is the man pages for the default linux pthread installation.
https://gist.github.com/senior7515/88c40a7c007595603531
maybe i'm missing something?
The text was updated successfully, but these errors were encountered: