[fpc-pascal] Building compiler which stalls

Jonas Maebe jonas at freepascal.org
Sat Mar 4 12:28:15 CET 2023


On 04/03/2023 07:24, Hairy Pixels via fpc-pascal wrote:
> Here’s the build command I used and it builds the compiler up to step #2 but then when it copies the compiler to compiler/ppca64 things fall apart. I noticed the following command "make distclean” stalled out at some point so I tried to run the compiler at compiler/ppca64 and it just stalls out, spinning the CPU at 100% in an infinite loop and never prints the normal FPC header.

You can add "-Xs- -gw -Xg" to OPT to prevent symbol stripping and add 
debug info, and then when it's stuck either attach a debugger or run 
"sample ppcx64"


Jonas


More information about the fpc-pascal mailing list