-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Error ONLY when running babel task on arm64 node v4.4.6 #7417
Comments
This looks more like a babel bug than a node bug. Perhaps one of their userland modules does some sort of node version checking or makes some kind of wrong assumption? |
Hi Brian ( @mscdex ) I have no clue currently, so thats why I posted in both trackers. Its a pitty, we got nearly everything running on the arm64 and its just the unpacking what is missing now ;-) Sometimes I hate the jobs ;-) Thanks for your feedback, hopefully someone from babel tracker will answer too Tom |
Hey @mscdex, see my response here: https://phabricator.babeljs.io/T7457#79767 There are a bunch of things about this error that make me think it was likely a V8 issue that's been fixed between 4.4.6 and 6.2.2. Primarily, |
Hi Brian, Logan @mscdex @loganfsmyth if necessary, I can give you access to my linaro development cluster or help you to get an account yourself. Would be great if this could be get fixed, because meteor will not move soon to node 6. P.S.: I will run a test on latest node 5 as well - an post result here. |
Hi, as expected - it seems to be just an error on the 4.4.6. Doing the same check with node_ v5.12.0-arm64 Just to have this test also with node v5, result is correct working:
This works also fine |
Are older versions of v4 working fine?
|
I had currently the same idea and will test. Let me run some and I give feedback |
@mscdex @loganfsmyth @thealphanerd Ok guys, got it node-v5.0.0-arm64 IS NOT WORKING |
Hey Tom.
v5 is end of life. Would you be able to test some other versions of v4?
|
Yes, I know but v4 doesnt work at all, otherwise I have to check for v6 |
@thealphanerd But can't we use the diff between v5.0.0 and v5.1.0 to see what changes might repair that issue? |
Indeed. Although if it is a change in v8 it is not going to be as easy.
I'll dig in to this tomorrow morning, hopefully we can find the cause
quickly.
|
Thanks Myles @thealphanerd I will check the v6 branches to see if there is also one not working |
Already node-v6.0.0-arm64 is working, but I guess this is clear, because the v6 branch was created sometimes out of v5 branch. In case that it was fixed in this early v5.1.0 it wasn't propably never an issue in v6.x.x So would be great if you could catch it. Tom |
Just as an additional info: I tested a number of binaries between v4.0.0-arm64 and v4.4.6-arm64. NONE of those were working, so propably the fix was included between v5.0.0 and v5.1.0. |
If it is v8-related, it might be this one line change. |
You mean LINE or this HASH I can check it out and run a compilation on the arm64 What should I change to the source of 4.4.6 or 5.0.0 ? |
@TomFreudenberg patch on top of 4.4.6 if it is able to land |
@TomFreudenberg You'd need to open |
Should I try this on v4.4.6 ? |
@TomFreudenberg Sure. |
I run
correct? |
make is now running, will take around 15 minutes on the ressources I have on the linaro cluster Press my thumbs :-) |
@mscdex @loganfsmyth @thealphanerd JIIEEEEHHAAAAA ;-) It works! I love to work on OpenSource projects and with so envolved people. Thanks for your help and time invest! Would you apply that as patch to next v4.4.7 release ? I just ask to know if I had to run a private fork or to wait until it is include in next stable release. |
@TomFreudenberg I think it may be possible to backport that commit for v4.4.7... I'll dig into it a bit more tomorrow. I believe this is the commit we want to backport --> v8/v8@102e3e8 |
Myles @thealphanerd That would be great. If you need help, just knock me. |
@TomFreudenberg I'm working on getting this in for today's release, but testing has proven a bit more difficult than expected. I'll update in a couple hours |
@thealphanerd Myles - Thanks a lot for your support! |
This commit backports a fix to a crankshaft bug affects arm64 systems. Original commit message: [arm64] Fix jssp based spill slot accesses in Crankshaft Review URL: https://codereview.chromium.org/1401703003 Cr-Commit-Position: refs/heads/master@{nodejs#31304} Fixes: nodejs#7417 PR-URL: nodejs#7442 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: James M Snell <jasnell@gmail.com>
@TomFreudenberg adding to the release! |
This commit backports a fix to a crankshaft bug affects arm64 systems. Original commit message: [arm64] Fix jssp based spill slot accesses in Crankshaft Review URL: https://codereview.chromium.org/1401703003 Cr-Commit-Position: refs/heads/master@{#31304} Fixes: #7417 PR-URL: #7442 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Hi Myels ( @thealphanerd ) Thanks for backport, I can confirm that 4.4.7 is now working an my arm64 system |
This commit backports a fix to a crankshaft bug affects arm64 systems. Original commit message: [arm64] Fix jssp based spill slot accesses in Crankshaft Review URL: https://codereview.chromium.org/1401703003 Cr-Commit-Position: refs/heads/master@{#31304} Fixes: nodejs/node#7417 PR-URL: nodejs/node#7442 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Hi, I have reported an error on the babel issue tracker at https://phabricator.babeljs.io/T7457
but it might also be, that this is an issue on node v4?
The issue described does ONLY occur an the arm64 architecture (I am also using the linoaro dev cluster).
In a short:
running:
will return
If I use node v6.2.2 arm64 and run the same command, the result is:
Seems to be a kind of memory leak ?
The text was updated successfully, but these errors were encountered: