dotnet / dotnet/linker

ILLink : error IL1012 with macOS, .NET 7.0

Open
#3,157 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

```
Optimizing assemblies for size. This process might take a while.
ILLink : error IL1012: IL Trimmer has encountered an unexpected error. Please report the issue at https://github.com/dotnet/linker/issues [/Users/runner/work/N_m3u8DL-RE/N_m3u8DL-RE/src/N_m3u8DL-RE/N_m3u8DL-RE.csproj]
Fatal error in IL Linker
Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'target')
at Mono.Cecil.Cil.ILProcessor.InsertAfter(Instruction target, Instruction instruction)
at Mono.Linker.LinkerILProcessor.InsertAfter(Instruction target, Instruction instruction)
at Mono.Linker.Steps.MarkStep.ProcessPendingTypeChecks()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
at Mono.Linker.Pipeline.Process(LinkContext context)
at Mono.Linker.Driver.Run(ILogger customLogger)
at Mono.Linker.Driver.Main(String[] args)
```
Detail here:
https://github.com/nilaoda/N_m3u8DL-RE/actions/runs/3663371272/jobs/6193112246

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.