From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B80E2C43331 for ; Mon, 11 Nov 2019 18:43:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90BB021783 for ; Mon, 11 Nov 2019 18:43:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=golovin.in header.i=@golovin.in header.b="0AgvEJRs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728936AbfKKSn0 (ORCPT ); Mon, 11 Nov 2019 13:43:26 -0500 Received: from forward106p.mail.yandex.net ([77.88.28.109]:55623 "EHLO forward106p.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728301AbfKKSnV (ORCPT ); Mon, 11 Nov 2019 13:43:21 -0500 X-Greylist: delayed 351 seconds by postgrey-1.27 at vger.kernel.org; Mon, 11 Nov 2019 13:43:19 EST Received: from forward100q.mail.yandex.net (forward100q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb97]) by forward106p.mail.yandex.net (Yandex) with ESMTP id B98701C806FA; Mon, 11 Nov 2019 21:37:26 +0300 (MSK) Received: from mxback8q.mail.yandex.net (mxback8q.mail.yandex.net [IPv6:2a02:6b8:c0e:42:0:640:b38f:32ec]) by forward100q.mail.yandex.net (Yandex) with ESMTP id B41CC7080002; Mon, 11 Nov 2019 21:37:26 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback8q.mail.yandex.net (mxback/Yandex) with ESMTP id Fm9TxESHgv-bPd8t6v3; Mon, 11 Nov 2019 21:37:25 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golovin.in; s=mail; t=1573497445; bh=Kr8Q2CYrVzqyFN3+KQChl/ZmdG+3/pTsRbqPDvZ9Fks=; h=Message-Id:Date:Cc:Subject:To:From; b=0AgvEJRsURO6sGtecisNH6I2lDJ54V2JAceWcUvHyXAnXtKKbeLunJnwPU6TWGnii Bn9j0Ykvy8GTF7jCTOnbtINI/X+br9PLuzJg60pEkOMQevn5g2R3JkHsiGZxWY//07 f0SY09SjPC/o6lMy23G899p+Zw3q5mZA2qLZAqdQ= Authentication-Results: mxback8q.mail.yandex.net; dkim=pass header.i=@golovin.in Received: by vla1-b2d94eaf2344.qloud-c.yandex.net with HTTP; Mon, 11 Nov 2019 21:37:25 +0300 From: Dmitry Golovin To: Masahiro Yamada Cc: Ethan Sommer , Michal Marek , Rob Herring , Frank Rowand , Sedat Dilek , Nathan Chancellor , Nick Desaulniers , Linux Kbuild mailing list , Linux Kernel Mailing List , DTML Subject: Re: [PATCH v2] kbuild: support byacc as alternative YACC to bison MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 11 Nov 2019 20:37:25 +0200 Message-Id: <17102241573497445@vla1-b2d94eaf2344.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain 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. In fact Linux now can be built without using GNU binutils and using LLVM tools instead. It's just one architecture and a specific config now, but eventually the others will be built too. You can follow the progress here: https://github.com/ClangBuiltLinux/continuous-integration/issues/73 I believe that compatibility with different alternative tools is a good thing as long as it doesn't add unwanted complexity. And as this patch is just changing command-line flags to their portable variants and explicitly adds a couple of definitions that are presumed by GNU bison, I can't see a problem with it. Regards, Dmitry