[meta-freescale] Integrating arm-xilinx-linux-gnueabi- external prebuilt toolchain in meta-fsl-arm

Gary Thomas gary at mlbassoc.com
Wed Apr 27 23:19:37 PDT 2016


On 2016-04-28 08:02, Krishna Dwivedi wrote:
> Hello Everyone,
>
> I am integrating external prebuilt toolchain (arm-xilinx-linux-gnueabi-) in meta-fsl-arm layer.To achieve this I have
> added the below changes in build/conf/local.conf:
>
> *Please correct me if  I am doing something wrong or Let me know if there is any  other steps I need to follow to
> integrate external prebuilt toolchain in meta-fsl-arm.*

[Slightly off-topic] why do you need/want to do this?  Is there something missing in the Yocto provided toolchains?
I know I've thought about this [for years] but so far, the best choice has been the one provided by Yocto (OE-core)

>
> EXTERNAL_TOOLCHAIN = "/opt/pkg/petalinux-v2015.4-final/tools/linux-i386/arm-xilinx-linux-gnueabi/"
>
> TCMODE = "arm-xilinx-linux-gnueabi"
>
> I run bitbake core-image-minimal and it results in following errors:
>
> BB_VERSION        = "1.22.0"
>
> BUILD_SYS         = "x86_64-linux"
>
> NATIVELSBSTRING   = "Ubuntu-14.04"
>
> TARGET_SYS        = "arm-poky-linux-gnueabi"
>
> MACHINE           = "imx6sxsabresd"
>
> DISTRO            = "poky"
>
> DISTRO_VERSION    = "1.6.2"
>
> TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
>
> TARGET_FPU        = "vfp-neon"
>
> meta
>
> meta-yocto        = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"
>
> meta-oe           = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
>
> meta-fsl-arm      = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"
>
> meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"
>
> meta-fsl-demos    = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"
>
> meta-fsl-arm
>
> meta-fsl-demos    = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
>
> meta-browser      = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"
>
> meta-gnome
>
> meta-networking
>
> meta-ruby         = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
>
> meta-qt5          = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"
>
> meta-fsl-qt5
>
> meta-fsl-bluez    = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
>
> NOTE: Preparing runqueue
>
> ERROR: Unbuildable tasks were found.
>
> These are usually caused by circular dependencies and any circular dependency chains found will be printed below.
> Increase the debug level to see a list of unbuildable tasks.
>
> Identifying dependency loops (this may take a short while)...
>
> ERROR:
>
> Dependency loop #1 found:
>
>    Task 932 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_packagedata)
> (dependent Tasks ['gettext, do_package'])
>
>    Task 1319 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_package)
> (dependent Tasks ['gcc-cross, do_packagedata', 'gettext, do_packagedata', 'eglibc, do_packagedata', 'prelink,
> do_populate_sysroot', 'file, do_populate_sysroot', 'libtool-cross, do_packagedata', 'rpm, do_populate_sysroot',
> 'gcc-runtime, do_packagedata', 'pseudo, do_populate_sysroot', 'libiconv, do_install'])
>
>    Task 1317 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_packagedata)
> (dependent Tasks ['libiconv, do_package'])
>
>    Task 934 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_package)
> (dependent Tasks ['gcc-cross, do_packagedata', 'libiconv, do_packagedata', 'eglibc, do_packagedata', 'prelink,
> do_populate_sysroot', 'file, do_populate_sysroot', 'expat, do_packagedata', 'libtool-cross, do_packagedata', 'rpm,
> do_populate_sysroot', 'gcc-runtime, do_packagedata', 'pseudo, do_populate_sysroot', 'gettext, do_install'])
>
> Dependency loop #2 found:
>
>    Task 926 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_install)
> (dependent Tasks ['gettext, do_compile', 'pseudo, do_populate_sysroot'])
>
>    Task 927 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb,
> do_populate_sysroot) (dependent Tasks ['gettext, do_install'])
>
>    Task 1314 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_configure)
> (dependent Tasks ['eglibc, do_populate_sysroot', 'gettext, do_populate_sysroot', 'gnu-config, do_populate_sysroot',
> 'gcc-runtime, do_populate_sysroot', 'autoconf, do_populate_sysroot', 'pkgconfig, do_populate_sysroot', 'libtool-cross,
> do_populate_sysroot', 'automake, do_populate_sysroot', 'gcc-cross, do_populate_sysroot', 'libtool-native,
> do_populate_sysroot', 'libiconv, do_patch', 'gettext, do_populate_sysroot'])
>
>    Task 1315 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_compile)
> (dependent Tasks ['libiconv, do_configure'])
>
>    Task 1311 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_install)
> (dependent Tasks ['libiconv, do_compile', 'pseudo, do_populate_sysroot'])
>
>    Task 1312 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb,
> do_populate_sysroot) (dependent Tasks ['libiconv, do_install'])
>
>    Task 929 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_configure)
> (dependent Tasks ['libiconv, do_populate_sysroot', 'eglibc, do_populate_sysroot', 'gettext, do_populate_sysroot',
> 'gnu-config, do_populate_sysroot', 'gcc-runtime, do_populate_sysroot', 'autoconf, do_populate_sysroot', 'expat,
> do_populate_sysroot', 'libtool-native, do_populate_sysroot', 'libtool-cross, do_populate_sysroot', 'automake,
> do_populate_sysroot', 'gcc-cross, do_populate_sysroot', 'gettext, do_patch'])
>
>    Task 930 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_compile)
> (dependent Tasks ['gettext, do_configure'])
>
> Thanks & Regards,
>
> Krishna Dwivedi
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the meta-freescale mailing list