From patchwork Mon Nov 5 14:33:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: new perl build issue From: Francois Perrad X-Patchwork-Id: 197205 Message-Id: To: Alexander Khryukin Cc: Thomas Petazzoni , buildroot@busybox.net Date: Mon, 5 Nov 2012 15:33:56 +0100 2012/11/5 Alexander Khryukin : > > > 2012/11/5 Alexander Khryukin >> >> >> >> 2012/11/5 Thomas Petazzoni >>> >>> >>> On Sun, 4 Nov 2012 20:41:45 +0100, François Perrad wrote: >>> >>> > this afternoon, Thomas has posted 3 patches for qemu (see >>> > http://patchwork.ozlabs.org/patch/197055/). >>> > Alexander, try to rebuild host-qemu with them. >>> >>> Unfortunately, none of those patches have a chance to fix Alexander's >>> problem. My patches only fix missing dependencies. >>> >>> Also, could you have a look at http://autobuild.buildroot.org/ for perl >>> build failures? It seems like Qemu doesn't start properly on some >>> platforms, for some reason. >>> >>> Thomas >>> -- >>> Thomas Petazzoni, Free Electrons >>> Kernel, drivers, real-time and embedded Linux >>> development, consulting, training and support. >>> http://free-electrons.com >> >> >> >> I applied your patch but looks it not helps me. >> >> http://pastie.org/5188031 > > > > Also if i compile it by my default system gcc it's ok > > > [fdkit@kvm-host UU]$ gcc try.c > [fdkit@kvm-host UU]$ ls ./a.out > ./a.out* > [fdkit@kvm-host UU]$ ./a.out > Ok > Alexander, the 'qemu-arm' built by Buildroot doesn't work properly. could you try this workaround ? 1) install a 'qemu-arm' with your distro package manager, $ apt-get install qemu-kvm-extras # or equivalent 2) apply this patch : François --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -22,7 +22,7 @@ endif PERL_CONF_OPT = -des \ -Dusecrosscompile \ - -Dtargetrun=$(QEMU_USER) \ + -Dtargetrun=qemu-arm \ -Dqemulib=$(STAGING_DIR) \ -Dar="$(TARGET_AR)" \ -Dcc="$(TARGET_CC)" \