On 2024-04-23 11:50, Marģers . via fpc-devel wrote:
1) does not work
make clean singlezipinstall OS_TARGET=win32 CPU_TARGET=i386
ALLOW_WARNINGS=1 OPT="  -O2 -vxitl -Cp80486 -Op80486"

hangs on
system.inc(421,2) Start reading includefile
C:\Users\Lietotajs\Downloads\fora\a\486\gh\rtl\inc\generic.inc
 .
 .

Indeed. This is clearly an issue related to optimizations. The important point missing here is that it happens when compiling with ppc1.exe. I just tried building a trunk compiler (make rtl_all compiler_all) with "OPT=-O- -Cp80486 -Op80486" and then started another compilation round with compiler built this way, but using -O2 this time, in order to make sure that it wasn't an optimization bug in the released 3.2.2 compiler. The new compilation round (using a non-optimized compiler) hangs at an exactly the same place, i.e. it's a bug (probably endless loop?) in the optimization code specific to the trunk compiler. @Gareth, could you please have a look at it?

Tomas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to