Hi all I am trying to compile poky-dizzy-12.0.1(MACHINE ?= "beaglebone") using meta-toolchain. so i downloaded dizzy from http://downloads.yoctoproject.org/releases/yocto/yocto-1.7. 1/poky-dizzy-12.0.1.tar.bz2 meta-linaro from https://git.linaro.org/openembedded/meta-linaro.git I have changed bblayers.conf as below # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf # changes incompatibly LCONF_VERSION = "6" BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ /home/praveenk/work/poky-dizzy-12.0.1/meta \ /home/praveenk/work/poky-dizzy-12.0.1/meta-yocto \ /home/praveenk/work/poky-dizzy-12.0.1/meta-yocto-bsp \ /home/praveenk/work/poky-dizzy-12.0.1/meta-linaro/meta-linaro-toolchain \ " BBLAYERS_NON_REMOVABLE ?= " \ /home/praveenk/work/poky-dizzy-12.0.1/meta \ /home/praveenk/work/poky-dizzy-12.0.1/meta-yocto \ I added required changes in local.conf MACHINE ?= "beaglebone" DEFAULTTUNE = "cortexa8hf-neon"
PREFERRED_PROVIDER_glibc ?= "glibc"
PREFERRED_VERSION_gcc ?= "linaro-4.9%" PREFERRED_VERSION_gcc-cross ?= "linaro-4.9%" PREFERRED_VERSION_gcc-cross-initial ?= "linaro-4.9%" PREFERRED_VERSION_gcc-cross-intermediate ?= "linaro-4.9%" PREFERRED_VERSION_gcc-cross-canadian ?= "linaro-4.9%" PREFERRED_VERSION_gcc-crosssdk ?= "linaro-4.9%" PREFERRED_VERSION_gcc-crosssdk-initial ?= "linaro-4.9%" PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "linaro-4.9%" PREFERRED_VERSION_gcc-runtime ?= "linaro-4.9%" PREFERRED_VERSION_nativesdk-gcc-runtime ?= "linaro-4.9%" PREFERRED_VERSION_libgcc ?= "linaro-4.9%" PREFERRED_VERSION_nativesdk-libgcc ?= "linaro-4.9%" PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "linaro-4.9%" but still it is building gcc-4.9 instead of gcc-linaro-4.9 below is the log WARNING: Could not copy license file COPYING: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING' WARNING: Could not copy license file COPYING: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING' WARNING: Could not copy license file COPYING3: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING3' WARNING: Could not copy license file COPYING3: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING3' WARNING: Could not copy license file COPYING3.LIB: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING3.LIB' WARNING: Could not copy license file COPYING3.LIB: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING3.LIB' WARNING: Could not copy license file COPYING.LIB: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING.LIB' WARNING: Could not copy license file COPYING.LIB: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING.LIB' WARNING: Could not copy license file COPYING.RUNTIME: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING.RUNTIME' WARNING: Could not copy license file COPYING.RUNTIME: [Errno 2] No such file or directory: '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/COPYING.RUNTIME' ERROR: Function failed: do_configure (log file is located at /home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/libgcc/linaro-4.9-r2014.11/temp/log.do_configure.26074) ERROR: Logfile of failure stored in: /home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/libgcc/linaro-4.9-r2014.11/temp/log.do_configure.26074 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | 0 blocks | chmod: cannot access '/home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work-shared/gcc-linaro-4.9-r2014.11/gcc-linaro-4.9-2014.11/libgcc/configure': No such file or directory | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at /home/praveenk/work/poky-dizzy-12.0.1/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/libgcc/linaro-4.9-r2014.11/temp/log.do_configure.26074) ERROR: Task 692 (/home/praveenk/work/poky-dizzy-12.0.1/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/ libgcc_linaro-4.9.bb, do_configure) failed with exit code '1'