From patchwork Wed Jan 10 07:39:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 124029 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4957720qgn; Tue, 9 Jan 2018 23:39:18 -0800 (PST) X-Google-Smtp-Source: ACJfBovvoJeJvw2eiit5P8gvwc6duortTLf/BvC2QLUOSYZC8AC/yPthQoo3UpjipzuYSdvIyZh/ X-Received: by 10.98.248.3 with SMTP id d3mr16083509pfh.30.1515569958215; Tue, 09 Jan 2018 23:39:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515569958; cv=none; d=google.com; s=arc-20160816; b=KJvHs00ZqowBGPaMbLK4W9mC5D4OjbGhRMskrmxwxujIZiW+kaGNgdEB3KNAjD+bO8 RmLZZZunD/t+MKdyGQv3H+xrsB8Fucz1s8UjOYhPKl+gGiIif84L23E5WNQ2mDJEnOAg /EYinKZ10S0GqcP++ruthmupeB6JDLfuiFJnqD9w02Ty8aC4LLhSI3Szez46jQIYwtgp Ma2+lcDC+c18mOWZq1CU2G0AWxWkMqdgYDHBd1sUx7jN2Rk6VOXBKbjLsmVW4YbcDRUH tI/AZ9JAsNqDHC3gNP3X+CkUuxMFkQt3sXm6ImC8jySboaK+59iiiR0w6/jnaH6bBq3C XUiw== 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=OUYbEwIm2UVCmXwkAu6WHJvFeYf+FlotmOSus8P+M1o=; b=n3k/7DWFBFTlsh0kPXlgZzmiNpdXLKTZl5Xak0xFT1XTbZ6CW1QYe/t+13OwW+4Xks 29QRC9acUZ+pNeYAhvKDXUKu7hPE4dVXuSAxqbRrycVbImwjjxMW0s6QcqDyZtBBpY66 i7zsb/yLLB19ty931Aq6iC8rGv5NcKgvm7Nub2zMmsDjIqZ+Q33UXG2PcQngnhZo3cgu KmJmMN0oKCZXgjhF/wOlriIojSq8u3cDlpyTttkmT6NuJjEvm0zz1rv9SsReXygBvPKQ QZ24Smcsz/9fvnxA9Ph7/+Jvy4PtSl+yNaWN3Ion7tZXecKZDG6E3cBTI6p0UTfa1yrV ka7w== 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 i1si11547905plt.485.2018.01.09.23.39.17; Tue, 09 Jan 2018 23:39:18 -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 55751788CC; Wed, 10 Jan 2018 07:39:11 +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 49E89788CB for ; Wed, 10 Jan 2018 07:39:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 33D3D20481; Wed, 10 Jan 2018 07:39:11 +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 Jh1p8itndyyZ; Wed, 10 Jan 2018 07:39:11 +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 1216320189; Wed, 10 Jan 2018 07:39:05 +0000 (UTC) Received: from gimli.denix (gimli [192.168.0.6]) by mail.denix.org (Postfix) with ESMTP id 8891E16325E; Wed, 10 Jan 2018 02:39:04 -0500 (EST) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Date: Wed, 10 Jan 2018 02:39:03 -0500 Message-Id: <1515569943-89393-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 Cc: Denys Dmytriyenko Subject: [OE-core] [RFC][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 --- RFC: Not sure if versioned .inc is the best place to spefice DEPENDS on flex-native meta/recipes-devtools/gcc/gcc-6.3.inc | 2 +- meta/recipes-devtools/gcc/gcc-7.2.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 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-6.3.inc b/meta/recipes-devtools/gcc/gcc-6.3.inc index e569e02..39aca13 100644 --- a/meta/recipes-devtools/gcc/gcc-6.3.inc +++ b/meta/recipes-devtools/gcc/gcc-6.3.inc @@ -10,7 +10,7 @@ BINV = "6.3.0" FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.3:${FILE_DIRNAME}/gcc-6.3/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" 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"