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

Fix armv6 detection #14193

Closed
wants to merge 3 commits into from
Closed

Conversation

misterdjules
Copy link

This PR ports nodejs/node#559 to joyent/node.

Port 297cadb from io.js.

Original commit message:

  The elf_platform suffix in /proc/cpuinfo moved to the model name field
  in Linux 3.8.

  Out-of-tree patch pending https://codereview.chromium.org/867713003/

  Fixes: nodejs/node#283
  PR-URL: nodejs/node#559
  Reviewed-By: Fedor Indutny <fedor@indutny.com>
Port 7d9d756 from io.js.

Original commit message:

  VFPv3 is ARMv7-only, enabling it for ARMv6 is therefore always wrong.
  Mea culpa, I do believe I'm the original author of that change.

  Fixes: nodejs/node#283
  PR-URL: nodejs/node#559
  Reviewed-By: Fedor Indutny <fedor@indutny.com>
Port c6cd460 from io.js.

Original commit message:

  Remove the configure check, the flag was dropped in V8 3.28.

  PR-URL: nodejs/node#559
  Reviewed-By: Fedor Indutny <fedor@indutny.com>
@misterdjules
Copy link
Author

@joyent/node-coreteam Adding to the 0.12.2 milestone with P-2 because it would probably help a lot of Raspberry-PI users. These changes have been confirmed to work by a Raspberry-Pi user.

@misterdjules
Copy link
Author

I believe this would fix #14186, #7222, #9163, #8589, #8549 and #4540.

@misterdjules
Copy link
Author

/cc @joyent/node-coreteam I'll need a review before we can land that. It's been tested by @silverwind a while ago. Thank you!

@misterdjules misterdjules modified the milestones: 0.12.3, 0.12.4 May 14, 2015
@misterdjules misterdjules modified the milestones: 0.12.4, 0.12.5 May 25, 2015
@misterdjules misterdjules modified the milestones: 0.12.5, 0.12.6 Jun 22, 2015
@magic890
Copy link

magic890 commented Jul 3, 2015

Here is the official patch from V8 team: https://github.com/v8/v8-git-mirror/blob/master/src/base/cpu.cc#L483-L499

I have created a pull request to solve this issue: #25625

@misterdjules misterdjules modified the milestones: 0.12.6, 0.12.7, 0.12.8 Jul 6, 2015
@Fishrock123
Copy link
Member

Since armv6 works in Node > 1, I am going to assume this is no longer necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants