[oe] [beagleboard] Unable to build Angstrom meta-toolchain

fabian büttner fabian-buettner at gmx.de
Sat Aug 20 09:55:13 UTC 2011


On 01:34 Sat 20 Aug     , Paul Menzel wrote:
> Am Samstag, den 20.08.2011, 00:35 +0200 schrieb fabian büttner:
> > On 15:05 Fri 19 Aug     , Khem Raj wrote:
> > > On Fri, Aug 19, 2011 at 2:03 PM, fabian büttner <fabian-buettner at gmx.de> wrote:
> 
> […]
> 
> > > > I removed libstdc++-dev and I was able to build meta-toolchain.
> > > 
> > > OK now can you send me list of files you have in
> > > packages-split dir in gcc-cross build tree do
> > > 
> > > $ find
> > > 
> > > and send the output please
> > 
> > Could you be more specific, I am new here.
> 
> Adding a please would be nice next time.
> 
> > Where do I find the packages-split dir?
> 
> In your build directory [1]. For example for `libroxml`.
> 
>         $ ls angstrom-dev/work/armv7a-angstrom-linux-gnueabi/libroxml-2.1.0-r0/
>         image           package         staging-pkg      temp
>         libroxml-2.1.0  packages-split  sysroot-destdir
> 
> If you have `INHERIT += "rm_work"` in you `local.conf` those directories
> are removed after a successful build. So you should comment that line
> out.
> 
> 
> Thanks and good luck,
> 
> Paul
> 
> 
> [1] http://gumstix.org/software-development/open-embedded/161-openembedded-directory-layout.html

Hi Paul,

Thank you for your answer.
Like you suggested I commented the INHERIT line in my config and did a 
bitbake -c clean gcc-cross. After that i tried building the
meta-toolchain again, which failed, with the following error:
[...]
| cp: cannot stat
`/home/fab/git/angstrom-setup-scripts/build/tmp-angstrom_2010_x/pkgdata/armv7a-angstrom-linux-gnueabi/runtime/libstdc++-dev':
No such file or directory
NOTE: package meta-toolchain-1.0-r0: task do_populate_sdk: Failed
ERROR: Function 'do_populate_sdk' failed (see
/home/fab/git/angstrom-setup-scripts/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/meta-toolchain-1.0-r0/temp/log.do_populate_sdk.23348
for further information)
ERROR: Task 14
(/home/fab/git/angstrom-setup-scripts/sources/openembedded/recipes/meta/meta-toolchain.bb,
do_populate_sdk) failed with exit code '1'
ERROR:
'/home/fab/git/angstrom-setup-scripts/sources/openembedded/recipes/meta/meta-toolchain.bb'
failed

The requested file list in packages-split
work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.5-r37.1+svnr170443/packages-split:
./libssp
./libssp/usr
./libssp/usr/lib
./libssp/usr/lib/libssp.so.0.0.0
./libssp/usr/lib/libssp.so.0
./libstdc++.shlibdeps
./libssp.shlibdeps
./libgcc-dev
./libgcc-dev/usr
./libgcc-dev/usr/lib
./libgcc-dev/usr/lib/libgcc_s.so
./libg2c
./libgfortran
./libstdc++
./libstdc++/usr
./libstdc++/usr/lib
./libstdc++/usr/lib/libstdc++.so.6.0.14
./libstdc++/usr/lib/libstdc++.so.6
./libgcc
./libgcc/lib
./libgcc/lib/libgcc_s.so.1
./libgcc.shlibdeps

regards,
fabian




More information about the Openembedded-devel mailing list