[oe] perl tries to run './miniperl' on cross builds

Jamie Lenehan lenehan at twibble.org
Thu Nov 16 13:36:34 UTC 2006


On Thu, Nov 16, 2006 at 02:23:15PM +0100, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> Since (approx.) yesterday the perl build fails with:
> 
> |
> LD_LIBRARY_PATH=/data/build/koen/OE/build/tmp/angstrom/work/armv4t-angstrom-linux-gnueabi/perl-5.8.7-r21/perl-5.8.7
> ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl configpm.tmp
> | /bin/sh: ./miniperl: cannot execute binary file

That miniperl is meant to be renamed to miniperl-arm and then
symlinked to hostperl, so you end up with something like this:

 [nynaeve][12:28AM]~/devel/oe/build/titan-glibc-24/tmp/work/perl-5.8.7-r21/perl-5.8.7%> file miniperl miniperl-arm hostperl
 miniperl:     symbolic link to `hostperl'
 miniperl-arm: ELF 32-bit LSB executable, Hitachi SH, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped
 hostperl:     ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped

I can't think of any reason why that would have broken. I've done
full rebuilds targeting sh4 and i486 in the past few hours with no
problems.

Probably need to see the full log to see why the Makefile failed to
do this when it was meant to.

-- 
 Jamie Lenehan <lenehan at twibble.org>




More information about the Openembedded-devel mailing list