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

[Android][x86] Build failed: Opcode r4_add/r4_conv_to_r8 missing from machine description file. #65958

Closed
MaximLipnin opened this issue Feb 28, 2022 · 6 comments
Labels
area-Infrastructure-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner

Comments

@MaximLipnin
Copy link
Contributor

Configuration: Build Android x86 Release AllSubsets_Mono
CI build: runtime-extra-platforms pipeline of the rolling build

/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Runtime.Numerics.dll. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Runtime.Numerics.dll [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : AOTID 0D32054C-BBEE-79AC-B63A-BE7CA35C7105 [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Opcode 'r4_conv_to_r8' missing from machine description file. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
##[error]eng/testing/tests.mobile.targets(124,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Runtime.Numerics.dll.
Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Runtime.Numerics.dll
AOTID 0D32054C-BBEE-79AC-B63A-BE7CA35C7105
Opcode 'r4_conv_to_r8' missing from machine description file.
  [Microsoft.DotNet.XHarness.TestRunners.Common.dll] Exec (with response file contents expanded) in /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish: MONO_PATH=/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish: MONO_ENV_OPTIONS= /__w/1/s/artifacts/bin/mono/Android.x86.Release/cross/android-x86/mono-aot-cross --debug --llvm "--aot=mtriple=i686-linux-android,nimt-trampolines=2000,ntrampolines=10000,nrgctx-fetch-trampolines=256,ngsharedvt-trampolines=4400,nftnptr-arg-trampolines=4000,nrgctx-trampolines=21000,nodebug,llvm-path=/__w/1/s/artifacts/bin/mono/Android.x86.Release/cross/android-x86/,static,full,asmonly,outfile=/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/mobile/Microsoft.DotNet.XHarness.TestRunners.Common.dll.s,llvm-outfile=/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/mobile/Microsoft.DotNet.XHarness.TestRunners.Common.dll-llvm.o,data-outfile=/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.aotdata" "Microsoft.DotNet.XHarness.TestRunners.Common.dll"
  
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.dll. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.dll [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : AOTID AA916612-4493-8A75-D4A6-34BE2567BC7E [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Opcode 'r4_add' missing from machine description file. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
##[error]eng/testing/tests.mobile.targets(124,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.dll.
Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.dll
AOTID AA916612-4493-8A75-D4A6-34BE2567BC7E
Opcode 'r4_add' missing from machine description file.
  [System.Console.dll] Exec (with response file contents expanded) in /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish: MONO_PATH=/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish: MONO_ENV_OPTIONS= /__w/1/s/artifacts/bin/mono/Android.x86.Release/cross/android-x86/mono-aot-cross --debug --llvm "--aot=mtriple=i686-linux-android,nimt-trampolines=2000,ntrampolines=10000,nrgctx-fetch-trampolines=256,ngsharedvt-trampolines=4400,nftnptr-arg-trampolines=4000,nrgctx-trampolines=21000,nodebug,llvm-path=/__w/1/s/artifacts/bin/mono/Android.x86.Release/cross/android-x86/,static,full,asmonly,outfile=/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/mobile/System.Console.dll.s,llvm-outfile=/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/mobile/System.Console.dll-llvm.o,data-outfile=/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Console.aotdata" "System.Console.dll"
  
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Console.dll. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Console.dll [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : AOTID 5B93E08E-61E6-9444-36D2-1BBDBB7C6265 [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Opcode 'r4_add' missing from machine description file. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]

@dotnet-issue-labeler dotnet-issue-labeler bot added area-Infrastructure-mono untriaged New issue has not been triaged by the area owner labels Feb 28, 2022
@ghost
Copy link

ghost commented Feb 28, 2022

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details

Configuration: Build Android x86 Release AllSubsets_Mono
CI build: runtime-extra-platforms pipeline of the rolling build

/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Runtime.Numerics.dll. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Runtime.Numerics.dll [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : AOTID 0D32054C-BBEE-79AC-B63A-BE7CA35C7105 [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Opcode 'r4_conv_to_r8' missing from machine description file. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
##[error]eng/testing/tests.mobile.targets(124,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Runtime.Numerics.dll.
Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Runtime.Numerics.dll
AOTID 0D32054C-BBEE-79AC-B63A-BE7CA35C7105
Opcode 'r4_conv_to_r8' missing from machine description file.
  [Microsoft.DotNet.XHarness.TestRunners.Common.dll] Exec (with response file contents expanded) in /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish: MONO_PATH=/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish: MONO_ENV_OPTIONS= /__w/1/s/artifacts/bin/mono/Android.x86.Release/cross/android-x86/mono-aot-cross --debug --llvm "--aot=mtriple=i686-linux-android,nimt-trampolines=2000,ntrampolines=10000,nrgctx-fetch-trampolines=256,ngsharedvt-trampolines=4400,nftnptr-arg-trampolines=4000,nrgctx-trampolines=21000,nodebug,llvm-path=/__w/1/s/artifacts/bin/mono/Android.x86.Release/cross/android-x86/,static,full,asmonly,outfile=/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/mobile/Microsoft.DotNet.XHarness.TestRunners.Common.dll.s,llvm-outfile=/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/mobile/Microsoft.DotNet.XHarness.TestRunners.Common.dll-llvm.o,data-outfile=/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.aotdata" "Microsoft.DotNet.XHarness.TestRunners.Common.dll"
  
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.dll. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.dll [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : AOTID AA916612-4493-8A75-D4A6-34BE2567BC7E [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Opcode 'r4_add' missing from machine description file. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
##[error]eng/testing/tests.mobile.targets(124,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.dll.
Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/Microsoft.DotNet.XHarness.TestRunners.Common.dll
AOTID AA916612-4493-8A75-D4A6-34BE2567BC7E
Opcode 'r4_add' missing from machine description file.
  [System.Console.dll] Exec (with response file contents expanded) in /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish: MONO_PATH=/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish: MONO_ENV_OPTIONS= /__w/1/s/artifacts/bin/mono/Android.x86.Release/cross/android-x86/mono-aot-cross --debug --llvm "--aot=mtriple=i686-linux-android,nimt-trampolines=2000,ntrampolines=10000,nrgctx-fetch-trampolines=256,ngsharedvt-trampolines=4400,nftnptr-arg-trampolines=4000,nrgctx-trampolines=21000,nodebug,llvm-path=/__w/1/s/artifacts/bin/mono/Android.x86.Release/cross/android-x86/,static,full,asmonly,outfile=/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/mobile/System.Console.dll.s,llvm-outfile=/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/mobile/System.Console.dll-llvm.o,data-outfile=/__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Console.aotdata" "System.Console.dll"
  
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Console.dll. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net7.0/android-x86/publish/System.Console.dll [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : AOTID 5B93E08E-61E6-9444-36D2-1BBDBB7C6265 [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]
/__w/1/s/eng/testing/tests.mobile.targets(124,5): error : Opcode 'r4_add' missing from machine description file. [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT_LLVM/Android.Device_Emulator.Aot_Llvm.Test.csproj]

Author: MaximLipnin
Assignees: -
Labels:

untriaged, area-Infrastructure-mono

Milestone: -

@MaximLipnin MaximLipnin added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Feb 28, 2022
@steveisok
Copy link
Member

/cc @vargaz

@vargaz
Copy link
Contributor

vargaz commented Feb 28, 2022

Not sure how this can happen, those opcodes should not be generated on x86.

@steveisok
Copy link
Member

I can't tell what changed to cause this to happen. I believe the build started failing sometime last week.

steveisok pushed a commit to steveisok/runtime that referenced this issue Mar 1, 2022
As referenced in dotnet#65958, the AOT compiler is failing on certain assemblies with 'Opcode 'r4_conv_to_r8' missing from machine description file.'.

Disabling the test to unblock CI
@steveisok
Copy link
Member

@SamMonoRT I think this is a deeper problem than just aot. In #65993, all tests fail with:

DOTNET : ((null) error) unknown opcode name for 341

@akoeplinger
Copy link
Member

This was fixed/reverted by #66006

@ghost ghost locked as resolved and limited conversation to collaborators Apr 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

4 participants