[{"id":1798270,"web_url":"http://patchwork.ozlabs.org/comment/1798270/","msgid":"<20171102221215.1250bc0b@windsurf>","list_archive_url":null,"date":"2017-11-02T21:12:15","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":2230,"url":"http://patchwork.ozlabs.org/api/people/2230/","name":"Thomas Petazzoni","email":"thomas.petazzoni@free-electrons.com"},"content":"Hello,\n\nThanks for looking into this issue!\n\nOn Thu,  2 Nov 2017 19:14:05 +0100, Yann E. MORIN wrote:\n\n> diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host\n> index c2cfc34284..797c07c3f9 100644\n> --- a/package/gdb/Config.in.host\n> +++ b/package/gdb/Config.in.host\n> @@ -1,4 +1,17 @@\n> +config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS\n> +\tbool\n> +\tdefault y\n> +\t# The ARC version needs C++11, thus gcc >= 4.8, like gdb-8.0.x\n> +\tdepends on BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_arc\n> +\tdepends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_arc\n\nWhy do we have a dependency on the target compiler version for\nhost-gdb ?\n\nThomas","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySd8F5Wyxz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:12:29 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 10EA889381;\n\tThu,  2 Nov 2017 21:12:26 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 5dlHpp7TrmUD; Thu,  2 Nov 2017 21:12:22 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 0A09A89462;\n\tThu,  2 Nov 2017 21:12:22 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id BB9A21CEBD3\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:12:19 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B114F89381\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:12:19 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9hNCn0j3ppdT for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:12:18 +0000 (UTC)","from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 179438928F\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 21:12:17 +0000 (UTC)","by mail.free-electrons.com (Postfix, from userid 110)\n\tid 8BBCA20A0B; Thu,  2 Nov 2017 22:12:16 +0100 (CET)","from windsurf (132.230.147.77.rev.sfr.net [77.147.230.132])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 37FB2208C0;\n\tThu,  2 Nov 2017 22:12:16 +0100 (CET)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","Date":"Thu, 2 Nov 2017 22:12:15 +0100","From":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","To":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","Message-ID":"<20171102221215.1250bc0b@windsurf>","In-Reply-To":"<20171102181405.6476-1-yann.morin.1998@free.fr>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>","Organization":"Free Electrons","X-Mailer":"Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>, buildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1798280,"web_url":"http://patchwork.ozlabs.org/comment/1798280/","msgid":"<20171102212543.GE30054@scaer>","list_archive_url":null,"date":"2017-11-02T21:25:43","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":13903,"url":"http://patchwork.ozlabs.org/api/people/13903/","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"content":"Thomas, All,\n\nOn 2017-11-02 22:12 +0100, Thomas Petazzoni spake thusly:\n> On Thu,  2 Nov 2017 19:14:05 +0100, Yann E. MORIN wrote:\n> > diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host\n> > index c2cfc34284..797c07c3f9 100644\n> > --- a/package/gdb/Config.in.host\n> > +++ b/package/gdb/Config.in.host\n> > @@ -1,4 +1,17 @@\n> > +config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS\n> > +\tbool\n> > +\tdefault y\n> > +\t# The ARC version needs C++11, thus gcc >= 4.8, like gdb-8.0.x\n> > +\tdepends on BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_arc\n> > +\tdepends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_arc\n> \n> Why do we have a dependency on the target compiler version for\n> host-gdb ?\n\nFor two reasons:\n\n1. you said so in your analysis. OK, you could be wrong, so...\n2. that is the case for gdb-8.0.x, later in that same file.\n\nRegards,\nYann E. MORIN.","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"HnQ7JsmX\"; dkim-atps=neutral"],"Received":["from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySdRp0c2pz9sNd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:25:58 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2C56188BB7;\n\tThu,  2 Nov 2017 21:25:53 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 6d98plmnpFDE; Thu,  2 Nov 2017 21:25:51 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 1E61088A5F;\n\tThu,  2 Nov 2017 21:25:51 +0000 (UTC)","from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id EB7831BFF60\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:25:49 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id E07C588481\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:25:49 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id kKfz2MIp5PZC for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:25:48 +0000 (UTC)","from mail-wr0-f173.google.com (mail-wr0-f173.google.com\n\t[209.85.128.173])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 7CE698847D\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 21:25:48 +0000 (UTC)","by mail-wr0-f173.google.com with SMTP id p96so829146wrb.7\n\tfor <buildroot@buildroot.org>; Thu, 02 Nov 2017 14:25:48 -0700 (PDT)","from ymorin.is-a-geek.org\n\t(2a01cb088610730065245dd7cd9c16b7.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:6524:5dd7:cd9c:16b7])\n\tby smtp.gmail.com with ESMTPSA id\n\tx185sm924806wmx.12.2017.11.02.14.25.44\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 02 Nov 2017 14:25:45 -0700 (PDT)","by ymorin.is-a-geek.org (sSMTP sendmail emulation);\n\tThu, 02 Nov 2017 22:25:43 +0100"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=tnZqH0P/VKgoO+BHPyxGEFml1Rge9lM+EXbia1avuh4=;\n\tb=HnQ7JsmXKvjSEc8vGqPK/I0OzxJkk2gLjrH+v10VBCHzeLgWLtfOLPqwqyla2wgnaM\n\t/v8bgDJtwDoiRfAsSGGczHA8mfe8CfRoI/AknELOVdvVFS4sIUGM+BGZr+Ko9RYoyk2/\n\t9YiSCzoWBAD/Mjsro2PFQOACMM0ctLKwWcRsLns4eIHx7dmQeR99qM+oyBkLHqA1Ow4e\n\tNVv1GWXYG12znazYHahtqSjAq6iV8z2KYvaLfNIbeENjMTFTBiwkXhGol2+lwxGELrZO\n\tZ2uAn/bHy9fP4HYDA4ARxayCj1p0JeaaNZS0UWL7uprK6k72WwgE4qHMx9hrJtWuMIHT\n\t89uQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:date:from:to:cc:subject:message-id\n\t:references:mime-version:content-disposition:in-reply-to:user-agent; \n\tbh=tnZqH0P/VKgoO+BHPyxGEFml1Rge9lM+EXbia1avuh4=;\n\tb=ZFmiySkR7VoyHmlGZiE5MFvlPKjMbIR1RhddPb31xIX55hu5K6S1Vi5P4S05mGsOnd\n\tFAz0MFWycTcnHKUaUgb7Tox4GOw1MHsXof2G+z1q4EY4eQFOFqwLhuX+YI2cambH/eIN\n\tcLvis+fvwWvQgjQFWiMKFkCLr+gLhJa0SxWkQbq2GsnCsfSOW8bnB+/y04RR5E3UF5ka\n\tNlmdAlikfqBefoshN9un1xqw62+Lb7gVgL6NJqrHx7Mgrbej+ycuVOnBT1tUuzAvJ6zZ\n\twFGg5U4dhL9kMZmcDyX3lqSTUpTvgTRSix+dc597V2MHqxjUFEKIQU71NFzK85Isr05U\n\t6U1w==","X-Gm-Message-State":"AMCzsaXuW/ZDIbev8/nC/sbkLB33qmCYTp205SXEF2nQbx8NydZZ1r67\n\t/Uk6UnGYaYXZJM2GeN94mpM=","X-Google-Smtp-Source":"ABhQp+SWzTNtWyjB1g4Uht5jfHBi8ERlPmteKxJ2xEb4NzA903lLuW4PcyHnDeohffOdH0UQf20t8Q==","X-Received":"by 10.223.158.8 with SMTP id u8mr4310889wre.16.1509657947054;\n\tThu, 02 Nov 2017 14:25:47 -0700 (PDT)","Date":"Thu, 2 Nov 2017 22:25:43 +0100","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","Message-ID":"<20171102212543.GE30054@scaer>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>\n\t<20171102221215.1250bc0b@windsurf>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20171102221215.1250bc0b@windsurf>","User-Agent":"Mutt/1.5.22 (2013-10-16)","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>, buildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1798284,"web_url":"http://patchwork.ozlabs.org/comment/1798284/","msgid":"<20171102223130.5354ecd5@windsurf>","list_archive_url":null,"date":"2017-11-02T21:31:30","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":2230,"url":"http://patchwork.ozlabs.org/api/people/2230/","name":"Thomas Petazzoni","email":"thomas.petazzoni@free-electrons.com"},"content":"Hello,\n\nOn Thu, 2 Nov 2017 22:25:43 +0100, Yann E. MORIN wrote:\n\n> > Why do we have a dependency on the target compiler version for\n> > host-gdb ?  \n> \n> For two reasons:\n> \n> 1. you said so in your analysis. OK, you could be wrong, so...\n> 2. that is the case for gdb-8.0.x, later in that same file.\n\nI think I know the logic for gdb 8.x. The logic is that:\n\n * If you chose only target gdb (and not host gdb), you don't have a\n   version choice, and we currently use gdb 7.11, which doesn't have a\n   compiler version requirement.\n\n * If you chose to build both host gdb and target gdb, then the\n   selection of the gdb version for the host gdb affects the version\n   used to build target gdb. I.e, you select gdb 8.0 as the host-gdb,\n   and gdb 8.0 will also be built as the target gdb. Therefore we need\n   to ensure that the host gdb 8.0 option can only be selected if both\n   the host *and* the target compiler are >= 4.8.\n\nThat is a bit tricky, and would warrant a comment in the Config.in file\nI guess.\n\nBut anyway, this means your patch is correct! :)\n\nBest regards,\n\nThomas","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySdZN3F6Pz9sNd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:31:40 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 7CEFC2FF0F;\n\tThu,  2 Nov 2017 21:31:36 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id LpXtu+Ev2Eyg; Thu,  2 Nov 2017 21:31:35 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 06EA32EFB6;\n\tThu,  2 Nov 2017 21:31:34 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id E60A81BFF60\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:31:33 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D62D1896BE\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:31:33 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id uNOKtxySCtVa for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:31:33 +0000 (UTC)","from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id DF8CF896B0\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 21:31:32 +0000 (UTC)","by mail.free-electrons.com (Postfix, from userid 110)\n\tid A73B220752; Thu,  2 Nov 2017 22:31:31 +0100 (CET)","from windsurf (132.230.147.77.rev.sfr.net [77.147.230.132])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 4EE03206A5;\n\tThu,  2 Nov 2017 22:31:31 +0100 (CET)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","Date":"Thu, 2 Nov 2017 22:31:30 +0100","From":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","To":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","Message-ID":"<20171102223130.5354ecd5@windsurf>","In-Reply-To":"<20171102212543.GE30054@scaer>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>\n\t<20171102221215.1250bc0b@windsurf> <20171102212543.GE30054@scaer>","Organization":"Free Electrons","X-Mailer":"Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>, buildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1798285,"web_url":"http://patchwork.ozlabs.org/comment/1798285/","msgid":"<1509658298.7985.2.camel@synopsys.com>","list_archive_url":null,"date":"2017-11-02T21:31:39","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":23881,"url":"http://patchwork.ozlabs.org/api/people/23881/","name":"Alexey Brodkin","email":"Alexey.Brodkin@synopsys.com"},"content":"Hi Yann,\r\n\r\nOn Thu, 2017-11-02 at 19:14 +0100, Yann E. MORIN wrote:\r\n> The ARC gdb version requires a gcc >= 4.8 (because C++11).\r\n> \r\n> Since the host variant uses the same sources as the target variant, we\r\n> must ensure that we have a host gcc >= 4.8 as well.\r\n> \r\n> Move the architecture dependencies to their own symbol, and also hide\r\n> the comment when they are not met.\r\n> \r\n> Fixes:\r\n>     https://urldefense.proofpoint.com/v2/url?u=http-3A__autobuild.buildroot.net_results_43eae264991aa369490236c7bd59c0b6a67fcf25_&d=DwIBAg&c=DPL6_X_\r\n> 6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=b-eGjVYMXoKYiImFRBhs00VOY_pLPUoEpAcAm77-\r\n> fbo&s=SxA_U3jSTkTx7D0f8Am0c_uZWHh4B6AFeUeYz9ZKe9c&e=\r\n> \r\n> Signed-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\r\n> Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>\r\n> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\r\n> ---\r\n>  package/gdb/Config.in.host | 18 ++++++++++++++----\r\n>  1 file changed, 14 insertions(+), 4 deletions(-)\r\n> \r\n> diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host\r\n> index c2cfc34284..797c07c3f9 100644\r\n> --- a/package/gdb/Config.in.host\r\n> +++ b/package/gdb/Config.in.host\r\n> @@ -1,4 +1,17 @@\r\n> +config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS\r\n> +\tbool\r\n> +\tdefault y\r\n> +\t# The ARC version needs C++11, thus gcc >= 4.8, like gdb-8.0.x\r\n\r\nIndeed our GDB is based on very up to date upstream sources so all\r\nlimitations for GDB 8.x are valid for ARC's one.\r\n\r\nThat said it has nothing to do with ARCH but only GDB version makes sense.\r\nSo why don't we just introduce BR2_GDB_VERSION_ARC which will be the only option\r\nfor ARC and will have the same set of \"depends\" as BR2_GDB_VERSION_8_0?\r\n\r\n-Alexey","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySdcB6wSNz9sNd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:33:14 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2B7D788613;\n\tThu,  2 Nov 2017 21:33:11 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id tCN36TuntL0o; Thu,  2 Nov 2017 21:33:09 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 68BE8884D0;\n\tThu,  2 Nov 2017 21:33:09 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0C6F61BFF60\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:33:08 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 04A0D2EFB6\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:33:08 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id uZW8dDjauDEP for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:33:07 +0000 (UTC)","from smtprelay.synopsys.com (smtprelay.synopsys.com [198.182.47.9])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 17E132EB63\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 21:33:07 +0000 (UTC)","from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239])\n\tby smtprelay.synopsys.com (Postfix) with ESMTP id 6BEC824E2080;\n\tThu,  2 Nov 2017 14:33:06 -0700 (PDT)","from mailhost.synopsys.com (localhost [127.0.0.1])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id 22F6355E;\n\tThu,  2 Nov 2017 14:33:06 -0700 (PDT)","from US01WEHTC3.internal.synopsys.com\n\t(us01wehtc3.internal.synopsys.com [10.15.84.232])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id DF87F55B;\n\tThu,  2 Nov 2017 14:33:05 -0700 (PDT)","from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by\n\tUS01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP\n\tServer (TLS) id 14.3.266.1; Thu, 2 Nov 2017 14:31:40 -0700","from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099])\n\tby DE02WEHTCB.internal.synopsys.com ([::1]) with mapi id\n\t14.03.0266.001; Thu, 2 Nov 2017 22:31:40 +0100"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>","To":"\"yann.morin.1998@free.fr\" <yann.morin.1998@free.fr>,\n\t\"buildroot@buildroot.org\" <buildroot@buildroot.org>","Thread-Topic":"[PATCH] package/gdb: ARC version has stringent dependencies on\n\thost gcc","Thread-Index":"AQHTVAZrvDl/C4retUWhIHgo+ls+7qMBix0A","Date":"Thu, 2 Nov 2017 21:31:39 +0000","Message-ID":"<1509658298.7985.2.camel@synopsys.com>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>","In-Reply-To":"<20171102181405.6476-1-yann.morin.1998@free.fr>","Accept-Language":"en-US, ru-RU","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","x-originating-ip":"[10.225.15.245]","Content-ID":"<6507B6AD4884614BA497EE43180C7863@internal.synopsys.com>","MIME-Version":"1.0","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"\"thomas.petazzoni@free-electrons.com\"\n\t<thomas.petazzoni@free-electrons.com>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1798289,"web_url":"http://patchwork.ozlabs.org/comment/1798289/","msgid":"<20171102223701.4a47f1fb@windsurf>","list_archive_url":null,"date":"2017-11-02T21:37:01","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":2230,"url":"http://patchwork.ozlabs.org/api/people/2230/","name":"Thomas Petazzoni","email":"thomas.petazzoni@free-electrons.com"},"content":"Hello,\n\nOn Thu, 2 Nov 2017 21:31:39 +0000, Alexey Brodkin wrote:\n\n> Indeed our GDB is based on very up to date upstream sources so all\n> limitations for GDB 8.x are valid for ARC's one.\n> \n> That said it has nothing to do with ARCH but only GDB version makes sense.\n> So why don't we just introduce BR2_GDB_VERSION_ARC which will be the only option\n> for ARC and will have the same set of \"depends\" as BR2_GDB_VERSION_8_0?\n\nIf we do that, then we would end up with gdb being available, but no\nversion selectable on ARC if the host has a compiler older than gcc\n4.8. We prefer to hide gdb entirely in such a situation.\n\nBest regards,\n\nThomas","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySdhj2SW1z9sNd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:37:09 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2A76D8974E;\n\tThu,  2 Nov 2017 21:37:07 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id dctcB6pdgqxr; Thu,  2 Nov 2017 21:37:06 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 45898896E4;\n\tThu,  2 Nov 2017 21:37:06 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0BBD11BFF60\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:37:04 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CD37B88B32\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:37:04 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ZCjObjTOlSzj for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:37:04 +0000 (UTC)","from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 10B448781C\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 21:37:03 +0000 (UTC)","by mail.free-electrons.com (Postfix, from userid 110)\n\tid 07FD320752; Thu,  2 Nov 2017 22:37:02 +0100 (CET)","from windsurf (132.230.147.77.rev.sfr.net [77.147.230.132])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id A7D12203B7;\n\tThu,  2 Nov 2017 22:37:01 +0100 (CET)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","Date":"Thu, 2 Nov 2017 22:37:01 +0100","From":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","To":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>","Message-ID":"<20171102223701.4a47f1fb@windsurf>","In-Reply-To":"<1509658298.7985.2.camel@synopsys.com>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>\n\t<1509658298.7985.2.camel@synopsys.com>","Organization":"Free Electrons","X-Mailer":"Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"\"yann.morin.1998@free.fr\" <yann.morin.1998@free.fr>,\n\t\"buildroot@buildroot.org\" <buildroot@buildroot.org>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1798290,"web_url":"http://patchwork.ozlabs.org/comment/1798290/","msgid":"<20171102213815.GF30054@scaer>","list_archive_url":null,"date":"2017-11-02T21:38:15","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":13903,"url":"http://patchwork.ozlabs.org/api/people/13903/","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"content":"Alexey, All,\n\nOn 2017-11-02 21:31 +0000, Alexey Brodkin spake thusly:\n> On Thu, 2017-11-02 at 19:14 +0100, Yann E. MORIN wrote:\n> > The ARC gdb version requires a gcc >= 4.8 (because C++11).\n> > \n> > Since the host variant uses the same sources as the target variant, we\n> > must ensure that we have a host gcc >= 4.8 as well.\n> > \n> > Move the architecture dependencies to their own symbol, and also hide\n> > the comment when they are not met.\n> > \n> > Fixes:\n> >     https://urldefense.proofpoint.com/v2/url?u=http-3A__autobuild.buildroot.net_results_43eae264991aa369490236c7bd59c0b6a67fcf25_&d=DwIBAg&c=DPL6_X_\n> > 6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=b-eGjVYMXoKYiImFRBhs00VOY_pLPUoEpAcAm77-\n> > fbo&s=SxA_U3jSTkTx7D0f8Am0c_uZWHh4B6AFeUeYz9ZKe9c&e=\n> > \n> > Signed-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\n> > Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>\n> > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n> > ---\n> >  package/gdb/Config.in.host | 18 ++++++++++++++----\n> >  1 file changed, 14 insertions(+), 4 deletions(-)\n> > \n> > diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host\n> > index c2cfc34284..797c07c3f9 100644\n> > --- a/package/gdb/Config.in.host\n> > +++ b/package/gdb/Config.in.host\n> > @@ -1,4 +1,17 @@\n> > +config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS\n> > +\tbool\n> > +\tdefault y\n> > +\t# The ARC version needs C++11, thus gcc >= 4.8, like gdb-8.0.x\n> \n> Indeed our GDB is based on very up to date upstream sources so all\n> limitations for GDB 8.x are valid for ARC's one.\n> \n> That said it has nothing to do with ARCH but only GDB version makes sense.\n> So why don't we just introduce BR2_GDB_VERSION_ARC which will be the only option\n> for ARC and will have the same set of \"depends\" as BR2_GDB_VERSION_8_0?\n\nIf you do that, then you could still select BR2_PACKAGE_HOST_GDB, and\nend up with a choice where there is no entry...\n\nWe can do that in the !ARC case, because there are versions that do not\nrequire anything, so 8.0 is just hidden and 7.xx are still visible,\nwhich is not the case for ARC.\n\nRegards,\nYann E. MORIN.","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"HMOTwg62\"; dkim-atps=neutral"],"Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySdkC0q0fz9sNd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:38:26 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 5B3502EB63;\n\tThu,  2 Nov 2017 21:38:24 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id vBv1UQ+oWt5N; Thu,  2 Nov 2017 21:38:23 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 396802EFB6;\n\tThu,  2 Nov 2017 21:38:23 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 49E1E1BFF60\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:38:21 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 425582EFB6\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:38:21 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id nlCd9wRklGfN for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:38:20 +0000 (UTC)","from mail-wr0-f194.google.com (mail-wr0-f194.google.com\n\t[209.85.128.194])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 3919B2EB63\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 21:38:20 +0000 (UTC)","by mail-wr0-f194.google.com with SMTP id y39so856818wrd.4\n\tfor <buildroot@buildroot.org>; Thu, 02 Nov 2017 14:38:20 -0700 (PDT)","from ymorin.is-a-geek.org\n\t(2a01cb0886107300f568abd782af2b42.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:f568:abd7:82af:2b42])\n\tby smtp.gmail.com with ESMTPSA id\n\tw18sm4030218wra.30.2017.11.02.14.38.16\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 02 Nov 2017 14:38:17 -0700 (PDT)","by ymorin.is-a-geek.org (sSMTP sendmail emulation);\n\tThu, 02 Nov 2017 22:38:15 +0100"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:content-transfer-encoding:in-reply-to\n\t:user-agent; bh=+w8k22ZYU8z11RAE2uHf61zgCckf/RLIWx8/VdIHAaU=;\n\tb=HMOTwg6232W9ga9JXacT9WXq9EERhSsVyp1wbEMu3BF6kweQSbzkAJ8Bz+zUmbEdqz\n\t78vmvStnDLlL4LzafV389LlNX91ZR9uJ3tSnQ7BvLSv3kfeWvrTejpIeP87N+OEMyOzx\n\tpSVTj7E8yceqWRgs7YbcmSi5GyFdhdIMZovPjjnaD7+KT8LNA3ycjCrWJO5vyll8We8s\n\tiI1zGKBLpTAmBhFrQmC85n3/uiGFiRw5ZTd9tP4wXeVDzi2qP4lCPiY7k2xWQT0uY1MX\n\t8hp5f9pixS9S9FB0C2iJ7M9HXbI3ZUHoLXL1PyBMHtdgD8CawhD9czlouPupvOzQDRTt\n\t4kaA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:date:from:to:cc:subject:message-id\n\t:references:mime-version:content-disposition\n\t:content-transfer-encoding:in-reply-to:user-agent;\n\tbh=+w8k22ZYU8z11RAE2uHf61zgCckf/RLIWx8/VdIHAaU=;\n\tb=O1Goway7vO1dc6iKk3dGF0TX4tWqAUMUghy+nUWeYdJXTIvRaPO6fikqiTB5plyJLc\n\tA3zYwckOHC6eO+4DOh/0O/hFd3TL3njCbR/oWNXTYCGXyN21LODgcku/vufF/yNYudp1\n\tfVhGWxfqz3HXRUZFNZYAJAibnq+gU/WYX+HRc5b6EkQC2u6dJC8a2GQwEo59KwNpdrM+\n\t0EBr6SCQOYk+4xih4s5dU0+IE4SqsjdecYOmpqVShWFKBk/+2pLQCflUPcZlAJE+iFO2\n\tbsB3x4UQXmQGrShCc3P1UjrcMm7NK4hFu1H1O71+F/jZw0Yzz61p3JdvT2vRwzcXTXnQ\n\thL4w==","X-Gm-Message-State":"AMCzsaU+kDBKyIzawFbayk9eu+gHwFSG2no0Yz/oN1vEM/RQbpHcs63S\n\tuIbw2t4wSCCvhLYfo5evMRk7zg==","X-Google-Smtp-Source":"ABhQp+T6oQxiG7SDyC2keMgUaxDmuk4GJGs/jLkysDfkks60FVDMO86HMx7XLOmUcC0lv+HDNtM4/Q==","X-Received":"by 10.223.195.147 with SMTP id p19mr4035082wrf.176.1509658698717;\n\tThu, 02 Nov 2017 14:38:18 -0700 (PDT)","Date":"Thu, 2 Nov 2017 22:38:15 +0100","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>","Message-ID":"<20171102213815.GF30054@scaer>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>\n\t<1509658298.7985.2.camel@synopsys.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<1509658298.7985.2.camel@synopsys.com>","User-Agent":"Mutt/1.5.22 (2013-10-16)","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"\"thomas.petazzoni@free-electrons.com\"\n\t<thomas.petazzoni@free-electrons.com>,\n\t\"buildroot@buildroot.org\" <buildroot@buildroot.org>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1798295,"web_url":"http://patchwork.ozlabs.org/comment/1798295/","msgid":"<1509658912.7985.7.camel@synopsys.com>","list_archive_url":null,"date":"2017-11-02T21:41:52","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":23881,"url":"http://patchwork.ozlabs.org/api/people/23881/","name":"Alexey Brodkin","email":"Alexey.Brodkin@synopsys.com"},"content":"Hi Thomas, Yann,\r\n\r\nOn Thu, 2017-11-02 at 22:38 +0100, Yann E. MORIN wrote:\r\n> Alexey, All,\r\n> \r\n> On 2017-11-02 21:31 +0000, Alexey Brodkin spake thusly:\r\n> > \r\n> > On Thu, 2017-11-02 at 19:14 +0100, Yann E. MORIN wrote:\r\n> > > \r\n> > > The ARC gdb version requires a gcc >= 4.8 (because C++11).\r\n> > > \r\n> > > Since the host variant uses the same sources as the target variant, we\r\n> > > must ensure that we have a host gcc >= 4.8 as well.\r\n> > > \r\n> > > Move the architecture dependencies to their own symbol, and also hide\r\n> > > the comment when they are not met.\r\n> > > \r\n> > > Fixes:\r\n> > >     https://urldefense.proofpoint.com/v2/url?u=http-3A__autobuild.buildroot.net_results_43eae264991aa369490236c7bd59c0b6a67fcf25_&d=DwIBAg&c=DPL\r\n> > > 6_X_\r\n> > > 6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=b-eGjVYMXoKYiImFRBhs00VOY_pLPUoEpAcAm77-\r\n> > > fbo&s=SxA_U3jSTkTx7D0f8Am0c_uZWHh4B6AFeUeYz9ZKe9c&e=\r\n> > > \r\n> > > Signed-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\r\n> > > Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>\r\n> > > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\r\n> > > ---\r\n> > >  package/gdb/Config.in.host | 18 ++++++++++++++----\r\n> > >  1 file changed, 14 insertions(+), 4 deletions(-)\r\n> > > \r\n> > > diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host\r\n> > > index c2cfc34284..797c07c3f9 100644\r\n> > > --- a/package/gdb/Config.in.host\r\n> > > +++ b/package/gdb/Config.in.host\r\n> > > @@ -1,4 +1,17 @@\r\n> > > +config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS\r\n> > > +\tbool\r\n> > > +\tdefault y\r\n> > > +\t# The ARC version needs C++11, thus gcc >= 4.8, like gdb-8.0.x\r\n> > \r\n> > Indeed our GDB is based on very up to date upstream sources so all\r\n> > limitations for GDB 8.x are valid for ARC's one.\r\n> > \r\n> > That said it has nothing to do with ARCH but only GDB version makes sense.\r\n> > So why don't we just introduce BR2_GDB_VERSION_ARC which will be the only option\r\n> > for ARC and will have the same set of \"depends\" as BR2_GDB_VERSION_8_0?\r\n> \r\n> If you do that, then you could still select BR2_PACKAGE_HOST_GDB, and\r\n> end up with a choice where there is no entry...\r\n> \r\n> We can do that in the !ARC case, because there are versions that do not\r\n> require anything, so 8.0 is just hidden and 7.xx are still visible,\r\n> which is not the case for ARC.\r\n\r\nLive and learn! :)\r\n\r\nThanks for the explanation.\r\nIndeed GDB situation in BR is not as simple as it looks like from the first sight.\r\n\r\n-Alexey","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySdpQ5GGBz9sBd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:42:06 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 4B1702FCAC;\n\tThu,  2 Nov 2017 21:42:04 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id aNQrwthaW7y6; Thu,  2 Nov 2017 21:42:02 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id E36482FB63;\n\tThu,  2 Nov 2017 21:42:01 +0000 (UTC)","from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 7B44A1BFF60\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:42:00 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 72053885FE\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:42:00 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id wVbvQ0wWaL1C for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:41:56 +0000 (UTC)","from smtprelay.synopsys.com (us01smtprelay-2.synopsys.com\n\t[198.182.60.111])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 82A92884B1\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 21:41:56 +0000 (UTC)","from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239])\n\tby smtprelay.synopsys.com (Postfix) with ESMTP id 120A410C1453;\n\tThu,  2 Nov 2017 14:41:55 -0700 (PDT)","from mailhost.synopsys.com (localhost [127.0.0.1])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id B876D902;\n\tThu,  2 Nov 2017 14:41:55 -0700 (PDT)","from US01WXQAHTC1.internal.synopsys.com\n\t(us01wxqahtc1.internal.synopsys.com [10.12.238.230])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id AA0C2901;\n\tThu,  2 Nov 2017 14:41:55 -0700 (PDT)","from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by\n\tUS01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft\n\tSMTP Server (TLS) id 14.3.266.1; Thu, 2 Nov 2017 14:41:55 -0700","from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099])\n\tby DE02WEHTCA.internal.synopsys.com ([::1]) with mapi id\n\t14.03.0266.001; Thu, 2 Nov 2017 22:41:53 +0100"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>","To":"\"yann.morin.1998@free.fr\" <yann.morin.1998@free.fr>","Thread-Topic":"[PATCH] package/gdb: ARC version has stringent dependencies on\n\thost gcc","Thread-Index":"AQHTVAZrvDl/C4retUWhIHgo+ls+7qMBix0AgAAB2oCAAAECAA==","Date":"Thu, 2 Nov 2017 21:41:52 +0000","Message-ID":"<1509658912.7985.7.camel@synopsys.com>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>\n\t<1509658298.7985.2.camel@synopsys.com> <20171102213815.GF30054@scaer>","In-Reply-To":"<20171102213815.GF30054@scaer>","Accept-Language":"en-US, ru-RU","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","x-originating-ip":"[10.225.15.245]","Content-ID":"<7DED9706A83CE040B9AD184E33056BB5@internal.synopsys.com>","MIME-Version":"1.0","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"\"thomas.petazzoni@free-electrons.com\"\n\t<thomas.petazzoni@free-electrons.com>,\n\t\"buildroot@buildroot.org\" <buildroot@buildroot.org>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1798297,"web_url":"http://patchwork.ozlabs.org/comment/1798297/","msgid":"<20171102224426.1900f2d5@windsurf>","list_archive_url":null,"date":"2017-11-02T21:44:26","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":2230,"url":"http://patchwork.ozlabs.org/api/people/2230/","name":"Thomas Petazzoni","email":"thomas.petazzoni@free-electrons.com"},"content":"Hello,\n\nOn Thu,  2 Nov 2017 19:14:05 +0100, Yann E. MORIN wrote:\n> The ARC gdb version requires a gcc >= 4.8 (because C++11).\n> \n> Since the host variant uses the same sources as the target variant, we\n> must ensure that we have a host gcc >= 4.8 as well.\n> \n> Move the architecture dependencies to their own symbol, and also hide\n> the comment when they are not met.\n> \n> Fixes:\n>     http://autobuild.buildroot.net/results/43eae264991aa369490236c7bd59c0b6a67fcf25/\n> \n> Signed-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\n> Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>\n> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n> ---\n>  package/gdb/Config.in.host | 18 ++++++++++++++----\n>  1 file changed, 14 insertions(+), 4 deletions(-)\n\nApplied to master, thanks.\n\nHowever, there are still a few cases that are not taken into account:\n\n * We need C++ support in the toolchain to build the target gdb for\n   ARC. This is already handled for !ARC, because BR2_GDB_VERSION_8_0\n   can only be selected if BR2_INSTALL_LIBSTDCPP=y.\n\n   Note: I'm not sure if we need C++ to build just gdbserver, it would\n   be worth checking. Currently, for gdb 8.x, we require C++, even if\n   the user only wants gdbserver on the target.\n\n * We need a 4.8 target compiler to build the target gdb for ARC.\n   Indeed, a user might enable BR2_PACKAGE_GDB on ARC to build the\n   target gdb. And that would fail if the compiler isn't gcc >= 4.8.\n   I'm not even sure ARC ever had a toolchain using gcc 4.8, but in\n   theory this dependency is missing.\n\nThomas","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySdsJ732lz9sBd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 08:44:36 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 07FD786138;\n\tThu,  2 Nov 2017 21:44:34 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id cIjApkuAlMho; Thu,  2 Nov 2017 21:44:32 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id EDA0885D71;\n\tThu,  2 Nov 2017 21:44:31 +0000 (UTC)","from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 882691BFF60\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:44:30 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 77C4384D1C\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:44:30 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id syxQT56Pxcvt for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 21:44:29 +0000 (UTC)","from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 9123384C8C\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 21:44:29 +0000 (UTC)","by mail.free-electrons.com (Postfix, from userid 110)\n\tid A045C208C0; Thu,  2 Nov 2017 22:44:27 +0100 (CET)","from windsurf (132.230.147.77.rev.sfr.net [77.147.230.132])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 3FE99203B7;\n\tThu,  2 Nov 2017 22:44:27 +0100 (CET)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","Date":"Thu, 2 Nov 2017 22:44:26 +0100","From":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","To":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","Message-ID":"<20171102224426.1900f2d5@windsurf>","In-Reply-To":"<20171102181405.6476-1-yann.morin.1998@free.fr>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>","Organization":"Free Electrons","X-Mailer":"Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>, buildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1798312,"web_url":"http://patchwork.ozlabs.org/comment/1798312/","msgid":"<1509660426.7985.23.camel@synopsys.com>","list_archive_url":null,"date":"2017-11-02T22:07:07","subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","submitter":{"id":23881,"url":"http://patchwork.ozlabs.org/api/people/23881/","name":"Alexey Brodkin","email":"Alexey.Brodkin@synopsys.com"},"content":"Hi Thomas,\r\n\r\nOn Thu, 2017-11-02 at 22:44 +0100, Thomas Petazzoni wrote:\r\n> Hello,\r\n> \r\n> On Thu,  2 Nov 2017 19:14:05 +0100, Yann E. MORIN wrote:\r\n> > \r\n> > The ARC gdb version requires a gcc >= 4.8 (because C++11).\r\n> > \r\n> > Since the host variant uses the same sources as the target variant, we\r\n> > must ensure that we have a host gcc >= 4.8 as well.\r\n> > \r\n> > Move the architecture dependencies to their own symbol, and also hide\r\n> > the comment when they are not met.\r\n> > \r\n> > Fixes:\r\n> >     https://urldefense.proofpoint.com/v2/url?u=http-3A__autobuild.buildroot.net_results_43eae264991aa369490236c7bd59c0b6a67fcf25_&d=DwICAg&c=DPL6_\r\n> > X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=ET-RDZJb29-\r\n> > XWo2Ni05GPO6BH2GHBPDl7jX0OObbhtI&s=Lha759WlCLxxQvKx4XnlEtxFsfcU_c1UmAu-cpJyWRU&e=\r\n> > \r\n> > Signed-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\r\n> > Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>\r\n> > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\r\n> > ---\r\n> >  package/gdb/Config.in.host | 18 ++++++++++++++----\r\n> >  1 file changed, 14 insertions(+), 4 deletions(-)\r\n> \r\n> Applied to master, thanks.\r\n> \r\n> However, there are still a few cases that are not taken into account:\r\n> \r\n>  * We need C++ support in the toolchain to build the target gdb for\r\n>    ARC. This is already handled for !ARC, because BR2_GDB_VERSION_8_0\r\n>    can only be selected if BR2_INSTALL_LIBSTDCPP=y.\r\n> \r\n>    Note: I'm not sure if we need C++ to build just gdbserver, it would\r\n>    be worth checking. Currently, for gdb 8.x, we require C++, even if\r\n>    the user only wants gdbserver on the target.\r\n\r\nFrom this https://sourceware.org/ml/gdb-patches/2016-10/msg00775.html\r\nI'd say gdbserver is also affected, i.e. we need C++-enabled cross-toolchain\r\nfor building gdbserver from GDB v8+.\r\n\r\nAlso refer to GDB's article on that regard: https://sourceware.org/gdb/wiki/cxx-conversion\r\n\r\n>  * We need a 4.8 target compiler to build the target gdb for ARC.\r\n>    Indeed, a user might enable BR2_PACKAGE_GDB on ARC to build the\r\n>    target gdb. And that would fail if the compiler isn't gcc >= 4.8.\r\n>    I'm not even sure ARC ever had a toolchain using gcc 4.8, but in\r\n>    theory this dependency is missing.\r\n\r\nFWIW I remember those days when we used GCC 4.2, then switched to 4.4 and\r\nthen to 4.8 not that long ago. So in theory pre 4.8 toolchains for ARC\r\nexist but hopefully are not really used [a lot] so before we get any\r\ncomplaint on that I'd just not think about it and would assume ARC tools\r\nare always >= 4.8.\r\n\r\n-Alexey","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ySfNc1cSFz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  3 Nov 2017 09:08:16 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 0077A88608;\n\tThu,  2 Nov 2017 22:08:14 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 5Vl9H97Us856; Thu,  2 Nov 2017 22:08:13 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 2CD65885A8;\n\tThu,  2 Nov 2017 22:08:13 +0000 (UTC)","from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 6CF021C436B\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 22:08:11 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 5CA66885A8\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 22:08:11 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id yewkviY955Fq for <buildroot@lists.busybox.net>;\n\tThu,  2 Nov 2017 22:08:10 +0000 (UTC)","from smtprelay.synopsys.com (us01smtprelay-2.synopsys.com\n\t[198.182.47.9])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 987CD88442\n\tfor <buildroot@buildroot.org>; Thu,  2 Nov 2017 22:08:10 +0000 (UTC)","from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238])\n\tby smtprelay.synopsys.com (Postfix) with ESMTP id 3E78E24E207A;\n\tThu,  2 Nov 2017 15:08:10 -0700 (PDT)","from mailhost.synopsys.com (localhost [127.0.0.1])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id 2ACA586E;\n\tThu,  2 Nov 2017 15:08:10 -0700 (PDT)","from US01WEHTC3.internal.synopsys.com\n\t(us01wehtc3.internal.synopsys.com [10.15.84.232])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id F11EC869;\n\tThu,  2 Nov 2017 15:08:09 -0700 (PDT)","from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by\n\tUS01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP\n\tServer (TLS) id 14.3.266.1; Thu, 2 Nov 2017 15:07:10 -0700","from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099])\n\tby DE02WEHTCB.internal.synopsys.com ([::1]) with mapi id\n\t14.03.0266.001; Thu, 2 Nov 2017 23:07:08 +0100"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Alexey Brodkin <Alexey.Brodkin@synopsys.com>","To":"\"thomas.petazzoni@free-electrons.com\"\n\t<thomas.petazzoni@free-electrons.com>","Thread-Topic":"[Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","Thread-Index":"AQHTVAZrvDl/C4retUWhIHgo+ls+7qMBjrEAgAAGVQA=","Date":"Thu, 2 Nov 2017 22:07:07 +0000","Message-ID":"<1509660426.7985.23.camel@synopsys.com>","References":"<20171102181405.6476-1-yann.morin.1998@free.fr>\n\t<20171102224426.1900f2d5@windsurf>","In-Reply-To":"<20171102224426.1900f2d5@windsurf>","Accept-Language":"en-US, ru-RU","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","x-originating-ip":"[10.225.15.245]","Content-ID":"<8F0279E7CA8DC74FA9CEC3F5B4AC3F73@internal.synopsys.com>","MIME-Version":"1.0","Subject":"Re: [Buildroot] [PATCH] package/gdb: ARC version has stringent\n\tdependencies on host gcc","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Cc":"\"yann.morin.1998@free.fr\" <yann.morin.1998@free.fr>,\n\t\"buildroot@buildroot.org\" <buildroot@buildroot.org>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}}]