[Lazarus] Building trunk Lazarus with trunk FPC

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Fri Dec 27 14:50:55 CET 2013


Mark Morgan Lloyd wrote:
> Mark Morgan Lloyd wrote:
>>> I know that this is not a supported combination, but I've just been 
>>> trying to build trunk Lazarus (r43576) with trunk FPC (r26258) to see 
>>> if I can work around a couple of recently-fixed issues. FPC trunk 
>>> builds clean, and Lazarus (default configuration) builds with FPC 2.6.2.
> 
>>> On SPARC-Linux (Debian "Lenny"), I get this:
> 
>>> I appreciate that neither of these OSes are particularly fresh, but 
>>> I'd comment that Lenny in particular is a bit of a "sweet spot" as 
>>> far as non-x86 platforms go: SPARC, some PPC and some ARM (and 
>>> possibly other systems which I don't have here) suffer from fairly 
>>> severe "bit rot" on later versions.
> 
>  > Yes, that's codegeneration issue. SPARC code generator needs to
>  > override g_external_wrapper method and emit something more
>  > sophisticated than a simple branch (which is limited to 8 MB in
>  > either direction).The stubs that cause a error were not generated
>  > by FPC 2.6.2. They were introduced to fix
>  > http://bugs.freepascal.org/view.php?id=24536 Feel free to report a
>  > bug, so it won't be forgotten.
>  > Regards,Sergei
> 
> Raised as http://bugs.freepascal.org/view.php?id=25455

Thanks for the fix Sergei, looks good.

-- 
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 Lazarus mailing list