Skip to content

armel builds fail looking for x64 binaries #45056

Description

@ThadHouse

Description

Attempting to build the latest master for armel fails with the following error

/home/thad/runtimedn/.dotnet/sdk/5.0.100-rc.2.20479.15/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(432,5): error : Could not load file or assembly '/home/thad/runtimedn/artifacts/bin/coreclr/Linux.armel.Release/x64/sharedFramework/System.Private.CoreLib.dll'. The system cannot find the file specified. [/home/thad/runtimedn/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
/home/thad/runtimedn/.dotnet/sdk/5.0.100-rc.2.20479.15/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(432,5): error :  (0x80070002) [/home/thad/runtimedn/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
/home/thad/runtimedn/.dotnet/sdk/5.0.100-rc.2.20479.15/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(432,5): error : Error: file "/home/thad/runtimedn/artifacts/obj/Microsoft.NETCore.App.Runtime/Release/net6.0/linux-armel/R2R/System.Private.CoreLib.dll" or one of its dependencies was not found [/home/thad/runtimedn/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
/home/thad/runtimedn/.dotnet/sdk/5.0.100-rc.2.20479.15/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(295,5): error NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. [/home/thad/runtimedn/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]

Steps To Reproduce

sudo apt-get install qemu qemu-user-static binfmt-support debootstrap binutils-arm-linux-gnueabi
sudo ROOTFS_DIR=/home/armel ./eng/common/cross/build-rootfs.sh armel
ROOTFS_DIR=/home/armel ./build.sh -c release -arch armel -cross -subset clr+libs+host+packs

Configuration

Building with Ubuntu 18.04

Regression?

I had this building about 2 weeks ago, so yes a regression. I'll try looking for what commit broke this.

Other information

It would be super helpful if an armel (non tizen) docker image was posted. Thats the main platform I deal with, and it seems to break all the time because its not built in CI. At least with the docker image I'd have a fixed point to go from.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions