[Mono-devel-list] New Mono compilation engine available.
Alan Tam
Tam at SiuLung.com
Sun Apr 6 05:32:47 EDT 2003
> sb at wopr-mobile:~/ > ./scriptperf.exe.so
> zsh: 1087 segmentation fault ./scriptperf.exe.so
>
> Unfortuneately I like the time right now to make a debug build and
> provide a stacktrace. Sorry.
You should run "mini scriptperf.exe" and it will use the .so file.
Regards,
Alan
----- Original Message -----
From: "Sebastian Bergmann" <lists at sebastian-bergmann.de>
To: <mono-devel-list at lists.ximian.com>
Sent: 20030406 17:27
Subject: Re: [Mono-devel-list] New Mono compilation engine available.
> Miguel de Icaza wrote:
> > In JIT mode, you have to run it like this:
> >
> > mini program.exe
>
> I tested mini a bit with the scriptperf.cs that was posted here
> a while ago and mini segfaults with --optimize=all:
>
> sb at wopr-mobile:~/ > mono scriptperf.exe
> loop_test 500000 elapsed: 0.064
> index_test 1000000 elapsed: 6.148
> index_string_test 1000000 elapsed: 2.02
> nested_int_test 23 elapsed: 0.053
> nested_test 23 elapsed: 0.112
> return_test 5000000 elapsed: 0.03
> object_test 5000000 elapsed: 0.103
>
> sb at wopr-mobile:~/ > mini scriptperf.exe
> loop_test 500000 elapsed: 0.095
> index_test 1000000 elapsed: 7.989
> index_string_test 1000000 elapsed: 2.575
> nested_int_test 23 elapsed: 0.053
> nested_test 23 elapsed: 0.107
> return_test 5000000 elapsed: 0.107
> object_test 5000000 elapsed: 0.122
>
> sb at wopr-mobile:~/ > mini --optimize=all scriptperf.exe
> loop_test 500000 elapsed: 0.033
> index_test 1000000 elapsed: 7.793
> index_string_test 1000000 elapsed: 2.559
> nested_int_test 23 elapsed: 0.029
> nested_test 23 elapsed: 0.106
> return_test 5000000 elapsed: 0.012
> zsh: 1046 segmentation fault mini --optimize=all scriptperf.exe
>
> > To run in ahead-of-time compilation mode, do this:
> >
> > mini --aot program.exe
> >
> > That will generate a precompiled assembly with the suffix `.so'.
>
> Executing an .so binary generated using --aot causes a segfault as
> well:
>
> sb at wopr-mobile:~/ > mini --aot scriptperf.exe
> Mono AOT compiler - compiling assembly scriptperf.exe
> Executing the native assembler now:
> as /tmp/mono_aot_01080 -o /tmp/mono_aot_01080.o;
> ld -shared -o scriptperf.exe.so /tmp/mono_aot_01080.o;
> rm /tmp/mono_aot_01080.o;
> strip --strip-unneeded --discard-all scriptperf.exe.so
> Compile 16 out of 16 methods (100%)
> 0 methods contains exception tables (0%)
> 0 methods contains absolute addresses (0%)
> 0 methods contains wrapper references (0%)
> 0 methods contains lmf pointers (0%)
> 0 methods has other problems (0%)
> AOT RESULT 0
>
> sb at wopr-mobile:~/ > ./scriptperf.exe.so
> zsh: 1087 segmentation fault ./scriptperf.exe.so
>
> Unfortuneately I like the time right now to make a debug build and
> provide a stacktrace. Sorry.
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/ http://phpOpenTracker.de/
>
> Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list