[oe] [2011.03-maintenance] Problem building gcc

Koen Kooi koen at dominion.thruhere.net
Thu Jul 28 07:38:53 UTC 2011


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

Op 28-07-11 08:42, Steffen Sledz schreef:
> I've problems building gcc from the 2011.03-maintenance branch. The do_install step fails with
> 
> | + mv '/home/sledz/work/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/gcc-4.3.3-r24.1/image/usr/lib/libstdc++.so.*-gdb.py*'
> /home/sledz/work/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/gcc-4.3.3-r24.1/image/usr/share/gdb/auto-load/usr/lib | mv: cannot stat
> `/home/sledz/work/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/gcc-4.3.3-r24.1/image/usr/lib/libstdc++.so.*-gdb.py*': No such file or directory NOTE: package gcc-4.3.3-r24.1: task do_install: Failed ERROR: Function 'do_install' failed (see
> /home/sledz/work/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/gcc-4.3.3-r24.1/temp/log.do_install.14408 for further information) ERROR: Task 2 (/home/sledz/work/angstrom-setup-scripts/sources/openembedded/recipes/gcc/gcc_4.3.3.bb, do_install) failed with
> exit code '1' ERROR: '/home/sledz/work/angstrom-setup-scripts/sources/openembedded/recipes/gcc/gcc_4.3.3.bb' failed
> 
> A way to reproduce the problem is using the current Ångström oebb.sh script:
> 
> MACHINE=beagleboard ./oebb.sh bitbake gcc
> 
> My build host is running a 64-bit openSUSE 11.4.
> 

Can you try:

diff --git a/recipes/gcc/gcc-package-target.inc b/recipes/gcc/gcc-package-target.inc
index 33567da..7d3f4ae 100644
- --- a/recipes/gcc/gcc-package-target.inc
+++ b/recipes/gcc/gcc-package-target.inc
@@ -171,5 +171,5 @@ GROUP ( libgcc_s.so.1 libgcc.a )" > ${D}${libdir}/libgcc_s.so
        rm -rf ${D}${includedir}/c++/${BINV}/${TARGET_SYS}/bits/*.gch
        # move the gdb python helpers to gdb auto-load directory
        install -d ${D}${datadir}/gdb/auto-load/${libdir}
- -       mv ${D}${libdir}/libstdc++.so.*-gdb.py* ${D}${datadir}/gdb/auto-load${libdir}
+       mv ${D}${libdir}/libstdc++.so.*-gdb.py* ${D}${datadir}/gdb/auto-load${libdir} || true
 }
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOMRINMkyGM64RGpERAmHUAJ9ujUhTt4aw9jT49EaNRY7cUuD7hgCeOsBJ
vcTtJYmXd5igGAygUTQr5Og=
=nwkq
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list