From patchwork Fri Feb 8 15:32:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Brodkin X-Patchwork-Id: 1038710 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qLSE9KV1"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="DML45z+n"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43wzhJ0M54z9sN8 for ; Sat, 9 Feb 2019 02:32:32 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=3FA3GSGRKgkIOkHgYp4dRoD7QrtrJXgi9elyid8qHWw=; b=qLS E9KV1uNbEv0Nqi39Pl6KbLdrdpbYNN4C/f/yQNK2cLPmPWHWkbKqzh2Pjj7V/f09SgqdBIeHdbxjU CuZVuyDe4JbHFhglJSZJr6pxgKo4grplsqWN1IMAH4+BOQKnTJNMTLh/mGX9jvcDDH4VieGcNwvhc grcQSmlNH+1K6GcyXGybw0d37II7Og5g2J+//g6K0mQ8NqeRGvvsfj1efo6SBMOkqfAll3TYP/oic tKehOlTx0LZxHxR8ZvoI4FzTLfRBRP7HEaRL7lL3PUif000+MkxpkACdEaMNE81ll2AOOdOPaXKrv gKhBnL/4ejdd/+ZASatv+9npNZWZYgw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gs88k-0006Et-4n; Fri, 08 Feb 2019 15:32:30 +0000 Received: from smtprelay.synopsys.com ([198.182.47.9]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gs88h-0006EJ-6f for linux-snps-arc@lists.infradead.org; Fri, 08 Feb 2019 15:32:28 +0000 Received: from mailhost.synopsys.com (dc8-mailhost2.synopsys.com [10.13.135.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id 8127F24E218B; Fri, 8 Feb 2019 07:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1549639945; bh=/3dG6+JimYm65WmXyEvU6i400KI0dK9yCCVokspkSpk=; h=From:To:Cc:Subject:Date:From; b=DML45z+np1gmvtMAY68gKhK8QdYOBp4GeQn4qE9iwVdho9986QLx/Mj49s8wPtihB 9VCEWm9RQrrcEUOzJ87eVXVitOOpmimr7J8KCRFASSwjpLpQZtp1ENgwFm9ENAHkah 6DcoVdJiz9pI2x9R0WsBUl/k//Ppqoo7jqFgtHhGmGx0XiPHMQkAJCO03yTMiIIymF xlH+G2T2K81L+lo1St84RKRi6Yy0igC3nlnJBcV7QzTlcIfgrTg04lSYtcIIP03U3U SJCdELkeA4SEpW7lnlB+WdIIxEWR7SIjpbqErYMGj0p6b4dI3oHKRHHcn3OIDQEKWr VMCj2OUAFlg9g== Received: from ru20arcgnu1.internal.synopsys.com (ru20arcgnu1.internal.synopsys.com [10.121.9.48]) by mailhost.synopsys.com (Postfix) with ESMTP id ABCDAA005A; Fri, 8 Feb 2019 15:32:23 +0000 (UTC) From: Alexey Brodkin To: openembedded-core@lists.openembedded.org Subject: [PATCH] linux-yocto: Add dependency on libgcc for ARC Date: Fri, 8 Feb 2019 18:32:21 +0300 Message-Id: <20190208153221.4335-1-abrodkin@synopsys.com> X-Mailer: git-send-email 2.16.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190208_073227_286523_46604964 X-CRM114-Status: GOOD ( 10.54 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.182.47.9 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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 X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bruce Ashfield , linux-snps-arc@lists.infradead.org, Alexey Brodkin , Ross Burton , Khem Raj MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org As of now in case of ARC there's no in-kernel implementation of basic libgcc functions used for millicode, multiplication, division etc instead we simply link with libgcc.a which provides everything used by the compiler. Signed-off-by: Alexey Brodkin --- meta/recipes-kernel/linux/linux-yocto.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 1ebfb606da..f191946f2a 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc @@ -26,6 +26,10 @@ DEPENDS_append_nios2 = " libgcc" KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}" KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}" +DEPENDS_append_arc = " libgcc" +KERNEL_CC_append_arc = " ${TOOLCHAIN_OPTIONS}" +KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}" + KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}"