KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I wanted to test Mono AOT, so I wrote a simple console application with MonoDevelop: using System; namespace abc { public class Program { public static void Main() { Console.WriteLine("Hello World!"); } } } It created a file named "abc.exe" in bin/debug. When I try to do: mono abc.exe it worked. So, I tried to AOT it. I did: mono --aot abc.exe it created me a file named abc.exe.so. When I try to start it, it throws an "Segmentation fault (core dumped)" error. Heres the output of mono --aot: Code: 51 Info: 5 Ex Info: 8 Unwind Info: 31 Class Info: 30 PLT: 2 GOT Info: 11 GOT Info Offsets: 16 GOT: 20 Offsets: 48 Compiled 2 out of 3 methods (66%) 1 methods have other problems (33%) Methods without GOT slots: 1 (33%) Direct calls: 0 (100%) JIT time: 1 ms, Generation time: 0 ms, Assembly+Link time: 0 ms. How can I fix it? Thanks.
Tags (comma-separated)
Save Edits
Cancel