Hi Sven, On Mon, 2016-02-22 at 17:44 +0100, Abou Al Montacir wrote: > Hi Sven > > On Mon, 2016-02-22 at 07:58 +0100, Sven Barth wrote: > > > Looks like PIC code was broken in 3.0. Is there anyone aware of that? How > > can we fix that? > > > > > Would you please try the current development version of FPC (3.1.1) to check > > whether the issue persists there? > Yes, sure I'll do and let you know. I've tested the FPC trunk and it works well. Here is the log of both wersions: (sid_armel-dchroot)abou@abel:~/hedgewars-0.9.22-dfsg/obj-arm-linux-gnueabi/hedgewars$ fpc -fPIC test2 && ./test2 Free Pascal Compiler version 3.0.0+dfsg-2 [2016/01/28] for arm Copyright (c) 1993-2015 by Florian Klaempfl and others Target OS: Linux for ARMEL Compiling test2.pas Assembling test Linking test2 /usr/bin/ld.bfd: warning: link.res contains output sections; did you forget -T? 4 lines compiled, 0.3 sec Runtime error 103 at $000101D8 $000101D8 $00010124 (sid_armel-dchroot)abou@abel:~/hedgewars-0.9.22-dfsg/obj-arm-linux-gnueabi/hedgewars$ /home/abou/fpc-3.1.1/fpc-3.1.1/build/fpc-3.1.1/fpcsrc/compiler/ppcarm -Fu/home/abou/fpc-3.1.1/fpc-3.1.1/build/fpc-3.1.1/fpcsrc/ -Fu/home/abou/fpc-3.1.1/fpc-3.1.1/build/fpc-3.1.1/fpcsrc/rtl/units/arm-linux -fPIC test2 && ./test2 Free Pascal Compiler version 3.1.1-0 [2016/02/24] for arm Copyright (c) 1993-2015 by Florian Klaempfl and others Target OS: Linux for ARMEL Compiling test2.pas Linking test2 4 lines compiled, 0.2 sec Hello (sid_armel-dchroot)abou@abel:~/hedgewars-0.9.22-dfsg/obj-arm-linux-gnueabi/hedgewars$ This shows that the issue was fixed in trunk. Can you please help finding the revision that may fixed that so we can extract a patch and fix 3.0.0? As long as this bug is open, fpc transition to testing is blocked and this is quite unpleasing for many of our users. -- Cheers, Abou Al Montacir
signature.asc
Description: This is a digitally signed message part

