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

2021-12-13 Thread Karoly Balogh via fpc-devel
Hi, On Mon, 13 Dec 2021, Yuriy Sydorov via fpc-devel wrote: > > I've no doubt the problem is in the m68k target, and the IE only exposed > > it, but regardless, register allocation is not one of my strenght, so > > ideas welcomed. > > The new internal error catches incorrect usage of

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

2021-12-13 Thread Yuriy Sydorov via fpc-devel
On 13.12.2021 4:57, Karoly Balogh via fpc-devel wrote: Should be fixed now. The AVs have occurred only when targeting the AVX FPU. Yuriy, your fix seems to break m68k, in particular m68k runs into that newly added IE: ~External command

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

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

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

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 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

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

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

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

2021-12-11 Thread Marco van de Voort via fpc-devel
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) Compiling postscriptcanvas.pas (3104) Compiling printers.pas