Closed sokovykh closed 8 years ago
Can I run node.js on ppc32 ?
Although we don't build it on PPC32 I think it still works if you build it yourself. However your issue is more likely to be that the V8 is built with instructions that require power5+ so it won't support anything that old unfortunately.
So... needed power5+ instructions isn't supported by PowerPC 440ep or PowerPC e300c3. Do I understant you correctly? or can I build V8 without instructions that require power5+ ?
Believe the issue will be that your processor does not support the required instructions. See https://github.com/ibmruntimes/v8ppc/issues/100 for more details.
@zzzlodey I believe so. While I'm not an expert on that generation of chips, from looking around the e300 seems to be a modified PowerPC603e core, and the 440ep is also based on the older PowerPC cores, so won't have the required POWER5+ instructions available.
@sxa555 @mhdawson this is very sad news :-( Andrew Low wrote that we can build V8 in special simulation mode, may it can help?
Yes - simulation mode will work --- but it will be very very slow.
This issue should be closed (but I'll leave that up to @mhdawson). It is not a Node.js issue - but a problem in the v8 dependency. There are already a number of open issues documenting the problem AND paths to a solution.
It is possible to enhance the code to support older / variations of the PowerPC specification, but so far no one has come forward with the skills or the business case motivation to do so.
@andrewlow Thanks Andrew! I'm going to try simulation mode...
Closing, please re-open if you feel it should still be open.
I can't run node.js on PowerPC 440EP, I get only error "Illegal instruction".
Hardware info:
Software info:
I'm using powerpc-440-linux-gnu compiler (version 5.2.0) and Linux v3.6.7.
I tried to use different versions of sources:
I'm using the following script for build of node.js: