[Pkg-pascal-devel] Bug#813452: Bug#813452: [Core] Bug#813452: Bug#813452: fpc-3.0 regression in armhf and armel architectures

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Fri Feb 26 09:53:11 UTC 2016


Hi

>I'm not sure but if you checkout (untar) a snpashot on abel.debian.org and just run make all it would work.

I did:
wget ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpcbuild.zip

unzip fpcbuild.zip
cd fpcsrc
make all.

the builds fails with 

as  -o /home/locutusofborg/fpc-3.1~alpha+dfsg/fpcsrc/rtl/units/arm-linux/ucprt0.o arm/ucprt0.as
/usr/bin/ppcarm -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -FE. -FU/home/locutusofborg/fpc-3.1~alpha+dfsg/fpcsrc/rtl/units/arm-linux -darm -dRELEASE -Us -Sg system.pp
arm.inc(18,2) Error: Illegal assembler style specified "GAS"
system.inc(1824,8) Warning: Implicit string type conversion from "RawByteString" to "UnicodeString"


I tried also to patch the debian packaging to work with the latest trunk and I'm attaching it)
the packaging didn't change too much, just an arm64 patch deleted, and some patch refresh.
amd64 build went fine, so this seems to be an armhf regression.


>Normally you need to checkout the fpcbuild repository and just replace debian folder by the one from our git. If things did not diverge too much it should work.
>I'll see if this works for amd64 and puch the changes.
the problem is on armel and armhf, so I'm trying the latter, that should be faster :)
let me know if you have some more fixes to test,

I deleted line 18 on arm.inc and restarted the build.

with the newly shiny built fpc 3.0.1 I did a rebuild of hedgewars on my local pbuilder-dist armhf chroot.

same result.

make[1]: Entering directory '/hedgewars-0.9.22-dfsg/obj-arm-linux-gnueabihf'
Running tests...
/usr/bin/ctest --force-new-ctest-process -j1
Test project /hedgewars-0.9.22-dfsg/obj-arm-linux-gnueabihf
Start 1: drillrockets_drill.lua
1/6 Test #1: drillrockets_drill.lua ...........***Failed    0.33 sec
An unhandled exception occurred at $000C054C:
EInOutError: File not open
$000C054C  WriteLn,  line 467 of /hedgewars-0.9.22-dfsg/hedgewars/uUtils.pas


Start 2: drillrockets_boom.lua
2/6 Test #2: drillrockets_boom.lua ............***Failed    0.22 sec
An unhandled exception occurred at $000C054C:
EInOutError: File not open
$000C054C  WriteLn,  line 467 of /hedgewars-0.9.22-dfsg/hedgewars/uUtils.pas


Start 3: twothousandmines.lua
3/6 Test #3: twothousandmines.lua .............***Failed    0.22 sec
An unhandled exception occurred at $000C054C:
EInOutError: File not open
$000C054C  WriteLn,  line 467 of /hedgewars-0.9.22-dfsg/hedgewars/uUtils.pas


Start 4: hellfire_burns.lua
4/6 Test #4: hellfire_burns.lua ...............***Failed    0.23 sec
An unhandled exception occurred at $000C054C:
EInOutError: File not open
$000C054C  WriteLn,  line 467 of /hedgewars-0.9.22-dfsg/hedgewars/uUtils.pas


Start 5: luaAPI/zoom_get_set.lua
5/6 Test #5: luaAPI/zoom_get_set.lua ..........***Failed    0.22 sec
An unhandled exception occurred at $000C054C:
EInOutError: File not open
$000C054C  WriteLn,  line 467 of /hedgewars-0.9.22-dfsg/hedgewars/uUtils.pas


Start 6: luaAPI/gravity_get_set.lua
6/6 Test #6: luaAPI/gravity_get_set.lua .......***Failed    0.22 sec
An unhandled exception occurred at $000C054C:
EInOutError: File not open
$000C054C  WriteLn,  line 467 of /hedgewars-0.9.22-dfsg/hedgewars/uUtils.pas



0% tests passed, 6 tests failed out of 6

Total Test time (real) =   1.48 sec

The following tests FAILED:
1 - drillrockets_drill.lua (Failed)
2 - drillrockets_boom.lua (Failed)
3 - twothousandmines.lua (Failed)
4 - hellfire_burns.lua (Failed)
5 - luaAPI/zoom_get_set.lua (Failed)
6 - luaAPI/gravity_get_set.lua (Failed)
Errors while running CTest
Makefile:129: recipe for target 'test' failed
make[1]: *** [test] Error 8
make[1]: Leaving directory '/hedgewars-0.9.22-dfsg/obj-arm-linux-gnueabihf'
dh_auto_test: make -j1 test ARGS+=-j1 returned exit code 2


fpc 
Free Pascal Compiler version 3.0.1+dfsg-1 [2016/02/25] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
/usr/bin/fpc-3.0.1 [options] <inputfile> [options]

so fPIC seems to be *not* fixed in current trunk (unless I did something seriously wrong).
Moreover current trunk doesn't build :)

cheers,
HTH

G.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpc_3.0.1~alpha+dfsg-1.debian.tar.xz
Type: application/x-xz
Size: 79716 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160226/6c48a196/attachment-0001.bin>


More information about the Pkg-pascal-devel mailing list