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

spmi collect on crossgen2 windows x86 failes with "No input files are loadable" #104863

Open
JulieLeeMSFT opened this issue Jul 14, 2024 · 1 comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@JulieLeeMSFT
Copy link
Member

Pipeline: runtime-coreclr superpmi-collect: 20240711.1

spmi collect fails on libraries crossgen2 windows x86 with "No input files are loadable".
Partition 0 include only 1 file, ilc.exe which does not have any managed assemblies, so it fails because there is nothing to crossgen to. It is not a failiure, so make it into "not a failure" when we don't get to run crossgen2 over anything.

It was temporailly fixed by including ilc.exe in ignore list in #104181.

Log

C:\h\w\B0530931\w\A7A60937\e>C:\python3\python.exe C:\h\w\B0530931\p\superpmi\superpmi.py collect --clean -log_level DEBUG --crossgen2  -assemblies C:\h\w\B0530931\w\A7A60937\u\binaries -arch x86 -build_type checked -core_root C:\h\w\B0530931\p\superpmi -output_mch_path C:\h\w\B0530931\w\A7A60937\uploads\libraries.crossgen2.0.windows.x86.checked.mch -log_file C:\h\w\B0530931\w\A7A60937\uploads\libraries.crossgen2.0.windows.x86.checked.log 
[22:20:03] ================ Logging to C:\h\w\B0530931\w\A7A60937\uploads\libraries.crossgen2.0.windows.x86.checked.log
[22:20:03] Using dotnet.exe from PATH: C:\h\w\B0530931\p\dotnet-cli\dotnet.exe
[22:20:03] Using crossgen2 tool C:\h\w\B0530931\p\superpmi\crossgen2\crossgen2.dll
[22:20:03] Using dotnet tool C:\h\w\B0530931\p\dotnet-cli\dotnet.exe
[22:20:03] SuperPMI collect
[22:20:03] ------------------------------------------------------------
[22:20:03] Start time: 22:20:03
[22:20:03] Using superpmi.exe from Core_Root: C:\h\w\B0530931\p\superpmi\superpmi.exe
[22:20:03] Using mcs.exe from Core_Root: C:\h\w\B0530931\p\superpmi\mcs.exe
[22:20:03] Using crossgen2 driver tool C:\h\w\B0530931\p\dotnet-cli\dotnet.exe
[22:20:03] SuperPMI JIT Path: C:\h\w\B0530931\t\tmpaqjzfk_j\clrjit_superpmi.dll
[22:20:03] Starting collection.
[22:20:03] 
[22:20:03] Using assemblies:
[22:20:03]   C:\h\w\B0530931\w\A7A60937\u\binaries\ilc-published\ilc.exe
[22:20:03] 
[22:20:03] Starting collection using crossgen2
[22:20:03] set SuperPMIShimLogPath=C:\h\w\B0530931\t\tmpaqjzfk_j
[22:20:03] set SuperPMIShimPath=C:\h\w\B0530931\t\tmpaqjzfk_j\clrjit_superpmi.dll
[22:20:03] Using proactor: IocpProactor
[22:20:03] ============== Contents of C:\h\w\B0530931\t\tmpaqjzfk_j\crossgen2_C__h_w_B0530931_w_A7A60937_u_binaries_ilc_published_ilc_exe_1l1eucvi.rsp
[22:20:03] C:\h\w\B0530931\w\A7A60937\u\binaries\ilc-published\ilc.exe
[22:20:03] -o:C:\h\w\B0530931\t\tmpaqjzfk_j\crossgen2_C__h_w_B0530931_w_A7A60937_u_binaries_ilc_published_ilc_exe.out.dll
[22:20:03] -r:C:\h\w\B0530931\p\superpmi\System.*.dll
[22:20:03] -r:C:\h\w\B0530931\p\superpmi\Microsoft.*.dll
[22:20:03] -r:C:\h\w\B0530931\p\superpmi\mscorlib.dll
[22:20:03] -r:C:\h\w\B0530931\p\superpmi\netstandard.dll
[22:20:03] --parallelism:1
[22:20:03] --jitpath:C:\h\w\B0530931\p\superpmi\superpmi-shim-collector.dll
[22:20:03] --codegenopt:EnableExtraSuperPmiQueries=1
[22:20:03] --codegenopt:TieredCompilation=0
[22:20:03] ============== End contents of C:\h\w\B0530931\t\tmpaqjzfk_j\crossgen2_C__h_w_B0530931_w_A7A60937_u_binaries_ilc_published_ilc_exe_1l1eucvi.rsp
[22:20:03] [1:1]: C:\h\w\B0530931\p\dotnet-cli\dotnet.exe C:\h\w\B0530931\p\superpmi\crossgen2\crossgen2.dll @C:\h\w\B0530931\t\tmpaqjzfk_j\crossgen2_C__h_w_B0530931_w_A7A60937_u_binaries_ilc_published_ilc_exe_1l1eucvi.rsp
[22:20:05] 'C:\h\w\B0530931\p\dotnet-cli\dotnet.exe C:\h\w\B0530931\p\superpmi\crossgen2\crossgen2.dll @C:\h\w\B0530931\t\tmpaqjzfk_j\crossgen2_C__h_w_B0530931_w_A7A60937_u_binaries_ilc_published_ilc_exe_1l1eucvi.rsp': Error return code: 2
[22:20:05] ============== Contents of C:\h\w\B0530931\t\tmpaqjzfk_j\crossgen2_C__h_w_B0530931_w_A7A60937_u_binaries_ilc_published_ilc_exe_wddof8t5.stdout
[22:20:05] No input files are loadable
[22:20:05] ============== End contents of C:\h\w\B0530931\t\tmpaqjzfk_j\crossgen2_C__h_w_B0530931_w_A7A60937_u_binaries_ilc_published_ilc_exe_wddof8t5.stdout
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 14, 2024
@JulieLeeMSFT JulieLeeMSFT added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed area-crossgen2-coreclr untriaged New issue has not been triaged by the area owner labels Jul 14, 2024
@JulieLeeMSFT JulieLeeMSFT added this to the Future milestone Jul 14, 2024
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

No branches or pull requests

1 participant