From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id 5EA30719B3 for ; Wed, 23 Nov 2016 06:49:47 +0000 (UTC) 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 uAN6nlWn008215 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Tue, 22 Nov 2016 22:49:47 -0800 Received: from [128.224.162.192] (128.224.162.192) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.294.0; Tue, 22 Nov 2016 22:49:47 -0800 To: Khem Raj References: <20161123020049.22482-1-Yuanjie.Huang@windriver.com> <7CEAD313-1930-44C6-92A5-29E922A3485A@gmail.com> <0bb2fa3a-66ee-4fd7-100c-e990dd507a1d@windriver.com> <76B00DDD-67D7-467A-84F7-67C0FB25EA62@gmail.com> From: Yuanjie Huang Message-ID: <926fbd84-941c-2eeb-d189-27133a6b0688@windriver.com> Date: Wed, 23 Nov 2016 14:49:45 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <76B00DDD-67D7-467A-84F7-67C0FB25EA62@gmail.com> Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 1/1] gdb-cross: depends on flex-native and bison-native 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: , X-List-Received-Date: Wed, 23 Nov 2016 06:49:48 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 11/23/2016 11:38 AM, Khem Raj wrote: > are they regenerating code during configure ? No, code is generated during compilation. Corresponding c files are not included in git repo, so these files are always compiled from flex/bison source files. >> On Nov 22, 2016, at 7:22 PM, Yuanjie Huang wrote: >> >> Hi Raj, >> >> We observed gdb/ada-lex.l is processed by flex while gdb/c-exp.y, gdb/f-exp.y, gdb/go-exp.y and many others are handled by bison. Basically, all language-specific codes in gdb are generated. >> >> Best, >> Yuanjie >> >> On 11/23/2016 11:05 AM, Khem Raj wrote: >>>> On Nov 22, 2016, at 6:00 PM, Yuanjie Huang wrote: >>>> >>>> From: Yuanjie Huang >>>> >>>> Some source code of gdb is generated with flex or bison. Make both >>>> dependencies, to avoid compilation failure on host without them. >>> can you find out which parts those are ? what is it trying to do to need flex/yacc >>>> Signed-off-by: Yuanjie Huang >>>> --- >>>> meta/recipes-devtools/gdb/gdb-cross.inc | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc >>>> index 5fa7c33..a34223e 100644 >>>> --- a/meta/recipes-devtools/gdb/gdb-cross.inc >>>> +++ b/meta/recipes-devtools/gdb/gdb-cross.inc >>>> @@ -1,6 +1,6 @@ >>>> require gdb-common.inc >>>> >>>> -DEPENDS = "expat-native ncurses-native" >>>> +DEPENDS = "expat-native ncurses-native flex-native bison-native" >>>> >>>> inherit python3native >>>> >>>> -- >>>> 2.7.4 >>>> >>>> -- >>>> _______________________________________________ >>>> Openembedded-core mailing list >>>> Openembedded-core@lists.openembedded.org >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core