-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
C11 thread check is not working with glibc 2.28 #2220
Comments
Interesting, do you know of a docker image with glibc 2.28? |
Ubuntu 18.10 (Cosmic) seems to be shipping glibc 2.28: https://packages.ubuntu.com/cosmic/libc6 |
@edenhill Were you able to reproduce the issue? |
I am also having the same error on Manjaro |
edenhill
added a commit
that referenced
this issue
Mar 4, 2019
edenhill
added a commit
that referenced
this issue
Mar 4, 2019
edenhill
added a commit
that referenced
this issue
Mar 4, 2019
edenhill
added a commit
that referenced
this issue
Mar 4, 2019
edenhill
added a commit
that referenced
this issue
Mar 5, 2019
edenhill
added a commit
that referenced
this issue
Mar 5, 2019
edenhill
added a commit
that referenced
this issue
Mar 7, 2019
edenhill
added a commit
that referenced
this issue
Mar 7, 2019
edenhill
added a commit
that referenced
this issue
Mar 7, 2019
This will be fixed in the upcoming v1.0.0 release. |
edenhill
added a commit
that referenced
this issue
Mar 11, 2019
edenhill
added a commit
that referenced
this issue
Mar 11, 2019
edenhill
added a commit
that referenced
this issue
Mar 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Glibc version 2.28 added support for C11 threads (see the release notes: https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html).
But the check for C11 threads in configure.librdkafka (https://github.com/edenhill/librdkafka/blob/master/configure.librdkafka#L46) does not seem to
detect the C11 threads support on systems using glibc >= 2.28, because the link option
-lpthread
is not used for the check.I suspect that this leads to similar problems as #1998.
How to reproduce
On a system with glibc >= 2.28 (e.g. Arch Linux):
WITH_C11THREADS
is not defined inconfig.h
, which leads to tinycthread being compiled without C11 thread support.Checklist
Please provide the following information:
v0.11.1
Arch Linux (x86_64)
The text was updated successfully, but these errors were encountered: