Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6C076E0050B; Tue, 18 Oct 2016 12:54:36 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 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] Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E7C83E00444 for ; Tue, 18 Oct 2016 12:54:33 -0700 (PDT) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id u9IJsVLv030969 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Tue, 18 Oct 2016 12:54:31 -0700 Received: from ord-lpggp3.wrs.com (128.224.149.46) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.294.0; Tue, 18 Oct 2016 12:54:30 -0700 From: Jason Wessel To: Date: Tue, 18 Oct 2016 14:51:27 -0500 Message-ID: <1476820287-26449-1-git-send-email-jason.wessel@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH] go-cross: Fix failure if building go-cross first X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 19:54:36 -0000 Content-Type: text/plain If go-cross is built as the first package it will fail creating the target libraries used for cross-compilation because it requires libgcc. Signed-off-by: Jason Wessel --- recipes-devtools/go-cross/go-cross.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/go-cross/go-cross.inc b/recipes-devtools/go-cross/go-cross.inc index 181f4aa..3174987 100644 --- a/recipes-devtools/go-cross/go-cross.inc +++ b/recipes-devtools/go-cross/go-cross.inc @@ -1,6 +1,7 @@ inherit cross -DEPENDS += "go-native" +# libgcc is required for the target specific libraries to build properly +DEPENDS += "go-native libgcc" # Prevent runstrip from running because you get errors when the host arch != target arch #INHIBIT_PACKAGE_STRIP = "1" -- 1.9.1