Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Hy. On 05.02.10 20:07, Zoltan Varga wrote: Full-aot support is intended for platforms where JITting is not permitted, like the iphone. So ARM is supported, and x86-64 is supported because thats where development is done. I read the Mono Documentation about (Full-) AOT and was wondering why Full-AOT is not supported on the x86 architecture. The common argumentation for Full-AOT support correponds to Zoltans statement. So, I want to know if there are also technical reasons that prohibit Full-AOT support on x86? But obviously, x86 development is not worthwhile (according to Zoltans statement). Thank you for your answers! With kind regards, Martin Däumler ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
On 06.02.2010 11:46, Martin Däumler wrote: Hy. On 05.02.10 20:07, Zoltan Varga wrote: Full-aot support is intended for platforms where JITting is not permitted, like the iphone. So ARM is supported, and x86-64 is supported because thats where development is done. I read the Mono Documentation about (Full-) AOT and was wondering why Full-AOT is not supported on the x86 architecture. The common argumentation for Full-AOT support correponds to Zoltans statement. So, I want to know if there are also technical reasons that prohibit Full-AOT support on x86? But obviously, x86 development is not worthwhile (according to Zoltans statement). You're confused regarding worthwhile. It's much harder to develop on an ARM board or emulator than on x86_64, which happens to be Zoltan's main development platform. That's the only reason why full AOT is also available for x86_64. If his main platform were x86, then we'd have full AOT for x86 alongside ARM. Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Hi, No, there are no technical reasons. Zoltan On Sat, Feb 6, 2010 at 11:46 AM, Martin Däumler m...@cs.tu-chemnitz.dewrote: Hy. On 05.02.10 20:07, Zoltan Varga wrote: Full-aot support is intended for platforms where JITting is not permitted, like the iphone. So ARM is supported, and x86-64 is supported because thats where development is done. I read the Mono Documentation about (Full-) AOT and was wondering why Full-AOT is not supported on the x86 architecture. The common argumentation for Full-AOT support correponds to Zoltans statement. So, I want to know if there are also technical reasons that prohibit Full-AOT support on x86? But obviously, x86 development is not worthwhile (according to Zoltans statement). Thank you for your answers! With kind regards, Martin Däumler ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
On 06.02.10 20:13, Zoltan Varga wrote: No, there are no technical reasons. Hy, thank you for your answers! Well, I am going to dive deeper into the code in order to investigate this furhter. With kind regards, Martin Däumler ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Hello, I need a little update here, please. Is it intended to make Full-AOT available to the x86 platform running a Linux OS (maybe in terms of the next 2.6.x release discussed here)? If not, why Full-AOT is not implemented for the x86 platform so far? I ask here in order to avoid unnecessary work. With kind regards, Martin Däumler ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
On Fri, Feb 5, 2010 at 12:14 PM, Martin Däumler m...@cs.tu-chemnitz.dewrote: Hello, I need a little update here, please. Is it intended to make Full-AOT available to the x86 platform running a Linux OS (maybe in terms of the next 2.6.x release discussed here)? If not, why Full-AOT is not implemented for the x86 platform so far? I ask here in order to avoid unnecessary work. With kind regards, Martin Däumler Hi Martin, Full AOT should work for ARM and x86_64, starting with Mono 2.6 (at least according to the AOT page). --B.R. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Hi, Full-aot support is intended for platforms where JITting is not permitted, like the iphone. So ARM is supported, and x86-64 is supported because thats where development is done. Zoltan On Fri, Feb 5, 2010 at 6:14 PM, Martin Däumler m...@cs.tu-chemnitz.dewrote: Hello, I need a little update here, please. Is it intended to make Full-AOT available to the x86 platform running a Linux OS (maybe in terms of the next 2.6.x release discussed here)? If not, why Full-AOT is not implemented for the x86 platform so far? I ask here in order to avoid unnecessary work. With kind regards, Martin Däumler ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
I am indeed trying to compile a 2.0 version of the mscorlib. I will grab the 1.0 version instead and see if I have better luck with that one...if I can get that to work then I will migrate to use the code from SVN and try with the 2.0 profile. Thanks, Zoltan Varga wrote: Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22039018.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Nope...same results with a mscorlib.dll from the 1.0 folder. It gets stuck in the mono_local_regalloc method on the assert checking for ins-sreg != -1... Exactly the same message as before. It is trying to compile the Equals method The inst op code is 633 and both sreg1 and sreg2 is -1.. . I am running the system with build 125709 and compiling the mscorlib.dll from the 1.0 folder... mobbe wrote: I am indeed trying to compile a 2.0 version of the mscorlib. I will grab the 1.0 version instead and see if I have better luck with that one...if I can get that to work then I will migrate to use the code from SVN and try with the 2.0 profile. Thanks, Zoltan Varga wrote: Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22049003.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Try updating to mono HEAD. SVN versions sometimes have bugs like that, but SVN HEAD works for me when using AOT on ARM. Zoltan On Tue, Feb 17, 2009 at 2:45 AM, mobbe peter.mob...@gmail.com wrote: Nope...same results with a mscorlib.dll from the 1.0 folder. It gets stuck in the mono_local_regalloc method on the assert checking for ins-sreg != -1... Exactly the same message as before. It is trying to compile the Equals method The inst op code is 633 and both sreg1 and sreg2 is -1.. . I am running the system with build 125709 and compiling the mscorlib.dll from the 1.0 folder... mobbe wrote: I am indeed trying to compile a 2.0 version of the mscorlib. I will grab the 1.0 version instead and see if I have better luck with that one...if I can get that to work then I will migrate to use the code from SVN and try with the 2.0 profile. Thanks, Zoltan Varga wrote: Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22049003.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Will try to do that... Regarding the files in mono/arch/arm... Do I have to regenerate these files or can I use the h-files that are present? Since I am compiling on a Mac OS X I would need to fake being on an ARM if I need to run anything in the arch folder... On Feb 16, 2009, at 8:01 PM, Zoltan Varga wrote: Try updating to mono HEAD. SVN versions sometimes have bugs like that, but SVN HEAD works for me when using AOT on ARM. Zoltan On Tue, Feb 17, 2009 at 2:45 AM, mobbe peter.mob...@gmail.com wrote: Nope...same results with a mscorlib.dll from the 1.0 folder. It gets stuck in the mono_local_regalloc method on the assert checking for ins- sreg != -1... Exactly the same message as before. It is trying to compile the Equals method The inst op code is 633 and both sreg1 and sreg2 is -1.. . I am running the system with build 125709 and compiling the mscorlib.dll from the 1.0 folder... mobbe wrote: I am indeed trying to compile a 2.0 version of the mscorlib. I will grab the 1.0 version instead and see if I have better luck with that one...if I can get that to work then I will migrate to use the code from SVN and try with the 2.0 profile. Thanks, Zoltan Varga wrote: Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22049003.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Svn head was broken for a big part of the day during a brain dead commit I did. Please try again. On Mon, Feb 16, 2009 at 10:45 PM, mobbe peter.mob...@gmail.com wrote: Nope...same results with a mscorlib.dll from the 1.0 folder. It gets stuck in the mono_local_regalloc method on the assert checking for ins-sreg != -1... Exactly the same message as before. It is trying to compile the Equals method The inst op code is 633 and both sreg1 and sreg2 is -1.. . I am running the system with build 125709 and compiling the mscorlib.dll from the 1.0 folder... mobbe wrote: I am indeed trying to compile a 2.0 version of the mscorlib. I will grab the 1.0 version instead and see if I have better luck with that one...if I can get that to work then I will migrate to use the code from SVN and try with the 2.0 profile. Thanks, Zoltan Varga wrote: Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22049003.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Hi, mono on iphone is not really a supported configuration right now, it works for some people, but expect to run into lots of problems. Cross compiling mono for arm is especially fraught with problems, better to compile on the device itself. Zoltan On Tue, Feb 17, 2009 at 3:12 AM, Peter Moberg peter.mob...@gmail.com wrote: Will try to do that... Regarding the files in mono/arch/arm... Do I have to regenerate these files or can I use the h-files that are present? Since I am compiling on a Mac OS X I would need to fake being on an ARM if I need to run anything in the arch folder... On Feb 16, 2009, at 8:01 PM, Zoltan Varga wrote: Try updating to mono HEAD. SVN versions sometimes have bugs like that, but SVN HEAD works for me when using AOT on ARM. Zoltan On Tue, Feb 17, 2009 at 2:45 AM, mobbe peter.mob...@gmail.com wrote: Nope...same results with a mscorlib.dll from the 1.0 folder. It gets stuck in the mono_local_regalloc method on the assert checking for ins-sreg != -1... Exactly the same message as before. It is trying to compile the Equals method The inst op code is 633 and both sreg1 and sreg2 is -1.. . I am running the system with build 125709 and compiling the mscorlib.dll from the 1.0 folder... mobbe wrote: I am indeed trying to compile a 2.0 version of the mscorlib. I will grab the 1.0 version instead and see if I have better luck with that one...if I can get that to work then I will migrate to use the code from SVN and try with the 2.0 profile. Thanks, Zoltan Varga wrote: Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22049003.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Hello, mono on iphone is not really a supported configuration right now, it works for some people, Additionally, due to the way applications are distributed on the iPhone (end-user has no choice to relink the application with newer Mono versions that the LGPL requires) you would have to obtain a commercial license from Novell for Mono. Alternatively, you can use Unity3d which is a licensor of Mono. Miguel. but expect to run into lots of problems. Cross compiling mono for arm is especially fraught with problems, better to compile on the device itself. Zoltan On Tue, Feb 17, 2009 at 3:12 AM, Peter Moberg peter.mob...@gmail.com wrote: Will try to do that... Regarding the files in mono/arch/arm... Do I have to regenerate these files or can I use the h-files that are present? Since I am compiling on a Mac OS X I would need to fake being on an ARM if I need to run anything in the arch folder... On Feb 16, 2009, at 8:01 PM, Zoltan Varga wrote: Try updating to mono HEAD. SVN versions sometimes have bugs like that, but SVN HEAD works for me when using AOT on ARM. Zoltan On Tue, Feb 17, 2009 at 2:45 AM, mobbe peter.mob...@gmail.com wrote: Nope...same results with a mscorlib.dll from the 1.0 folder. It gets stuck in the mono_local_regalloc method on the assert checking for ins- sreg != -1... Exactly the same message as before. It is trying to compile the Equals method The inst op code is 633 and both sreg1 and sreg2 is -1.. . I am running the system with build 125709 and compiling the mscorlib.dll from the 1.0 folder... mobbe wrote: I am indeed trying to compile a 2.0 version of the mscorlib. I will grab the 1.0 version instead and see if I have better luck with that one...if I can get that to work then I will migrate to use the code from SVN and try with the 2.0 profile. Thanks, Zoltan Varga wrote: Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22049003.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Looks like you are right regarding the fact that I will be running into a lot of problems... Going to sound like a broken record...but I did get latest from SVN... compiled everything for the iPhone ARM...Successfully started up Mono on the iPhone device...started to compile mscorlib (profile 1 as well as profile 2) in AOT mode.BAM!...same assert as mentioned below triggered. Since I am able to run Mono on the iPhone and I am performing the AOT compilation on the iPhone with its ARM processor I am bit surprised that it still doesn't work... the only thing I can think of is that there are a few files that are generated before compilation... e.g. cpu-arm.h and a few others in the arch folder..and that they are not correct on my side... if anyone have those files and are able to run on the ARM processor I would love to take a look at them to compare On Feb 16, 2009, at 8:19 PM, Zoltan Varga wrote: Hi, mono on iphone is not really a supported configuration right now, it works for some people, but expect to run into lots of problems. Cross compiling mono for arm is especially fraught with problems, better to compile on the device itself. Zoltan On Tue, Feb 17, 2009 at 3:12 AM, Peter Moberg peter.mob...@gmail.com wrote: Will try to do that... Regarding the files in mono/arch/arm... Do I have to regenerate these files or can I use the h-files that are present? Since I am compiling on a Mac OS X I would need to fake being on an ARM if I need to run anything in the arch folder... On Feb 16, 2009, at 8:01 PM, Zoltan Varga wrote: Try updating to mono HEAD. SVN versions sometimes have bugs like that, but SVN HEAD works for me when using AOT on ARM. Zoltan On Tue, Feb 17, 2009 at 2:45 AM, mobbe peter.mob...@gmail.com wrote: Nope...same results with a mscorlib.dll from the 1.0 folder. It gets stuck in the mono_local_regalloc method on the assert checking for ins- sreg != -1... Exactly the same message as before. It is trying to compile the Equals method The inst op code is 633 and both sreg1 and sreg2 is -1.. . I am running the system with build 125709 and compiling the mscorlib.dll from the 1.0 folder... mobbe wrote: I am indeed trying to compile a 2.0 version of the mscorlib. I will grab the 1.0 version instead and see if I have better luck with that one...if I can get that to work then I will migrate to use the code from SVN and try with the 2.0 profile. Thanks, Zoltan Varga wrote: Hi, You might be trying to use full-aot with the 2.0 profile. Currently, only the 1.0 mscorlib can be full-aot-ed, altough 2.0 should work when using mono SVN. Zoltan On Mon, Feb 16, 2009 at 3:48 PM, mobbe peter.mob...@gmail.com wrote: I compiled the Mono framework (the unmanaged pieces) so that I could run it on my iPhone. I was successful in doing that and thought that I would try to do AOT on the iPhone...transfer the temporary asm output to my Mac to assemble and link it and from there keep going... however when performing the AOT compilation of mscorlib.dll Mono hit another assert... something with inst-sreg1 being negative 1 (-1) (Don't remember right now what funtion it stopped in..will have to supply that information when I get to my Mac later tonight). If I commented out the assert it went on a bit further but stopped on a another assert when trying to emit the op-code saying that it was expecting 0 bytes for the op-code ld_loadmembase but got 4... Anyone out there have an ideas of where I should be looking next in order to try to solve this? It seems like the instruction set it is using for ARM doesn't match the source codes assumptions. I am sure that I am doing something wrong but don't know where to begin to look for the issue. Maybe someone out there has a cpu-arm.h file that they know works that I can compare with mine? Are there any other generated files regarding the instruction set that I should double check? Thanks for your help in advance. Hi, full-aot currently only works on amd64/arm. Zoltan -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22038601.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p22049003.html Sent from the Mono - Dev mailing list
Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
Hi, full-aot currently only works on amd64/arm. Zoltan On Fri, Feb 13, 2009 at 4:08 AM, mobbe peter.mob...@gmail.com wrote: I downloaded a openSUSE 11.0 image with Mono 2.2 and tried the following in a terminal window... sudo mono --aot=full /usr/lib/1.0/mscorlib.dll The end result is that an assert in the code triggers a halt. The specific assert message is: ** ERROR: (mini-x86.c:5314): mono_arch_get_patch_offset: code should not be reached. I have been working with enabling AOT on the Mac and I get the same message there... looks like it doesn't recognize certain opcodes and then the assert halts the program. Anyone know on what platform/cpu combination and Mono version the full AOT actually works? I have been trying to debug the code and see if I could figure out what was wrong but as I said..it just looks like certain opcodes that Mono generates don't sit well with the code generator. If it is not the code but rather that I am not invoking the tools correctly then please let me know as well... Thanks -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p21988583.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?
I downloaded a openSUSE 11.0 image with Mono 2.2 and tried the following in a terminal window... sudo mono --aot=full /usr/lib/1.0/mscorlib.dll The end result is that an assert in the code triggers a halt. The specific assert message is: ** ERROR: (mini-x86.c:5314): mono_arch_get_patch_offset: code should not be reached. I have been working with enabling AOT on the Mac and I get the same message there... looks like it doesn't recognize certain opcodes and then the assert halts the program. Anyone know on what platform/cpu combination and Mono version the full AOT actually works? I have been trying to debug the code and see if I could figure out what was wrong but as I said..it just looks like certain opcodes that Mono generates don't sit well with the code generator. If it is not the code but rather that I am not invoking the tools correctly then please let me know as well... Thanks -- View this message in context: http://www.nabble.com/On-what-platform%7Ccpu-arch%7Cmono-version-does-full-AOT-actually-work--tp21988583p21988583.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list