Skip to content
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

Use armhf as default for armv7/v6 #3723

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

fisherxu
Copy link
Member

@fisherxu fisherxu commented Mar 21, 2022

Signed-off-by: fisherxu xufei40@huawei.com

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Now for the armv6 and later, all support armhf, and for ubuntu since 12.04, armel will not supported.

When cross-building, arm-linux-gnueabi-gcc will build armel by default, arm-linux-gnueabihf-gcc will build armhf by default.

And armhf has better compatibility. Armv5 or before I think it will be probably rarely used?

Ref: #3586 (comment)
https://github.com/golang/go/wiki/GoArm#supported-architectures
https://github.com/golang/go/wiki/GoArm#supported-operating-systems

cc @zhu733756 @dafanshu

Which issue(s) this PR fixes:

Fixes ##3586 (comment)

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@kubeedge-bot kubeedge-bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Mar 21, 2022
@kubeedge-bot kubeedge-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 21, 2022
@gy95
Copy link
Member

gy95 commented Mar 22, 2022

RUN if [ "${ARCH}" = "amd64" ]; then apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross gcc-arm-linux-gnueabi libc6-dev-armel-cross ; fi

Is this also need fixing?

Signed-off-by: fisherxu <xufei40@huawei.com>
@fisherxu
Copy link
Member Author

RUN if [ "${ARCH}" = "amd64" ]; then apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross gcc-arm-linux-gnueabi libc6-dev-armel-cross ; fi

Is this also need fixing?

Done, though it still haven't used

@gy95
Copy link
Member

gy95 commented Mar 22, 2022

lgtm
cc @chendave PTAL

@chendave
Copy link
Member

/approve
thanks!

@kubeedge-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chendave

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 22, 2022
@kevin-wangzefeng
Copy link
Member

/lgtm

@kubeedge-bot kubeedge-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 22, 2022
@kubeedge-bot kubeedge-bot merged commit 4e23fef into kubeedge:master Mar 22, 2022
@fisherxu fisherxu deleted the support-armhf branch March 22, 2022 03:20
kubeedge-bot added a commit that referenced this pull request Mar 22, 2022
…-upstream-release-1.9

Automated cherry pick of #3723: support armhf
kubeedge-bot added a commit that referenced this pull request Mar 22, 2022
…-upstream-release-1.10

Automated cherry pick of #3723: support armhf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants