* perl tries to run './miniperl' on cross builds
@ 2006-11-16 13:23 Koen Kooi
2006-11-16 13:33 ` Koen Kooi
2006-11-16 13:36 ` Jamie Lenehan
0 siblings, 2 replies; 3+ messages in thread
From: Koen Kooi @ 2006-11-16 13:23 UTC (permalink / raw)
To: Using the OpenEmbedded metadata to build Linux Distributions
-----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-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: perl tries to run './miniperl' on cross builds
2006-11-16 13:23 perl tries to run './miniperl' on cross builds Koen Kooi
@ 2006-11-16 13:33 ` Koen Kooi
2006-11-16 13:36 ` Jamie Lenehan
1 sibling, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2006-11-16 13:33 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Koen Kooi schreef:
> 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?
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-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: perl tries to run './miniperl' on cross builds
2006-11-16 13:23 perl tries to run './miniperl' on cross builds Koen Kooi
2006-11-16 13:33 ` Koen Kooi
@ 2006-11-16 13:36 ` Jamie Lenehan
1 sibling, 0 replies; 3+ messages in thread
From: Jamie Lenehan @ 2006-11-16 13:36 UTC (permalink / raw)
To: Koen Kooi; +Cc: openembedded-devel
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@twibble.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-16 13:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-16 13:23 perl tries to run './miniperl' on cross builds Koen Kooi
2006-11-16 13:33 ` Koen Kooi
2006-11-16 13:36 ` Jamie Lenehan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.