Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Jonas Maebe
On 24 Sep 2012, at 20:31, Florian Klämpfl wrote: > Am 24.09.2012 11:43, schrieb Jonas Maebe: >> >> Mattias Gaertner wrote on Sun, 23 Sep 2012: >> >>> writeln('This gives true=',OnGetIncludePath = >>> @CodeToolBoss.GetIncludePathForDirectory); >> >> The result of such an expression is unpredict

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Florian Klämpfl
Am 24.09.2012 11:43, schrieb Jonas Maebe: > > Mattias Gaertner wrote on Sun, 23 Sep 2012: > >> Calling the method directly does not crash. >> Comparing the property and the address gives true: >> >> writeln('This gives true=',OnGetIncludePath = >> @CodeToolBoss.GetIncludePathForDirectory); > > T

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Jonas Maebe
Mattias Gaertner wrote on Mon, 24 Sep 2012: On Mon, 24 Sep 2012 11:43:32 +0200 Jonas Maebe wrote: > writeln('This gives true=',OnGetIncludePath = > @CodeToolBoss.GetIncludePathForDirectory); The result of such an expression is unpredictable on Linux/ppc64 and on AIX. The reason is that on t

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Mattias Gaertner
On Mon, 24 Sep 2012 11:43:32 +0200 Jonas Maebe wrote: > > Mattias Gaertner wrote on Sun, 23 Sep 2012: > > > Calling the method directly does not crash. > > Comparing the property and the address gives true: > > > > writeln('This gives true=',OnGetIncludePath = > > @CodeToolBoss.GetIncludePath

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Jonas Maebe
Mattias Gaertner wrote on Sun, 23 Sep 2012: Calling the method directly does not crash. Comparing the property and the address gives true: writeln('This gives true=',OnGetIncludePath = @CodeToolBoss.GetIncludePathForDirectory); The result of such an expression is unpredictable on Linux/ppc

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Mattias Gaertner
On Sun, 23 Sep 2012 17:29:23 +0200 Mattias Gaertner wrote: > Hi, > > I was not able to reproduce the crash in a simple program. So I'm > asking for help to create a good bug report. > > The crash happens in lazbuild only on powerpc 64bit Linux with fpc > 2.6.0 and fpc 2.7.1. It works on Linux 3

[fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-23 Thread Mattias Gaertner
Hi, I was not able to reproduce the crash in a simple program. So I'm asking for help to create a good bug report. The crash happens in lazbuild only on powerpc 64bit Linux with fpc 2.6.0 and fpc 2.7.1. It works on Linux 32+64bit intel+amd and powerpc 32bit OS X with any fpc. The crashing line l