Memory map runtime error while linking
- Dominant language
- C#
- Stars
- 392
- Forks
- 128
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 2
Description
Not sure what to make of this one
```~/Projects/dotnet-runtime-wasm$ ./build.sh libs -c debug -os browser```
->
```
ApiCompat ->
Trimming browser-wasm runtime pack assemblies with ILLinker...
ILLink : error IL1012: IL Linker has encountered an unexpected error. Please report the issue at https://github.com/mono/linker/issues [/home/kate/Projects/dotnet-runtime-wasm/src/libraries/src.proj]
Fatal error in IL Linker
Unhandled exception. System.ArgumentException: A positive capacity must be specified for a Memory Mapped File backed by an empty file.
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile(FileStream fileStream, String mapName, Int64 capacity, MemoryMappedFileAccess access, HandleInheritability inheritability, Boolean leaveOpen) in System.IO.MemoryMappedFiles.dll:token 0x600004c+0x53
at Mono.Linker.AssemblyResolver.GetAssembly(String file) in illink.dll:token 0x60000d6+0x12
at Mono.Linker.Steps.RootAssemblyInput.LoadAssemblyFile() in illink.dll:token 0x60004de+0xd
at Mono.Linker.Steps.RootAssemblyInput.Process() in illink.dll:token 0x60004dd+0x0
at Mono.Linker.Steps.BaseStep.Process(LinkContext context) in illink.dll:token 0x600032f+0x10
at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step) in illink.dll:token 0x6000292+0x0
at Mono.Linker.Pipeline.Process(LinkContext context) in illink.dll:token 0x6000291+0xf
at Mono.Linker.Driver.Run(ILogger customLogger) in illink.dll:token 0x6000124+0x20
at Mono.Linker.Driver.Main(String[] args) in illink.dll:token 0x600011e+0x29
Build FAILED.
ILLink : error IL1012: IL Linker has encountered an unexpected error. Please report the issue at https://github.com/mono/linker/issues [/home/kate/Projects/dotnet-runtime-wasm/src/libraries/src.proj]
0 Warning(s)
1 Error(s)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.