Uh oh!
There was an error while loading. Please reload this page.
configure: use __ARM_ARCH to determine arm version - #4123
Merged
Conversation
Member
There was a problem hiding this comment.
You could simplify this to return cc_macros_cache.get('__ARM_ARCH') == '7'.
bnoordhuis
commented
Dec 3, 2015
Member
LGTM with a comment. |
mmalecki
commented
Dec 3, 2015
Contributor
@joaocgreis Not aware of such, no. |
jasnell
commented
Dec 3, 2015
Member
joaocgreisforce-pushed
the
joaocgreis-FC2-__ARM_ARCH
branch
from
December 7, 2015 03:36
ff3b1f0 to
8dabc4dComparejoaocgreis
commented
Dec 7, 2015
MemberAuthor
Updated, thanks for the reviews! Will land Tuesday if there are no further comments. |
joaocgreis
commented
Dec 7, 2015
MemberAuthor
Note: |
rvagg
commented
Dec 7, 2015
Member
|
Before this change, configure used processor specific macro defines (like __ARM_ARCH_6M__) to detect the arm processor version. This changes configure to use __ARM_ARCH, that should be defined to the correct version. Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: nodejs#4123
joaocgreisforce-pushed
the
joaocgreis-FC2-__ARM_ARCH
branch
from
December 9, 2015 15:02
8dabc4d to
a7f5dfdComparejoaocgreis added a commit
that referenced
this pull request
Dec 9, 2015
Before this change, configure used processor specific macro defines (like __ARM_ARCH_6M__) to detect the arm processor version. This changes configure to use __ARM_ARCH, that should be defined to the correct version. Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: #4123
joaocgreis
commented
Dec 9, 2015
MemberAuthor
Landed in |
joaocgreis added a commit
that referenced
this pull request
Dec 15, 2015
Before this change, configure used processor specific macro defines (like __ARM_ARCH_6M__) to detect the arm processor version. This changes configure to use __ARM_ARCH, that should be defined to the correct version. Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: #4123
Closed
joaocgreis added a commit
that referenced
this pull request
Dec 17, 2015
Before this change, configure used processor specific macro defines (like __ARM_ARCH_6M__) to detect the arm processor version. This changes configure to use __ARM_ARCH, that should be defined to the correct version. Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: #4123
joaocgreis added a commit
that referenced
this pull request
Dec 23, 2015
Before this change, configure used processor specific macro defines (like __ARM_ARCH_6M__) to detect the arm processor version. This changes configure to use __ARM_ARCH, that should be defined to the correct version. Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: #4123
scovetta pushed a commit
to scovetta/node
that referenced
this pull request
Apr 2, 2016
Before this change, configure used processor specific macro defines (like __ARM_ARCH_6M__) to detect the arm processor version. This changes configure to use __ARM_ARCH, that should be defined to the correct version. Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: nodejs#4123
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before this change, configure used processor specific macro defines (like
__ARM_ARCH_6M__) to detect the arm processor version. This changes configure to use__ARM_ARCH, that should be defined to the correct version.This is useful because configure may not expect the flag for a specific processor. Currently, if trying to cross compile optimizing to the Raspberry Pi 1 processor with
-mcpu=arm1176jzf-sthe detectedarm_versionwill bedefault(because it sets__ARM_ARCH_6ZK__), and the generated binaries useless in that processor.@nodejs/platform-arm ARM processors currently on CI are ok with this change, but could there be some other processor or compiler that does not set
__ARM_ARCHor sets it to something that we do not want? @mmalecki you authored the original function, do you know of any problem with this? (Thanks!)cc @nodejs/build
For reference: