-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
AOT error building dotnet/performance benchmarks #55515
Comments
Tagging subscribers to this area: @directhex Issue DetailsI get the following error when running hte dotnet/performance microbenchmarks, even using this change: #55258 ( I think it is a separate error).
This might not be related to AOT, since if i modify the generated project to use the interpreter and get tehe following stack trace:
|
Seems to be some kind of linker/build problem: |
This should be fixed by dotnet/performance@de17d6e |
Command:
~/workspace/runtime-clean/dotnet.sh run -c Release --runtimeSrcDir ~/workspace/runtime-clean/ --runtimes wasm --aotcompilermode wasm --framework net6.0
I get a bunch of AOT errors like:
/Users/naricc/workspace/runtime-clean/src/mono/wasm/build/WasmApp.Native.targets(414,5): warning : Unable to compile method 'void Microsoft.Diagnostics.Tracing.Extensions.ETWKernelControl:ResetWindowsHeapTracingFlags (string,bool)' due to: 'Method not found: void Microsoft.Win32.RegistryKey.DeleteValue(string)'. [/Users/naricc/workspace/performance/artifacts/bin/MicroBenchmarks/Release/net6.0/Job-LPKKXK/BenchmarkDotNet.Autogenerated.csproj]
Full output with MONO_LOG_LEVEL=deug here: https://gist.github.com/naricc/4d775852b6628957dc63756000e92e62
I tried modifying the generated project use interpreter, with trimming enabled, and the project ran.
The text was updated successfully, but these errors were encountered: