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

Convert all remaining tests in the Loader subtree to the merged model #92407

Merged
merged 19 commits into from
Oct 1, 2023

Fix LLVAM AOT crash when compiling the genmeth.dll assembly

c2eb64d
Select commit
Loading
Failed to load commit list.
Merged

Convert all remaining tests in the Loader subtree to the merged model #92407

Fix LLVAM AOT crash when compiling the genmeth.dll assembly
c2eb64d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime-extra-platforms (Build android-x64 Release AllSubsets_Mono) failed Oct 1, 2023 in 34m 53s

Build android-x64 Release AllSubsets_Mono failed

Annotations

Check failure on line 235 in src/mono/msbuild/android/build/AndroidBuild.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime-extra-platforms (Build android-x64 Release AllSubsets_Mono)

src/mono/msbuild/android/build/AndroidBuild.targets#L235

src/mono/msbuild/android/build/AndroidBuild.targets(235,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Precompiling failed for /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/publish/System.Private.CoreLib.dll with exit code 1.
LLVM ERROR: Cannot select: 0x56098ca63b40: v16i8 = X86ISD::PSHUFB 0x56098ca61960, 0x56098ad1b1f0
  0x56098ca61960: v16i8,ch = load<(load (s128) from %ir.55, align 1)> 0x560987b0e3a0, 0x56098ca61c00, undef:i64
    0x56098ca61c00: i64 = add 0x56098ca63590, 0x56098ca60ee0
      0x56098ca63590: i64,ch = CopyFromReg 0x560987b0e3a0, Register:i64 %46
        0x56098a90d9a0: i64 = Register %46
      0x56098ca60ee0: i64,ch = CopyFromReg 0x560987b0e3a0, Register:i64 %39
        0x56098ca65620: i64 = Register %39
    0x56098ca63520: i64 = undef
  0x56098ad1b1f0: v16i8,ch = load<(load (s128) from constant-pool)> 0x560987b0e3a0, 0x56098ca61650, undef:i64
    0x56098ca61650: i64 = X86ISD::WrapperRIP TargetConstantPool:i64<<16 x i8> <i8 15, i8 14, i8 13, i8 12, i8 11, i8 10, i8 9, i8 8, i8 7, i8 6, i8 5, i8 4, i8 3, i8 2, i8 1, i8 0>> 0
      0x56098c999aa0: i64 = TargetConstantPool<<16 x i8> <i8 15, i8 14, i8 13, i8 12, i8 11, i8 10, i8 9, i8 8, i8 7, i8 6, i8 5, i8 4, i8 3, i8 2, i8 1, i8 0>> 0
    0x56098ca63520: i64 = undef
In function: corlib_System_SpanHelpers_Reverse_byte__uintptr
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc -march=x86-64 -mcpu=generic -enable-implicit-null-checks -disable-fault-maps -asm-verbose=false -mtriple=x86_64-linux-android -disable-gnu-eh-frame -enable-mono-eh-frame -mono-eh-frame-symbol=mono_aot_corlib_eh_frame -disable-tail-calls -no-x86-call-frame-opt -relocation-model=pic -filetype=obj -o /__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/mobile/System.Private.CoreLib.dll-llvm.o /__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/mobile/System.Private.CoreLib.dll.tmp/temp.opt.bc
1.	Running pass 'Function Pass Manager' on module '/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/mobile/System.Private.CoreLib.dll.tmp/temp.opt.bc'.
2.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@corlib_System_SpanHelpers_Reverse_byte__uintptr'
 #0 0x000056098203ca48 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x299fa48)
 #1 0x000056098203ab6e llvm::sys::RunSignalHandlers() (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x299db6e)
 #2 0x000056098203d0ad (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x29a00ad)
 #3 0x00007f3c299ede30 (/lib/libc.so.6+0x42e30)
 #4 0x00007f3c29a38e6c (/lib/libc.so.6+0x8de6c)
 #5 0x00007f3c299edd86 gsignal (/lib/libc.so.6+0x42d86)
 #6 0x00007f3c299d87e5 abort (/lib/libc.so.6+0x2d7e5)
 #7 0x0000560981fc5c67 llvm::report_fatal_error(llvm::Twine const&, bool) (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x2928c67)
 #8 0x0000560981eb174f (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x281474f)
 #9 0x0000560981eb0d35 (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x2813d35)
#10 0x0000560980cde111 (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x1641111)
#11 0x0000560981ea909f llvm::SelectionDAGISel::DoInstructionSelection() (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x280c09f)
#12 0x0000560981ea8939 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x280b939)
#13 0x0000560981ea7e77 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x280ae77)
#14 0x0000560981ea5b5f llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x2808b5f)
#15 0x0000560980cd5c1f (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x1638c1f)
#16 0x000056098152bd41 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x1e8ed41)
#17 0x000056098193716e llvm::FPPassManager::runOnFunction(llvm::Function&) (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x229a16e)
#18 0x000056098193e413 llvm::FPPassManager::runOnModule(llvm::Module&) (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x22a1413)
#19 0x0000560981937ded llvm::legacy::PassManagerImpl::run(llvm::Module&) (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x229aded)
#20 0x0000560980a1727e main (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x137a27e)
#21 0x00007f3c299d957d (/lib/libc.so.6+0x2e57d)
#22 0x00007f3c299d9630 __libc_start_main (/lib/libc.so.6+0x2e630)
#23 0x0000560980a14a29 _start (/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc+0x1377a29)
AOT of image /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/publish/System.Private.CoreLib.dll failed.
Mono Ahead of Time compiler - compiling assembly /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/publish/System.Private.CoreLib.dll
AOTID D1DEDDA4-6D67-3F5E-0046-0C273AA014E4
Executing opt: "/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/opt" -f -disable-tail-calls -passes="default<O2>,place-safepoints" -spp-all-backedges -o "/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/mobile/System.Private.CoreLib.dll.tmp/temp.opt.bc" "/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/mobile/System.Private.CoreLib.dll.tmp/temp.bc"
Executing llc: "/__w/1/s/artifacts/bin/mono/android.x64.Release/cross/android-x64/llc"  -march=x86-64 -mcpu=generic -enable-implicit-null-checks -disable-fault-maps -asm-verbose=false -mtriple=x86_64-linux-android -disable-gnu-eh-frame -enable-mono-eh-frame -mono-eh-frame-symbol=mono_aot_corlib_eh_frame -disable-tail-calls -no-x86-call-frame-opt -relocation-model=pic -filetype=obj -o "/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/mobile/System.Private.CoreLib.dll-llvm.o" "/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot_Llvm.Test/Release/net9.0/android-x64/mobile/System.Private.CoreLib.dll.tmp/temp.opt.bc"