[fpc-devel] Compiling trunk on OS X

Florian Klämpfl florian at freepascal.org
Sat Feb 1 23:34:02 CET 2014


Am 01.02.2014 23:29, schrieb Jonas Maebe:
> 
> On 01 Feb 2014, at 23:25, Florian Klämpfl wrote:
> 
>> Am 01.02.2014 23:15, schrieb Ewald:
>>> 
>>> On 01 Feb 2014, at 23:11, Jonas Maebe wrote:
>>> 
>>>> The code changed in that revision only gets activated when 
>>>> targeting win64, as far as I can tell.
>>> 
>>> That might be the case. My honesty obliges me to admit that my 
>>> knowledge of the compiler is zip. Perhaps the two minor changes
>>> the log message talks about can shed some light on this new
>>> development?
>>> 
>>> Anyway, if I can provide anything else, just ask.
>> 
>> Just to be sure: your working copy is clean?
> 
> I can reproduce it. The problem does not happen when starting the
> make all with an x86-64 compiler, nor when disabling optimizations.
> So it seems like it's a bug in the i386 code generator or optimizer
> that causes a bug in the x86-64 cross-compiler, which in turn causes
> the generated native x86-64 compiler to be buggy. I guess the change
> in r26222 somehow manages to trigger that bug... These are some of
> the worst kind of things to debug :/

It might be worth to diff the assembler generated by the cross compiler
and ppc2? Maybe I should get once a Mac for testing as well :)



More information about the fpc-devel mailing list