Skip to content

Conversation

@bnoordhuis
Copy link
Member

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

@bnoordhuisbnoordhuis added the c++ Issues and PRs that require attention from people who are familiar with C++. label Aug 28, 2016
@cjihrig
Copy link
Contributor

LGTM

@jbergstroem
Copy link
Member

jbergstroem commented Aug 28, 2016

CI: https://ci.nodejs.org/job/node-test-commit/4810/
Additional test against musl: https://ci.nodejs.org/job/node-test-commit-jbergstroem-alpine34/11/ (execinfo doesn't exist on musl either)

@jasnell
Copy link
Member

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 <[email protected]> Reviewed-By: James M Snell <[email protected]>
@bnoordhuisbnoordhuis deleted the fix8233 branch September 5, 2016 08:23
@bnoordhuisbnoordhuis merged commit a290ddf into nodejs:masterSep 5, 2016
@Fishrock123Fishrock123 mentioned this pull request Sep 6, 2016
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Sep 8, 2016
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 <[email protected]> Reviewed-By: James M Snell <[email protected]>
Fishrock123 pushed a commit that referenced this pull request Sep 9, 2016
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 <[email protected]> Reviewed-By: James M Snell <[email protected]>
@MylesBorins
Copy link
Contributor

@bnoordhuis backport to v4?

@bnoordhuis
Copy link
MemberAuthor

Yes.

@MylesBorins
Copy link
Contributor

@bnoordhuissrc/backtrace_posix.cc does not exist on v4.x. The source also does not appear to be present. Am I missing something?

@bnoordhuis
Copy link
MemberAuthor

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.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++Issues and PRs that require attention from people who are familiar with C++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@bnoordhuis@cjihrig@jbergstroem@jasnell@MylesBorins