-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
src: unbreak build when compiling against uclibc #8308
Conversation
LGTM |
CI: https://ci.nodejs.org/job/node-test-commit/4810/ |
LGTM |
It seems that it is possible with some toolchains for both `__GLIBC__` and `__UCLIBC__` to be defined, confusing our "do we have execinfo.h?" logic. Assume that when `__UCLIBC__` is defined, we are dealing with a libc that does not have execinfo.h. Fixes: nodejs#8233 PR-URL: nodejs#8308 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
It seems that it is possible with some toolchains for both `__GLIBC__` and `__UCLIBC__` to be defined, confusing our "do we have execinfo.h?" logic. Assume that when `__UCLIBC__` is defined, we are dealing with a libc that does not have execinfo.h. Fixes: nodejs#8233 PR-URL: nodejs#8308 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
It seems that it is possible with some toolchains for both `__GLIBC__` and `__UCLIBC__` to be defined, confusing our "do we have execinfo.h?" logic. Assume that when `__UCLIBC__` is defined, we are dealing with a libc that does not have execinfo.h. Fixes: #8233 PR-URL: #8308 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
@bnoordhuis backport to v4? |
Yes. |
@bnoordhuis |
Sorry, it depends on #6734 which is tagged but not back-ported yet. I don't know if or when I'll get around to that. |
It seems that it is possible with some toolchains for both
__GLIBC__
and
__UCLIBC__
to be defined, confusing our "do we have execinfo.h?"logic.
Assume that when
__UCLIBC__
is defined, we are dealing with a libcthat does not have execinfo.h.
Fixes: #8233