Hi Abou,
>I could notice in the build log on sid the following warnings: >hwengine.pas(626) Warning: "crtbeginS.o" not found, this will probably cause a >linking failure >hwengine.pas(626) Warning: "crtendS.o" not found, this will probably cause a >linking failure >On the other hand these files seem to belong to libgcc-5-dev on my system >$dpkg -S /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o >libgcc-5-dev:amd64: /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o >Can you please check if they are availables on the arm box you are using? > sure: ls /usr/lib/gcc/arm-linux-gnueabihf/5/crt*S.o -l -rw-r--r-- 1 root root 2424 Feb 6 17:23 /usr/lib/gcc/arm-linux-gnueabihf/5/crtbeginS.o -rw-r--r-- 1 root root 1100 Feb 6 17:23 /usr/lib/gcc/arm-linux-gnueabihf/5/crtendS.o (I'm doing the work under a qemu arm environment, but it shouldn't make any difference) to reproduce: pbuilder-dist sid armhf create pbuilder-dist sid armhf login install vim ubuntu-dev-tools wget liburi-perl pull-debian-source hedgewars dpkg-buildpackage it :) >The reason I think these warnings are related is that stdin/stdout are open by >parent process so may be related to the C code initialization. > >I can probably be completely wrong, but let's check this first.-- I'm not sure if my answer helps actually, but I hope I did all the requested stuff correctly. thanks a lot! Gianfranco