From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7F487E00A84; Fri, 1 Mar 2019 07:07:30 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [198.47.23.249 listed in list.dnswl.org] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EC210E00994 for ; Fri, 1 Mar 2019 07:07:29 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x21F7SWb030365; Fri, 1 Mar 2019 09:07:28 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1551452848; bh=vRDMa6kWSazgtx4FsGMQ+RbORVWxWOuF+FqyMNZPIA8=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=BSgIUg8Uw7heR9oYmkYU3uTEnIOsPeCjW8KyuGlvDxQboCuj9jIz8c5ABCT8t/89X SmizNQc5gFIo13G/VnDjZqsZ57VcxGVfgaUCsOqxERKHvTlXbvJmcYY15lPkEpdb+1 RZDm3S89flAw4gBrHHp7PqDRpyHr/GN66UoSNjBw= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x21F7SZv052022 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 1 Mar 2019 09:07:28 -0600 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 1 Mar 2019 09:07:27 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 1 Mar 2019 09:07:27 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x21F7R8f029813; Fri, 1 Mar 2019 09:07:27 -0600 Date: Fri, 1 Mar 2019 10:07:27 -0500 From: Denys Dmytriyenko To: Khem Raj Message-ID: <20190301150727.GR5250@beryl> References: <1550866849-31173-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: meta-ti@yoctoproject.org Subject: Re: [rocko/master][PATCH v2] gcc-arm-none-eabi: extend to nativesdk class X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 15:07:30 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Fri, Mar 01, 2019 at 06:54:50AM -0800, Khem Raj wrote: > On Fri, Feb 22, 2019 at 12:33 PM Jacob Stiffler wrote: > > > > Signed-off-by: Jacob Stiffler > > --- > > v2 changes: > > * Use COMPATIBLE_HOST instead of anonymous python to limit to x86_64-linux > > > > ..._6-2017-q1-update.bb => gcc-arm-none-eabi_6-2017-q1-update.bb} | 8 ++++++-- > > 1 file changed, 6 insertions(+), 2 deletions(-) > > rename recipes-ti/devtools/{gcc-arm-none-eabi-native_6-2017-q1-update.bb => gcc-arm-none-eabi_6-2017-q1-update.bb} (83%) > > > > diff --git a/recipes-ti/devtools/gcc-arm-none-eabi-native_6-2017-q1-update.bb b/recipes-ti/devtools/gcc-arm-none-eabi_6-2017-q1-update.bb > > similarity index 83% > > rename from recipes-ti/devtools/gcc-arm-none-eabi-native_6-2017-q1-update.bb > > rename to recipes-ti/devtools/gcc-arm-none-eabi_6-2017-q1-update.bb > > index 1140f27..ae3d1d7 100644 > > --- a/recipes-ti/devtools/gcc-arm-none-eabi-native_6-2017-q1-update.bb > > +++ b/recipes-ti/devtools/gcc-arm-none-eabi_6-2017-q1-update.bb > > @@ -3,7 +3,6 @@ LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" > > > > LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=c224e429f53a1a6ce70bf8986ea2990b" > > > > -inherit native > > this means it is also available as target package now. Yes, hence COMPATIBLE_HOST below. Also see earlier discussion on v1 of the patch for other considered options. > > require recipes-ti/includes/ti-paths.inc > > > > SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/6_1-2017q1/gcc-arm-none-eabi-6-2017-q1-update-linux.tar.bz2;name=gcc-arm-none" > > @@ -13,6 +12,9 @@ SRC_URI[gcc-arm-none.sha256sum] = "e7aad2579f02e3b095c6d7899ca5e6a70cfa9b8a8cbd6 > > > > S = "${WORKDIR}/gcc-arm-none-eabi-6-2017-q1-update" > > > > +# only x86_64 is supported > > +COMPATIBLE_HOST = "x86_64.*-linux" > > + > > fails on qemux86-64 > https://errors.yoctoproject.org/Errors/Details/230712/ The errors are from package_qa and seem to be due to binary nature of the package and RDEPENDS between libraries. > you have to limit its availability to native and nativesdk only. While intension of COMPATIBLE_HOST was to limit it to native and nativesdk indirectly, x86-64 target does also match. And theoretically it can be a valid use case for this bare-metal Arm cross-compile toolchain... I wonder if simply skipping "file-rdeps" QA checks would be fine. > > do_install() { > > install -d ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE} > > cp -r ${S}/. ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE} > > @@ -20,4 +22,6 @@ do_install() { > > > > FILES_${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*" > > > > -INSANE_SKIP_${PN} = "already-stripped" > > +INSANE_SKIP_${PN} = "already-stripped libdir staticdev" > > + > > +BBCLASSEXTEND = "native nativesdk" > > -- > > 2.7.4 > > > > -- > > _______________________________________________ > > meta-ti mailing list > > meta-ti@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/meta-ti > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti