[fpc-devel] Linux compilation question

Florian Klämpfl florian at freepascal.org
Sat Dec 1 10:05:29 CET 2018


Am 30.11.2018 um 14:39 schrieb J. Gareth Moreton:
> Hi everyone,
> 
> I have a little question.  I'm having problems compiling fpc under x86_64-linux.  At first I thought it was a bug in one
> of my changes, but it seems to occur on the trunk as well.  After successfully compiling the compiler a few times, the
> following happens:
> 
> /usr/bin/diff ppc3 ppcx64
> Binary files ppc3 and ppcx64 differ
> 
> And then it drops out.  I've tried the usual things of doing a "make distclean", but am I missing something obvious? 

This means that the compiler generates wrong code which results in wrong code generation :). These things are very hard
to debug. The only way is to compare the disassembly manually to find out where it differs and then to debug why it
generates this particular code at that location.

> Preliminary Linux testing is the only thing I'm missing before I'm ready to present a patch.

Did you run regression tests?



More information about the fpc-devel mailing list