Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A1709E0095F; Tue, 31 Jan 2017 13:36:07 -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=-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 71069E007EB for ; Tue, 31 Jan 2017 13:36:03 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id v0VLa2NF009576 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Tue, 31 Jan 2017 13:36:03 -0800 Received: from yow-dellw-ma.wrs.com (128.224.56.18) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.294.0; Tue, 31 Jan 2017 13:36:02 -0800 From: Mark Asselstine To: Date: Tue, 31 Jan 2017 16:35:54 -0500 Message-ID: <1485898554-8487-1-git-send-email-mark.asselstine@windriver.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Cc: meta-virtualization@yoctoproject.org Subject: [PATCH] go-cross: depend on virtual/${TARGET_PREFIX}gcc 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, 31 Jan 2017 21:36:07 -0000 Content-Type: text/plain This fixes the compile time error #runtime/cgo exec: "x86_64-overc-linux-gcc": executable file not found in $PATH Since we set CC_FOR_TARGET to ${TARGET_PREFIX}gcc we need to ensure this is present by adding it to the recipe DEPENDS. Signed-off-by: Mark Asselstine --- recipes-devtools/go-cross/go-cross.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/go-cross/go-cross.inc b/recipes-devtools/go-cross/go-cross.inc index 0859fd0..7f74903 100644 --- a/recipes-devtools/go-cross/go-cross.inc +++ b/recipes-devtools/go-cross/go-cross.inc @@ -1,7 +1,7 @@ inherit cross # libgcc is required for the target specific libraries to build properly -DEPENDS += "go-native libgcc" +DEPENDS += "go-native libgcc virtual/${TARGET_PREFIX}gcc" # Prevent runstrip from running because you get errors when the host arch != target arch #INHIBIT_PACKAGE_STRIP = "1" -- 2.7.4