[fpc-devel] FPC ARM7 problems

2014-08-07 Thread Sergio Flores
I have a somehow big pascal game (more than 200k lines of code) that I'm developing with FPC. Right now I found a strange crashing bug that only happened in iOS, running in the device (in the iOS simulator does not crash). Desktop platforms don't have any problems running the same code (Windows,

Re: [fpc-devel] FPC ARM7 problems

2014-08-07 Thread Jonas Maebe
On 07 Aug 2014, at 14:09, Sergio Flores wrote: 1 - This bug only happens with -O2 on, but with optimizations off the game does not crash. I always thought that using optimizations was safe. Can there be a compiler bug in the ARM7 codegen? Not so much in the code generator as in the

Re: [fpc-devel] FPC ARM7 problems

2014-08-07 Thread Sven Barth
Am 07.08.2014 14:09 schrieb Sergio Flores rel...@gmail.com: I have a somehow big pascal game (more than 200k lines of code) that I'm developing with FPC. Right now I found a strange crashing bug that only happened in iOS, running in the device (in the iOS simulator does not crash). Desktop

Re: [fpc-devel] FPC ARM7 problems

2014-08-07 Thread Jonas Maebe
On 07 Aug 2014, at 14:51, Jonas Maebe wrote: You can start by compiling individual units with different optimisations to figure out in which unit a bug is triggered. After that, you can put {$optimization off} in that unit after the first, second, third, ... procedure to see in which

Re: [fpc-devel] FPC ARM7 problems

2014-08-07 Thread Nico Erfurth
Hi Sergio, 3 - Finally, since I'm still using FPC 2.6.2 I decided to upgrade to 2.7.1 and try to recompile the game, to see if the crash in the game was gone. But, with FPC 2.7.2 I simply can't compile the game, it gives errors in the assembler stage. Basically I get lots of errors

Re: [fpc-devel] FPC ARM7 problems

2014-08-07 Thread Sergio Flores
I see guys, lots of useful info! I did not know that optimizations where switchable per unit, that is quite interesting and I can probably use it to better isolate the problem. I will also try disabling peephole optimisations then, it can probably work as a temporary fix to let me use all other

Re: [fpc-devel] FPC ARM7 problems

2014-08-07 Thread Jonas Maebe
On 07/08/14 15:45, Sergio Flores wrote: I see guys, lots of useful info! I did not know that optimizations where switchable per unit, that is quite interesting and I can probably use it to better isolate the problem. I will also try disabling peephole optimisations then, it can probably work as

[fpc-devel] Scheduled Downtime of main FPC server

2014-08-07 Thread Michael Van Canneyt
Hello, Saturday and sunday, the main FPC server will be out for a short time as mail, html (main FPC website and bugtracker) and SVN services are moved to a new machine. The plan is to move SVN/HTML first, (this should take little time) and move SMTP (mail) later in the weekend. The WIKI,

Re: [fpc-devel] fpc libraries do not work in freeBSD...

2014-08-07 Thread Fred van Stappen
Date: Wed, 6 Aug 2014 15:37:19 -0500 From: michal.wall...@gmail.com To: fpc-devel@lists.freepascal.org Subject: Re: [fpc-devel] fpc libraries do not work in freeBSD... It looks like my old post had an error when I tried to copy and paste the text.The last line that is repeated 3 times should be

Re: [fpc-devel] fpc libraries do not work in freeBSD...

2014-08-07 Thread Fred van Stappen
Date: Wed, 6 Aug 2014 15:37:19 -0500 From: michal.wall...@gmail.com To: fpc-devel@lists.freepascal.org Subject: Re: [fpc-devel] fpc libraries do not work in freeBSD... It looks like my old post had an error when I tried to copy and paste the text.The last line that is repeated 3 times should be