perl tries to run './miniperl' on cross builds
-----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
Which isn't a surprise:
miniperl: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), not stripped
Before I go off filing a bug, has anyone else seen this?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFXGZDMkyGM64RGpERArGGAJ9pMaJAbPwa0fcc5BzUdPjJIOzgygCgp2XF sottjzHbHyhUQcv++Hgr5GM=
=Cpe9
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Koen Kooi schreef:
Quoted 9 lines
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
Quoted 5 lines
Which isn't a surprise:
miniperl: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), not strippedBefore I go off filing a bug, has anyone else seen this?
If so, 'bitbake perl -c rebuild' solved it for me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFXGifMkyGM64RGpERAnftAJ4yNweGEvvrBgbYRcA3Oh+tj9mlEgCfSpV3 tCCOMPhvWoH4eiBWiYN7gYw=
=Pye5
-----END PGP SIGNATURE-----
Quoted 11 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
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.
Signature · 1 line
Jamie Lenehan <[email protected]>