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

Node 6.11.0 does not build for arm7 #14124

Closed
davidchappelle opened this issue Jul 7, 2017 · 5 comments
Closed

Node 6.11.0 does not build for arm7 #14124

davidchappelle opened this issue Jul 7, 2017 · 5 comments
Labels
arm Issues and PRs related to the ARM platform. build Issues and PRs related to build files or the CI.

Comments

@davidchappelle
Copy link

davidchappelle commented Jul 7, 2017

Here is the patch that I have to get it building.

diff --git a/deps/v8/build/toolchain.gypi b/deps/v8/build/toolchain.gypi
index faecf8e..17281cb 100644
--- a/deps/v8/build/toolchain.gypi
+++ b/deps/v8/build/toolchain.gypi
@@ -1011,8 +1011,8 @@
                     'cflags': [ '-m31' ],
                     'ldflags': [ '-m31' ]
                   },{
-                   'cflags': [ '-m32' ],
-                   'ldflags': [ '-m32' ]
+                   'cflags': [ '' ],
+                   'ldflags': [ '' ]
                   }],
                 ],
               }],

Basically removing the -m32 flag from toolchain.gypi. I am not a gyp ninja so I not sure what the correct patch is. Likely some additional conditional check to avoid this option if the target arch is arm.

@davidchappelle davidchappelle changed the title Node 6.11.0 does not build properly for arm7 Node 6.11.0 does not build for arm7 Jul 7, 2017
@Trott
Copy link
Member

Trott commented Jul 7, 2017

@nodejs/build @nodejs/platform-arm

@mscdex mscdex added arm Issues and PRs related to the ARM platform. build Issues and PRs related to build files or the CI. v6.x labels Jul 7, 2017
@MylesBorins
Copy link
Contributor

Does v6.10.3 build fine?

This patch is landing directly on V8... is there a fix upstream?

/cc @nodejs/v8

@bnoordhuis
Copy link
Member

Back-linking to #14112, #14112 (comment) in particular. Most likely a cross-compile toolchain issue, not a bug in V8's build scripts.

@MylesBorins
Copy link
Contributor

@bnoordhuis can we close this then or is there something actionable?

@bnoordhuis
Copy link
Member

Nothing actionable unless @davidchappelle came to a different conclusion. Pending follow-up, I'll close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm Issues and PRs related to the ARM platform. build Issues and PRs related to build files or the CI.
Projects
None yet
Development

No branches or pull requests

5 participants