Skip to content

armel builds fail looking for x64 binaries #45056

Closed

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.

Activity

  1. Dotnet-GitSync-Bot commented on Nov 21, 2020

    @Dotnet-GitSync-Bot
    Collaborator

    I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

  2. ViktorHofer commented on Feb 23, 2021

    @ViktorHofer
    Member

    @jkoritzinsky @hoyosjs @trylek can you please take a look?

  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Feb 23, 2021
  4. added this to the 6.0.0 milestone on Feb 23, 2021
  5. self-assigned this
    on Mar 1, 2021
  6. ghost locked as resolved and limited conversation to collaborators on Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions