You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emitting R2R PE file: /home/tester/dotnet/src/aspnetcore/artifacts/obj/Microsoft.AspNetCore.App.Runtime.Composite/Release/fedora.40-x64/R2R/Microsoft.AspNetCore.Metadata.dll
I took a look in the aspnetcore repo, and I didn't find a reason why this project would be treated differently from the others (which are passing the R2R check).
I'll do a local build so I can see if any Microsoft.AspNetCore.Metadata.dll in aspnetcore artifacts pass the check.
@tmds are you sure that the assembly has functions to prejit? if it's only a bunch of interfaces/facades, then presumably there is no work for R2R. From a quick look, Microsoft.AspNetCore.Metadata looks to be so - isn't just an assembly with just two interfaces?
@tmds are you sure that the assembly has functions to prejit?
crossgen2 will produce R2R image even if there is no code to compile. R2R image has other good stuff in addition to the code, for example indexes for some metadata tables.
As part of our test suite, we have a test that checks .NET's dlls are R2R compiled.
That test is failing for these ASP.NET Core 10.0 dlls:
To determine whether the assembly is R2R we check
PEHeaders.CorHeader.ManagedNativeHeaderDirectory.Size != 0
(cfr #1802 (comment)).The check is passing for the other ASP.NET Core dlls. The two dlls that fail don't have much in them (some interface definitions).
I wonder if there has been a change to crossgen which would causes these dlls to be skipped for R2R?
The check passes for the 9.0 version of these dlls.
cc @jkoritzinsky @jkotas @omajid @nicrowe00
The text was updated successfully, but these errors were encountered: