Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Cannot build node on Sheevaplug (armv5t) with Debian squeeze #1386

Closed
tirithen opened this issue Jul 22, 2011 · 5 comments
Closed

Cannot build node on Sheevaplug (armv5t) with Debian squeeze #1386

tirithen opened this issue Jul 22, 2011 · 5 comments

Comments

@tirithen
Copy link

I have now tried several ways of building node (version 0.5.1) on/for a Sheevaplug (armv5t) running Debian (version 6.0.2) squeeze but always ends up with...
$ node
Illegal instruction
... in all cases where ever I could get it to compile.

I have tried to follow several guides (even in various combinations):

Now I feel stuck, several people seem to have succeeded in building node for armv5t but maybe it's different for different versions of node and v8.

How can I continiue trying? I will happily test any suggestions.

@bnoordhuis
Copy link
Member

Two things you can try:

  • Hook up a debug build (./configure --debug) to gdb and check where the SIGILL comes from
  • cd deps/v8 && scons mode=debug snapshot=on|off sample=shell arch=your-arch and check if shell_g runs

@tirithen
Copy link
Author

Thanks for the tip, I managed to solve it for now by using stable release of node 0.4.10 and adding -march=armv5t to deps/v8/SConstruct ~line 139 as described http://code.google.com/p/v8/issues/detail?id=836

I also made a step by step guide at stackoverflow http://stackoverflow.com/questions/6788768/cannot-build-node-on-sheevaplug-armv5t-with-debian-squeeze/6790823#6790823

@jurriaan
Copy link

using an older version of node isn't a fix, any progress on this? (is it possible to use later versions on the Sheevaplug?)

@bnoordhuis
Copy link
Member

@jurriaan: Follow #2131 if you want status updates.

@jurriaan
Copy link

tnx, I will!

lyonplus pushed a commit to lyonplus/node that referenced this issue May 22, 2015
PR-URL: nodejs/node#1679

Notable Changes:

* win,node-gyp: the delay-load hook for windows addons has now been
correctly enabled by default, it had wrongly defaulted to off in the
release version of 2.0.0 (Bert Belder) nodejs#1433
* os: tmpdir()'s trailing slash stripping has been refined to fix an
issue when the temp directory is at '/'. Also considers which slash is
used by the operating system. (cjihrig) nodejs#1673
* tls: default ciphers have been updated to use gcm and aes128 (Mike
MacCana) nodejs#1660
* build: v8 snapshots have been re-enabled by default as suggested by
the v8 team, since prior security issues have been resolved. This
should give some perf improvements to both startup and vm context
creation. (Trevor Norris) nodejs#1663
* src: fixed preload modules not working when other flags were used
before --require (Yosuke Furukawa) nodejs#1694
* dgram: fixed send()'s callback not being asynchronous (Yosuke
Furukawa) nodejs#1313
* readline: emitKeys now keeps buffering data until it has enough to
parse. This fixes an issue with parsing split escapes. (Alex Kocharin)
* cluster: works now properly emit 'disconnect' to cluser.worker (Oleg
Elifantiev) nodejs#1386
events: uncaught errors now provide some context (Evan Lucas) nodejs#1654
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants