Skip to content

Arm32v7 samples do not build. #3963

Answered by mthalman
opcfoundation-org asked this question in Q&A
Discussion options

You must be logged in to vote

I'm assuming you're attempting to build this on an x64 machine? That uses QEMU to run the code in emulation which has incompatibility with .NET. See the comment here: #1537 (comment).

Instead, you can use the Dockerfile.debian-arm32 file at that location and don't use the --platform option in your docker build command. That will allow you to build an Arm32 app from an AMD64 SDK container.

The point is that if you're doing a cross-architecture scenario like this, you need to be explicit in the tag names that you use such that retrieve the necessary architecture. The SDK tag should match the architecture of your host machine and the runtime/aspnet tag should match the architecture of your d…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@opcfoundation-org
Comment options

@richlander
Comment options

@mthalman
Comment options

Answer selected by opcfoundation-org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #3962 on August 03, 2022 13:13.