-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@@ -0,0 +1,7 @@ | |||
.global _start | |||
.text | |||
.abiversion 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😠
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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 Thank you for the enhancement! |
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