[fpc-devel] Compiling for libgdb, and using make -j on larger SPARC systems

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Tue Aug 27 10:35:57 CEST 2013

Sven Barth wrote:

>>> It will be interesting to see what minimal code will trigger the 
>>> problem. Maybe it will point to a more serious problem inside the 
>>> compiler.
>> I've now got a standalone test_fpregs.pas which fails to compile in 
>> the expected way, i.e. a compile-time error in ncgld.pas. I've got 
>> other jobs to do for a few hours but will see what I can rip out 
>> without losing the erroneous behaviour.
> Take your time. A few hours/days more or less won't hurt and at least we 
> already know a fix for the resulting problem, but I'd also like to fix 
> the cause :)

It's not triggered by fpregs.pas. It's triggered by importing one or 
more of FPViews FPVars FPDebug which suggests to me that it's in some 
common file that those three (but not FPConst) themselves import.

I wish I'd got one of my elderly ARM systems available, since it would 
be interesting to know if it happens on another architecture that's 
picky about alignment.

Work continues intermittently.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-devel mailing list