Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3176649ybx; Sun, 3 Nov 2019 12:31:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyS1gZIa85SRcQfywu8lEeZO/W2jpr1UV/NGIbmhakTKbpEj37hmzMW0U41PcD6QJkwKl6u X-Received: by 2002:a17:906:218a:: with SMTP id 10mr20539636eju.38.1572813089619; Sun, 03 Nov 2019 12:31:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572813089; cv=none; d=google.com; s=arc-20160816; b=hm+Pz8MoN/eS1nHXA3bP6UnlcWJUfjLUUGCfA6NV9EvcOXbRpTcH6KDqso0WXcmhyd 0Jtn1XIsub4KqZOp81k3vjB+wAeCWz/pLnIHD64uCqHQ8ajiLQQPy4KIUE/lxNWTqAhd Gjm2H750SaHDda47cgGPPynRz7z2JVA1ckR9hmjprSrMgpEzPSZDow/Z37Okr4VXa5Na cpLpE0q8Ct2JvgwStyDjKrlmmPZm/rFv5pmsf6GqRrBM5lAjH/ovs2RLlv/in0i4jW71 p6aYwP4otWbnOUrddJ0SjmIJgq+j+QXETWNLeik1Ar78T+E9OcrN1OkR0VwE3w98EDur T7WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+/Dl0NwpxyUS4OH0o/CTzf2Lvn1O/Yggm8DAxZlB9h4=; b=A7xlTEYVbztRI3f642nfhaWVl2ulnYOkVQO9VrJvB/r6N00M4blry+9WWS4D3xwABt Vxhh/OmhmSGN9SEzsQmOsIU/BqIIAVCT1bUtGrC1waqvuRlHc8YGsikJveqvj0dSs8BK 0O5oiHJT8/H3zXjoI92YrSF+zZ5iEPX5hhMDg2ob2AWctfSVCcYDLPIb0ccjJMBj6gYa Nq7OHdJuaFqAlXN4n4S/NNLUtahxu8jjFCC/qJKpRT7W8r6aoFLKAZu4ETpyi+yCY7Dp XUJsliI3RR0Tza0q1BBkv/VZ+u7mrRAbuRWHCPxe3TiIxVPQ+XNNMZdOqDuUyMxsthd6 W3gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ArRwMuxg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si4288211edu.189.2019.11.03.12.31.03; Sun, 03 Nov 2019 12:31:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ArRwMuxg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728113AbfKCUaY (ORCPT + 99 others); Sun, 3 Nov 2019 15:30:24 -0500 Received: from mail-il1-f195.google.com ([209.85.166.195]:46239 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726408AbfKCUaY (ORCPT ); Sun, 3 Nov 2019 15:30:24 -0500 Received: by mail-il1-f195.google.com with SMTP id m16so12963591iln.13; Sun, 03 Nov 2019 12:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+/Dl0NwpxyUS4OH0o/CTzf2Lvn1O/Yggm8DAxZlB9h4=; b=ArRwMuxganAAYmG/hR7ZbkL3oypgIcEP9iJg2bRJ9hEVDrBof6yXbS2uhpbce6amYd +r7K19XMwFQYby4mMn1ngH3+0mIYE5TlnENiepO9CAeL4x9HykNkKzWW+7nqvc+8tWHW fPXLeOizDKgIn3fxG5WjDRUEPdYidJczn5a4OsouNU0OYPCJor7mw296LSmRq9GISzeE 4R85msRkDBbkYs6bQ/bCO4oxcLg2J7OtLr6pqfvQM/cUYuxPrksiDZq0ZicexH17TUyG em8sLGCKxML7OAnFhBtdXfoG74RaRPRzLNRPUNw+G9SeNuid1maf7829FySfSEHBqCQD c93g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+/Dl0NwpxyUS4OH0o/CTzf2Lvn1O/Yggm8DAxZlB9h4=; b=JAcfBIJo6y3WDjbB8eJG9cbb+cWc6Skun4+6AwwsUWxPjTJ5GUaIKI/MZQyynuJ6TR CKj2IU4WDwy/NjlZctsfIbQxk87mv+5xzdSvJWfHYkw5tewjMRfSOnwuv9+g11LMZb12 bees9RqhdMqVkkn/KNofhTFUq221KoVxHcf3Dg0hzuijA53h3vOF/7EB/V08xzTRhlWi v91LmifCYKC3g1MnPqQau12nnaXUjxWx8R3YIewN6NzdCumIKoQx9pF8z8AGFkyTnc57 O5pOVztinAG0QFg2VkaFCJqJz+GXLvRBm32rhCrL3d4vOKPKaOZFwLYoqZew+QmD5RfR ivIg== X-Gm-Message-State: APjAAAWZ35AznbzssAx/ApVPUNDfTaAEDYzBDQxvCQdeu2LVbRSvu9vN 2ugmg873nNmUHANdkJn9/xwMxGY95K7h5rQWUVo= X-Received: by 2002:a92:1793:: with SMTP id 19mr24909394ilx.3.1572813023146; Sun, 03 Nov 2019 12:30:23 -0800 (PST) MIME-Version: 1.0 References: <20191029150119.19823-1-e5ten.arch@gmail.com> In-Reply-To: From: Ethan Sommer Date: Sun, 3 Nov 2019 15:30:11 -0500 Message-ID: Subject: Re: [PATCH v2] kbuild: support byacc as alternative YACC to bison To: Masahiro Yamada Cc: Michal Marek , Rob Herring , Frank Rowand , Sedat Dilek , Nathan Chancellor , Nick Desaulniers , Linux Kbuild mailing list , Linux Kernel Mailing List , DTML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Hmm, this is unfortunate since there is no common way to > specify the header path directly. > > I am not sure how much effort we should invent > to support non-GNU implementation > since we already rely on various GNU tools. > > If we decide to support byacc, > we must carry the restriction > that bans GNU-extension. I just realized that I accidentally only responded to Masahiro with my previous email from a few days ago so I'll just quote it here: "I feel like changing 10 lines to support a different yacc implementation that supports most of the GNU-specific features here isn't the same thing as banning all GNU extensions, and in regards to the file prefix, the method in my patch creates the same file names as the bison-specific one for the 3 cases it is used for, and the flags used for it are POSIX yacc compatible. In my opinion increasing compatibility shouldn't have to be all or nothing, and it makes sense to make changes that increase compatibility without outright banning GNU extensions entirely." Aside from that, patch to dtc has just been applied, so pulling the latest upstream changes as well as the v2 of this patch should be what would be needed to support byacc.