[Pkg-pascal-devel] fpc: git push experimental
Graham Inggs
graham at nerve.org.za
Tue Sep 15 11:33:10 UTC 2015
On 15/09/2015 12:19, Graham Inggs wrote:
> On 14/09/2015 18:02, Graham Inggs wrote:
>> I've just noticed a reply from upstream about the '-z relro' issue on
>> ARM [1]. They suggested I try with r31451 [2] merged.
>>
>> I'll give that a go during this week and provide feedback.
>>
>>
>> [1] http://bugs.freepascal.org/view.php?id=28448
>> [2]
>> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=fpc&revision=31451
>>
>
> I'm getting a build failure on armhf with 3.0.0~rc1+dfsg-1, before
> even trying to merge r31451.
>
>
> flt_pack.inc(119,5) Error: Syntax error while parsing a conditional
> compiling expression
> system.inc(1824,8) Warning: Implicit string type conversion from
> "RawByteString" to "UnicodeString"
> system.pp(375) Fatal: There were 1 errors compiling module, stopping
>
>
> Excerpts from the files below:
>
>
> pcsrc/rtl/inc/flt_pack.inc:
>
> 119>>>>>{$if defined(fpc_softfpu_implementation)
> or ( defined(FPC_SYSTEM_HAS_extractFloat64Frac)
> and defined(FPC_SYSTEM_HAS_extractFloat64Exp)
> and defined(FPC_SYSTEM_HAS_extractFloat64Sign)
> )}
>
>
> fpcsrc/rtl/inc/system.inc:
>
> procedure do_getdir(drivenr : byte;var dir : unicodestring);
> var
> s: rawbytestring;
> begin
> Do_getdir(drivenr,s);
> 1824>>>>> dir:=s;
> end;
>
I've just noticed the above error is similar to what I reported in the
upstream bug.
I have good news though, r31451 applies to fpc 2.6.4 and I was able to
build the ddrescueview Debian package on armhf!
Lazarus did not even need to be rebuilt.
I can't think of a quick way to test armel.
More information about the Pkg-pascal-devel
mailing list