[Pkg-pascal-devel] Bug#793991: Bug#793991: lazarus: armel and armhf builds stall

Abou Al Montacir abou.almontacir at sfr.fr
Sun Aug 9 18:39:37 UTC 2015


Hi All,

On Fri, 2015-07-31 at 12:07 +0200, Graham Inggs wrote:
> I tried a simpler package, ddrescueview [1], and instead of building the 
> Debian package, I simply ran:
> 
> lazbuild source/ddrescueview.lpi --bm="GNU/Linux Release"
> 
> As before, the build appeared to stall, and after hitting ctrl-c I 
> noticed that in the background the build had actually completed 
> successfully and there was a working 'ddrescueview' executable.
> 
> I'll file a bug upstream.
I tried this on porterbox abel and reproduced the issue. However I failed to
completely understand it.

It looks like it hangs when running ld.bfd. Indeed when pressing ctrl+z I got:
(sid_armel-dchroot)abou at abel:~/ddrescueview-0.4~alpha2/source$ ps -elf | grep ddrescueview
0 T abou    32221 27954  0  80   0 -  5412 signal 18:25 pts/1    00:00:00 lazbuild ddrescueview.lpi
0 T abou    32232 32221  0  80   0 -   178 signal 18:25 pts/1    00:00:00 /usr/bin/fpc -B -MObjFPC -Schi -CX -Cirot -g -gl -XX -l -vewnhibq -Fl/opt/gnome/lib -Fu/usr/lib/lazarus/1.4.0/lcl/units/arm-linux/gtk2 -Fu/usr/lib/lazarus/1.4.0/lcl/units/arm-linux -Fu/usr/lib/lazarus/1.4.0/components/lazutils/lib/arm-linux -Fu/usr/lib/lazarus/1.4.0/packager/units/arm-linux -Fu/home/abou/ddrescueview-0.4~alpha2/source/ -dLCL -dLCLgtk2 ddrescueview.lpr
0 T abou    32233 32232  4  80   0 -  4031 signal 18:25 pts/1    00:00:03 /usr/bin/ppcarm -B -MObjFPC -Schi -CX -Cirot -g -gl -XX -l -vewnhibq -Fl/opt/gnome/lib -Fu/usr/lib/lazarus/1.4.0/lcl/units/arm-linux/gtk2 -Fu/usr/lib/lazarus/1.4.0/lcl/units/arm-linux -Fu/usr/lib/lazarus/1.4.0/components/lazutils/lib/arm-linux -Fu/usr/lib/lazarus/1.4.0/packager/units/arm-linux -Fu/home/abou/ddrescueview-0.4~alpha2/source/ -dLCL -dLCLgtk2 ddrescueview.lpr
0 T abou    32243 32233  5  80   0 - 17728 signal 18:25 pts/1    00:00:03 /usr/bin/ld.bfd --dynamic-linker=/lib/ld-linux.so.3 --gc-sections -L. -o ddrescueview link.res
0 S abou    32249 27954  0  80   0 -   637 pipe_w 18:26 pts/1    00:00:00 grep ddrescueview

when fg and then ctrl+c it seems to resume.

I also recompiled lazbuild to get debug symbols, but then I do not have the
issue anymore. I even stripped the newly build binary and did not have the
issue.

So maybe we need just to rebuild again?
-- 
Cheers,
Abou Al Montacir



More information about the Pkg-pascal-devel mailing list