Skip to content
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

v8: fix compilation on PPC64 when libc musl is used instead of glibc #12081

Closed
wants to merge 1 commit into from

Conversation

gromero
Copy link

@gromero gromero commented Mar 27, 2017

Musl on Power does not define regs member as a pt_regs pointer
type, hence it's necessary to use member gp_regs instead.

Affected core subsystem(s)

v8 profiler sampler. It fails to build breaking compilation on ppc64le + musl

@nodejs-github-bot nodejs-github-bot added the v8 engine Issues and PRs related to the V8 dependency. label Mar 27, 2017
Musl on Power does not define regs member as a pt_regs pointer
type, hence it's necessary to use member gp_regs instead.
@gromero gromero changed the title Fix compilation on PPC64 when libc musl is used instead of glibc v8: fix compilation on PPC64 when libc musl is used instead of glibc Mar 27, 2017
@mscdex
Copy link
Contributor

mscdex commented Mar 27, 2017

Is this upstreamed in V8?

@mscdex mscdex added ppc Issues and PRs related to the Power architecture. build Issues and PRs related to build files or the CI. labels Mar 27, 2017
@bnoordhuis
Copy link
Member

Closing, no follow-up.

@bnoordhuis bnoordhuis closed this Aug 17, 2017
@gromero
Copy link
Author

gromero commented Aug 18, 2017

Really sorry for not being able to follow up this. @rgdoliveira kindly already submitted the patch to v8 and it's currently under review: https://chromium-review.googlesource.com/c/602327 @bnoordhuis do you mind to re-open that issue given the current facts? Thank you in advance. Regards.

@bnoordhuis
Copy link
Member

@gromero It would be better to open a new pull request that cherry-picks the patch after it has been merged upstreamed and has baked there for a few days. See e.g. #14913 or #14608.

@gibfahn
Copy link
Member

gibfahn commented Aug 19, 2017

@gromero
Copy link
Author

gromero commented Aug 21, 2017

@bnoordhuis @gibfahn Sure. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. ppc Issues and PRs related to the Power architecture. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants