[Pkg-pascal-devel] Bug#818663: fpc FTBFS on i386.
peter green
plugwash at p10link.net
Sat Mar 19 14:43:43 UTC 2016
On 19/03/16 12:26, peter green wrote:
>
> This seems to be a result of the recent pic related backports. I'm
> working on a fix now.
ok, the first thing I did was move globtype (which provides TSymStr)
from the implementation uses to the interface uses so it would be
available at that line.
However I then discovered that the signature of the function in the new
patch did not match the signature of the function it was overriding.
From the patch:
function a_call_name(list: TAsmList; pd: tprocdef; const s: TSymStr;
const paras: array of pcgpara; forceresdef: tdef; weak: boolean):
tcgpara; override;
The overridden function.
function a_call_name(list : TAsmList;pd : tprocdef;const s : TSymStr;
forceresdef: tdef; weak: boolean): tcgpara;override;
The only thing that was done with the parameter was to pass it through
to the inherited function so I simply got rid of it.
The build then failed with
/usr/bin/ppc386 -Ur -Xs -O2 -n -Fui386 -Fusystems
-Fu/fpc-3.0.0+dfsg/fpcsrc/rtl/units/i386-linux -Fii386 -FE.
-FUi386/units/i386-linux -dRELEASE
@/fpc-3.0.0+dfsg/debian/deb-host-fpc.cfg -di386 -dGDB -dBROWSERLOG
-Fux86 -Sew pp.pas
hlcgcpu.pas(187,21) Error: Identifier not found "po_external"
hlcgcpu.pas(192,21) Error: Identifier not found "taicpu"
hlcgcpu.pas(232) Fatal: There were 2 errors compiling module, stopping
That was easy enough to fix, just adding a couple of things to the
implementation uses.
The result of that was a successful build, I have not done any
functional tests of the result yet. Debdiff attached, if someone else
wants to test and commit/upload feel free to go ahead if not i'll do it
when I get around to it.
I also notice some junk in the debdiff, presumablly the clean target
needs work.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fpc.debdiff
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160319/681457ca/attachment.ksh>
More information about the Pkg-pascal-devel
mailing list