[fpc-devel] Compiling for libgdb, and using make -j on larger SPARC systems
Mark Morgan Lloyd
markMLl.fpc-devel at telemetry.co.uk
Mon Aug 26 14:11:30 CEST 2013
Sven Barth wrote:
> Am 26.08.2013 11:55, schrieb Mark Morgan Lloyd:
>> Mark Morgan Lloyd wrote:
>>> Sven Barth wrote:
>>>
>>>>> Would it help if I were to build a cross-compiler here and try
>>>>> building
>>>>> the IDE both with and without libgdb?
>>>>
>>>> It would help more if you'd be able to reduce the problem from
>>>> "compile IDE with libgdb" to "compile this simple unit/program".
>>>> Thus could you please try to reduce the ide/fpregs.pp unit (which
>>>> contains the suspicious TVectorRegs record) so far that it can be
>>>> compiled standalone (no further dependencies), but still triggers
>>>> the exception?
>>>
>>> I'll be back.
>>
>> This isn't quite what you've asked, but I can duplicate it with a
>> minimal program:
>>
>>
> Well, at least it isn't *that* bad. You should now be able to just cycle
> the compiler (cd compiler && make cycle) and then compile the test
> program to check when things go wrong.
>> I'm having problems reducing fpregs to a simple program, I'll post
>> more details once I've been able to look at it on the machine I've
>> moved onto for test purposes.
>>
> 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.
--
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