Skip to content

[wasm] AOT compilation failing for System.Private.CoreLib in System.Runtime.Tests #73474

Closed
dotnet/linker
#2966
@lambdageek

Description

@lambdageek

For example: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-73468-merge-2da65b674641464283/normal-System.Runtime.Tests/1/console.98515402.log?helixlogtype=result

===========================================================================================================
/datadisks/disk1/work/9C690826/w/A024090B/e /datadisks/disk1/work/9C690826/w/A024090B/e /datadisks/disk1/work/9C690826/w/A024090B/e
MSBuild version 17.3.0-preview-22306-01+1c045cf58 for .NET
/datadisks/disk1/work/9C690826/p/dotnet-cli/sdk/7.0.100-preview.5.22307.18/MSBuild.dll -maxcpucount -verbosity:m /bl:/datadisks/disk1/work/9C690826/w/A024090B/uploads/xharness-output/AOTBuild.binlog /p:RunAOTCompilation=true publish/ProxyProjectForAOTOnHelix.proj
  ** Building a proxy for the original test project, to AOT on helix. In order to do that, this recreates the original inputs for the *wasm* part of the build. See /datadisks/disk1/work/9C690826/w/A024090B/e/publish/ProxyProjectForAOTOnHelix.proj, and /datadisks/disk1/work/9C690826/w/A024090B/e/publish/ProxyProjectForAOTOnHelix.props. **
  AOT'ing 66 assemblies
  [1/66] Castle.Core.dll -> Castle.Core.dll.bc
  [2/66] Microsoft.DotNet.RemoteExecutor.dll -> Microsoft.DotNet.RemoteExecutor.dll.bc
  [3/66] Microsoft.DotNet.XHarness.TestRunners.Common.dll -> Microsoft.DotNet.XHarness.TestRunners.Common.dll.bc
  [4/66] Microsoft.DotNet.XHarness.TestRunners.Xunit.dll -> Microsoft.DotNet.XHarness.TestRunners.Xunit.dll.bc
  [5/66] Microsoft.Diagnostics.Runtime.dll -> Microsoft.Diagnostics.Runtime.dll.bc
  [6/66] Microsoft.Win32.Registry.dll -> Microsoft.Win32.Registry.dll.bc
  [7/66] Microsoft.DotNet.XUnitExtensions.dll -> Microsoft.DotNet.XUnitExtensions.dll.bc
  [8/66] Mono.Options.dll -> Mono.Options.dll.bc
  [9/66] System.Collections.Concurrent.dll -> System.Collections.Concurrent.dll.bc
  [10/66] Moq.dll -> Moq.dll.bc
  [11/66] System.Collections.NonGeneric.dll -> System.Collections.NonGeneric.dll.bc
  [12/66] System.Collections.Specialized.dll -> System.Collections.Specialized.dll.bc
  [13/66] System.ComponentModel.dll -> System.ComponentModel.dll.bc
  [14/66] System.ComponentModel.Primitives.dll -> System.ComponentModel.Primitives.dll.bc
  [15/66] System.Collections.dll -> System.Collections.dll.bc
  [16/66] System.Console.dll -> System.Console.dll.bc
  [17/66] System.ComponentModel.TypeConverter.dll -> System.ComponentModel.TypeConverter.dll.bc
  [18/66] System.Diagnostics.Process.dll -> System.Diagnostics.Process.dll.bc
  [19/66] System.Diagnostics.StackTrace.dll -> System.Diagnostics.StackTrace.dll.bc
  [20/66] System.dll -> System.dll.bc
  [21/66] System.Diagnostics.TraceSource.dll -> System.Diagnostics.TraceSource.dll.bc
  [22/66] System.Linq.dll -> System.Linq.dll.bc
  [23/66] System.Linq.Queryable.dll -> System.Linq.Queryable.dll.bc
  [24/66] System.Memory.dll -> System.Memory.dll.bc
  [25/66] System.Net.Primitives.dll -> System.Net.Primitives.dll.bc
  [26/66] System.Net.Requests.dll -> System.Net.Requests.dll.bc
  [27/66] System.Numerics.Vectors.dll -> System.Numerics.Vectors.dll.bc
  [28/66] System.ObjectModel.dll -> System.ObjectModel.dll.bc
  [29/66] System.Linq.Expressions.dll -> System.Linq.Expressions.dll.bc
  [30/66] System.Private.Uri.dll -> System.Private.Uri.dll.bc
  [31/66] System.Private.Xml.dll -> System.Private.Xml.dll.bc
  [32/66] System.Private.Xml.Linq.dll -> System.Private.Xml.Linq.dll.bc
  [33/66] System.Reflection.Emit.dll -> System.Reflection.Emit.dll.bc
  [34/66] System.Reflection.Emit.ILGeneration.dll -> System.Reflection.Emit.ILGeneration.dll.bc
  [35/66] System.Reflection.Emit.Lightweight.dll -> System.Reflection.Emit.Lightweight.dll.bc
  [36/66] System.Reflection.Primitives.dll -> System.Reflection.Primitives.dll.bc
  [37/66] System.Reflection.TestModule.dll -> System.Reflection.TestModule.dll.bc
  [38/66] System.Reflection.TypeExtensions.dll -> System.Reflection.TypeExtensions.dll.bc
  [39/66] System.Runtime.dll -> System.Runtime.dll.bc
  [40/66] System.Runtime.InteropServices.dll -> System.Runtime.InteropServices.dll.bc
  [41/66] System.Runtime.InteropServices.JavaScript.dll -> System.Runtime.InteropServices.JavaScript.dll.bc
  [42/66] System.Runtime.Loader.dll -> System.Runtime.Loader.dll.bc
  [43/66] System.Runtime.Numerics.dll -> System.Runtime.Numerics.dll.bc
  [44/66] System.Runtime.Serialization.Formatters.dll -> System.Runtime.Serialization.Formatters.dll.bc
  [System.Private.CoreLib.dll] Exec (with response file contents expanded) in /datadisks/disk1/work/9C690826/w/A024090B/e/publish: MONO_PATH=/datadisks/disk1/work/9C690826/w/A024090B/e/publish:/datadisks/disk1/work/9C690826/p/build/microsoft.netcore.app.runtime.browser-wasm/runtimes/browser-wasm/native/:/datadisks/disk1/work/9C690826/p/build/microsoft.netcore.app.runtime.browser-wasm/runtimes/browser-wasm//lib/net7.0 MONO_ENV_OPTIONS= /datadisks/disk1/work/9C690826/p/build/cross/mono-aot-cross --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,dwarfdebug,llvm-path=/datadisks/disk1/work/9C690826/p/build/emsdk/upstream/bin/,static,llvmonly,interp,asmonly,llvm-outfile=/datadisks/disk1/work/9C690826/w/A024090B/e/wasm_build/obj/wasm/for-build/System.Private.CoreLib.dll.bc.tmp" "System.Private.CoreLib.dll"
  
/datadisks/disk1/work/9C690826/p/build/wasm/WasmApp.Native.targets(580,5): error : Precompiling failed for /datadisks/disk1/work/9C690826/w/A024090B/e/publish/System.Private.CoreLib.dll with exit code 139. [/datadisks/disk1/work/9C690826/w/A024090B/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/9C690826/p/build/wasm/WasmApp.Native.targets(580,5): error :  [/datadisks/disk1/work/9C690826/w/A024090B/e/publish/ProxyProjectForAOTOnHelix.proj]
  [45/66] System.Security.Claims.dll -> System.Security.Claims.dll.bc
  [46/66] System.Runtime.Tests.dll -> System.Runtime.Tests.dll.bc

real	0m19.645s
user	0m21.675s
sys	0m1.495s
\n** Performance summary for the build **\n
/datadisks/disk1/work/9C690826/p/build/wasm/WasmApp.Native.targets(580,5): error : Precompiling failed for /datadisks/disk1/work/9C690826/w/A024090B/e/publish/System.Private.CoreLib.dll with exit code 139. [/datadisks/disk1/work/9C690826/w/A024090B/e/publish/ProxyProjectForAOTOnHelix.proj]
/datadisks/disk1/work/9C690826/p/build/wasm/WasmApp.Native.targets(580,5): error :  [/datadisks/disk1/work/9C690826/w/A024090B/e/publish/ProxyProjectForAOTOnHelix.proj]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions