[oe] HEADS UP: insane.bbclass will now detect and stop the build on wrong RPATHs.

Koen Kooi koen at dominion.kabel.utwente.nl
Thu Apr 26 21:51:17 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon Woestenberg schreef:
> After some work, I couldn't get chrpath-native nor chrpath-cross to
> deal with the target's ELF file (x86_64 host, i686 target):
> 
> ./chrpath -l /home/leon/sandbox/e520/openembedded/build/tmp/work/i686-angstrom-linux/glibc-2.5-r5/install/glibc-dbg/usr/bin/.debug/localedef
> `/home/leon/sandbox/e520/openembedded/build/tmp/work/i686-angstrom-linux/glibc-2.5-r5/install/glibc-dbg/usr/bin/.debug/localedef'
> probably isn't a 64-bit LSB-first ELF file.
> elf_open: Exec format error
> 
> although koen reported success with his host/target combo.

I suspect it will work if your bits are the same (32, 64, etc) and possibly endiannes.

> Now, for the moment, should we change insane.bbclass to indicate a
> warning instead of an error on illegal RPATHs?

IMO the question is "Do we want to subject (angstrom) users to insane.bbclass?". I don't
have an answer to that.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGMR7VMkyGM64RGpERAkVNAJ0V87eLBTSzCac+FUflc5j7RNL6wACfTdfW
6/p6Nd25aTL2KB1LIj2sPmA=
=Bjiy
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list