Re: [fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?

2021-12-12 Thread Yuriy Sydorov via fpc-devel
On 11.12.2021 22:31, Marco van de Voort via fpc-devel wrote: FPC trunk building lazarus trunk fails with compiler AV ? An old ghost seems to have resurfaced. I didn't build a development lazarus for a while (I used a stable one for work), but at least 1-2 weeks I have this problem: (3104) C

Re: [fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?

2021-12-12 Thread Marco van de Voort via fpc-devel
On 12-12-2021 14:47, Yuriy Sydorov via fpc-devel wrote: Any pointers? I've tried to reproduce the AV while building Lazarus on i386-win32 with -O2 and -O3 options, but it works for me. What compiler options have you used to build Lazarus? lazbuild --pcp=c:\repo\lazarusgit\config --build

Re: [fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?

2021-12-12 Thread Florian Klämpfl via fpc-devel
Am 12.12.2021 um 15:18 schrieb Marco van de Voort via fpc-devel: On 12-12-2021 14:47, Yuriy Sydorov via fpc-devel wrote: Any pointers? I've tried to reproduce the AV while building Lazarus on i386-win32 with -O2 and -O3 options, but it works for me. What compiler options have you used to b

Re: [fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?

2021-12-12 Thread Marco van de Voort via fpc-devel
On 12-12-2021 15:19, Florian Klämpfl via fpc-devel wrote: What -Cp/-Cf option do you use? To compile FPC: set CPUOPTS=-O2  -Opcoreavx -Cpcoreavx set CPUOPTS64=-Cfavx I didn't enter those in Lazarus I think, so that should be pretty much default. ___

Re: [fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?

2021-12-12 Thread Yuriy Sydorov via fpc-devel
On 12.12.2021 16:24, Marco van de Voort via fpc-devel wrote: On 12-12-2021 15:19, Florian Klämpfl via fpc-devel wrote: What -Cp/-Cf option do you use? To compile FPC: set CPUOPTS=-O2  -Opcoreavx -Cpcoreavx set CPUOPTS64=-Cfavx I didn't enter those in Lazarus I think, so that should be pret

Re: [fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?

2021-12-12 Thread Marco van de Voort via fpc-devel
On 12-12-2021 17:21, Yuriy Sydorov via fpc-devel wrote: On 12.12.2021 16:24, Marco van de Voort via fpc-devel wrote: On 12-12-2021 15:19, Florian Klämpfl via fpc-devel wrote: What -Cp/-Cf option do you use? To compile FPC: set CPUOPTS=-O2  -Opcoreavx -Cpcoreavx set CPUOPTS64=-Cfavx I did

Re: [fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?

2021-12-12 Thread Karoly Balogh via fpc-devel
Hi, On Sun, 12 Dec 2021, Yuriy Sydorov via fpc-devel wrote: > > set CPUOPTS=-O2  -Opcoreavx -Cpcoreavx > > set CPUOPTS64=-Cfavx > > > > I didn't enter those in Lazarus I think, so that should be pretty much > default. > > Should be fixed now. The AVs have occurred only when targeting the AVX FPU.