[oe] Wrong crosscompilers path after rebuild from scratch

Andrea Adami andrea.adami at gmail.com
Sat Aug 15 21:49:15 UTC 2009


I can consistently document an unexpected failure after rebuilding
from packaged staging (wiping /tmp, leaving only /pstage dir).

FWIW I use Angstrom, which sets
./distro/include/angstrom.inc:DEPLOY_DIR = "${TMPDIR}/deploy/${LIBC}
overriding
./bitbake.conf:DEPLOY_DIR ?= "${TMPDIR}/deploy"

After build from scratch I have following tree:

andrea at mizar /oe/build/tmp/cross/armv5te $ ls -l
total 24
drwxr-xr-x 5 andrea users 4096 Aug 15 10:32 arm-angstrom-linux-gnueabi
drwxr-xr-x 2 andrea users 4096 Aug 15 11:44 bin
drwxr-xr-x 3 andrea users 4096 Aug 15 10:24 i686-linux
drwxr-xr-x 3 andrea users 4096 Aug 15 11:03 lib
drwxr-xr-x 3 andrea users 4096 Aug 15 10:32 libexec
drwxr-xr-x 3 andrea users 4096 Aug 15 11:19 share


BUT packaged staging recreates  /oe/build/tmp/cross/bin and
/oe/build/tmp/cross/arm-angstrom-linux-gnueabi/bin

The problem is when you try to build smthg: in run.do_configure I have
export PATH="...:/oe/build/tmp/cross/armv5te/bin:..."

So, the 'armv5te' part is lost...crosscompiler not found :/

Can someone reproduce / help to diagnose the issue?

TIA

Andrea




More information about the Openembedded-devel mailing list