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

binfmt_misc: add support for s390x and ppc64le #1103

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

tonistiigi
Copy link
Member

Initially, these were not automatically detected as I didn't know how good the qemu support is. I tested some basic things like installing packages that seem to work so ok to add them for completeness.

related to docker/buildx#115

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@@ -0,0 +1,7 @@
.global _start
.text
.abiversion 2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😠

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AkihiroSuda it took us a while to realize that ppc64 had two ABIs and that we needed this directive.

@@ -55,6 +61,16 @@ func WarnIfUnsupported(pfs []string) {
printPlatfromWarning(p, err)
}
}
if p == "linux/ppc64le" {
if err := ppc64leSupported(); err != nil {
printPlatfromWarning(p, err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess this is unrelated to this PR but lovely typo in printPlatfromWarning :D

@tonistiigi tonistiigi added this to the v0.6.0 milestone Jul 30, 2019
@junaruga
Copy link

@tonistiigi Thank you for the enhancement!

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

Successfully merging this pull request may close these issues.

None yet

4 participants