Skip to content
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

Running monolinker against itself #249

Closed
nealef opened this issue Jan 30, 2018 · 1 comment
Closed

Running monolinker against itself #249

nealef opened this issue Jan 30, 2018 · 1 comment

Comments

@nealef
Copy link

nealef commented Jan 30, 2018

Just for chuckles I ran monolinker against itself:

# mono monolinker.exe -a monolinker.exe -c link -u link -d /root/linker/linker/bin/Debug
Fatal error in Mono CIL Linker
Mono.Linker.MarkException: Error processing method: 'System.Int32 Mono.Linker.Driver::Main(System.String[])' in assembly: 'monolinker.exe' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void System.Console::WriteLine(System.Object)
  at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod (Mono.Cecil.MethodReference reference) [0x0001a] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x00064] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction) [0x0004f] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x000a5] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x001a4] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x0001f] in <b086ec9851fd46808828fe74fca2942a>:0 
   --- End of inner exception stack trace ---
  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x0004e] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue () [0x00012] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Steps.MarkStep.Process () [0x00144] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x0000f] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x0001f] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Driver.Run () [0x0053b] in <b086ec9851fd46808828fe74fca2942a>:0 
  at Mono.Linker.Driver.Main (System.String[] args) [0x0001e] in <b086ec9851fd46808828fe74fca2942a>:0
@marek-safar
Copy link
Contributor

I can no longer reproduce the issue with master version

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants