From patchwork Thu Jan 11 03:15:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 124146 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp96672qgn; Wed, 10 Jan 2018 19:16:03 -0800 (PST) X-Google-Smtp-Source: ACJfBotNcKhfdK7oAtYoUSJxq3fXkpRJnRgSC8giA46aCQPLGD7gbQUljnIEFKiVKY9/LP0tih90 X-Received: by 10.84.240.65 with SMTP id h1mr21540804plt.10.1515640563616; Wed, 10 Jan 2018 19:16:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515640563; cv=none; d=google.com; s=arc-20160816; b=iqZIT/gX+oCI7M3qBd3ER/+ZPcToAOXjPUBA9lJ1MJ38IdGciz6QE/kBNfnYzAFX8O oF9QGEIca51FKY+L4HpkW/5muISxdq4Y9wM+Htzs3wkpB4Uua9usQGJqiPt06IwHa2Wz 4MddmloBEkpkipCcJYZseJHHlpCfmNrWiMpXjiloNWHFgumlxV3YnVxm2nNdinU2N+3b MNC1s6v4OEPX0yUvZUYdqZbrblc6KKemolxJXWgwYHPaex9Wvpj9X0lsaygDDM+2QNwr HLKqkmM11I4XVAJIEKtnMzXDlw7BBkYxtwFewiKD2P9mPc8ujBt+0uztZnEdnNcNrJ+s qh/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=Aj/buG4F8tlkjKDi49S46+G25yyyYK8xryuvPdmlRrI=; b=TGg08ju8CLCIq44s7e7J08OtKBQ0XZ4Pfw3ar+EXKirRpQAEnbPup3prctlEsQWXP7 7R6czuxYfxyqjbTQxYn2NP1gYf2jii60HYxM7lZIjbmnNqhBuI4vMQns8Y1+1sRFxMpD ZN7ZKgY64lZnaI07ExjkxMT5AdHZJUeKpIk7Wkj4h9Hgr0zeYzaFAIlOyzEiXH/U42OA Fv6S4QMTADOUd+gbGfDLfjudk7zsaJJbRHkeBa8H10IIj8SNZKl1HiL0ueOjtbdRrTvI kv392+nGlX5PNQTEnGcw9zIurIbqdw61BHprGnx3xyKh4yi5KY+JcMCcsxxkrbtL/gSZ M96g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id t65si12752619pfe.212.2018.01.10.19.16.02; Wed, 10 Jan 2018 19:16:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4186278829; Thu, 11 Jan 2018 03:15:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by mail.openembedded.org (Postfix) with ESMTP id 90E02787ED for ; Thu, 11 Jan 2018 03:15:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 821CE20B35; Thu, 11 Jan 2018 03:15:59 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jbw9mHthjQAU; Thu, 11 Jan 2018 03:15:59 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 60CF820481; Thu, 11 Jan 2018 03:15:58 +0000 (UTC) Received: from gimli.denix (gimli [192.168.0.6]) by mail.denix.org (Postfix) with ESMTP id CA2C11631FD; Wed, 10 Jan 2018 22:15:57 -0500 (EST) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Date: Wed, 10 Jan 2018 22:15:52 -0500 Message-Id: <1515640552-54778-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 Cc: Denys Dmytriyenko Subject: [OE-core] [PATCH] gcc: add flex-native explicit dependency X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Denys Dmytriyenko It seems flex is required to build gcc: | .../work-shared/gcc-7.2.0-r0/gcc-7.2.0/missing: line 81: flex: command not found | WARNING: 'flex' is missing on your system. | You should only need it if you modified a '.l' file. | You may want to install the Fast Lexical Analyzer package: | | Makefile:2799: recipe for target 'gengtype-lex.c' failed | make[1]: [gengtype-lex.c] Error 127 (ignored) Normally this is handled indirectly throught binutils-cross dependency pulling in flex-native implicitly. For deterministic builds, this should be specified explicitly. Signed-off-by: Denys Dmytriyenko --- meta/recipes-devtools/gcc/gcc-7.2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/gcc/gcc-7.2.inc b/meta/recipes-devtools/gcc/gcc-7.2.inc index 1d40cba..d1fb6de 100644 --- a/meta/recipes-devtools/gcc/gcc-7.2.inc +++ b/meta/recipes-devtools/gcc/gcc-7.2.inc @@ -10,7 +10,7 @@ BINV = "7.2.0" FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-7.2:${FILE_DIRNAME}/gcc-7.2/backport:" -DEPENDS =+ "mpfr gmp libmpc zlib" +DEPENDS =+ "mpfr gmp libmpc zlib flex-native" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"