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
stress-pthread.c fails to compile with recent glibc versions #136
Comments
Using STRESS_MAXIMUM in all cases seems like the right way forward e.g.
This allows the value to be non-constant and determined dynamically by the kernel at runtime depending on the hardware. |
I've pushed a change that adds a pthread stack size helper. Please pull this change and see if it helps. |
Commit f839de2 allowed Side note: I ran into a new issue with
|
See issue #137 |
A recent glibc commit changed the definition of
PTHREAD_STACK_MIN
:http://sourceware.org/git/?p=glibc.git;a=commit;h=aaacde11f2e814814fdd19dfb683e76f1dede4d5
And now stress-pthread.c fails to compile on Fedora Rawhide with glibc-2.33.9000-43.fc35. gcc gives an error message:
stress-ng will need to be updated for the new definition of
PTHREAD_STACK_MIN
.More info:
https://gitlab.com/cki-project/kernel-tests/-/issues/613
The text was updated successfully, but these errors were encountered: