Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6549824ybx; Mon, 11 Nov 2019 10:47:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyWJIgI7E3Hc4W2Ma0CP/Ies3mz7qm4ZMdYbtNufIC28pw231ZbHwYKQXc57fKOmIFWXhKK X-Received: by 2002:a17:906:3490:: with SMTP id g16mr24844015ejb.189.1573498045685; Mon, 11 Nov 2019 10:47:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573498045; cv=none; d=google.com; s=arc-20160816; b=BRhu/h1l/2Nw16RM/QJ6KYS8a5xFZdMy5nKQqaP1UhL8a7lvqk1nzRkn24ZWQuLsEe YMzPlLZpWcqfW9qkOcMqlqFkmdvl69CBR22lYKwy7ybbJ5LwaYlc9gN2NYhuUpt57kM8 C/HjnGQGG8KUyOGXu0ZfcaEvLbSvhumoxFEVGXo+P7CHRUeVnn725woLxHIhFg8rjrfo I+I+OLhXQMBIy40sEpiSmz3d3B+0+TRyKkiy8F+m35Lv5V4MSxeXMX5hHhy/O3saGhyz pGNxcsisDVhclNK37hnInzDV36XeE1xANQpGxAXbN9v4rqOI7dYkx8hH9fS7IgNchRPE 5ITw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id:date :mime-version:subject:cc:to:from:dkim-signature; bh=Kr8Q2CYrVzqyFN3+KQChl/ZmdG+3/pTsRbqPDvZ9Fks=; b=ThUm7SbS9UWHKxby2tWUdNMylb22TOtePteHULDtg9OGVfL0SPC4y43oP5T17ofoLN feIhMoxiG6CS5axiFNv42fTpMQkrLuDM5pWgy6azSBy8ZM8bDLfDLIDvjaAcgUCclNk/ 0jDzGzRm0Tl9daPUvmCjNs4D+O8541vzB2h6XZ5W7MIIfvo2PfJPrB7ef+cDr9lSWtij uOWsx0q/JNwUNaAYxG8EoHmBLWgEoKuRAO5kN/6q5Ke5LJnF94FMG6etj67hAGmMc9RZ xvINiJKX0j5O+9f7hpYfeM5DlCDn6uHZMLEPlcQIvuTmPEs+Xi/7qxEEJGoyDoE5L8J5 gRFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@golovin.in header.s=mail header.b=0AgvEJRs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t22si8981754ejx.194.2019.11.11.10.47.01; Mon, 11 Nov 2019 10:47:25 -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=@golovin.in header.s=mail header.b=0AgvEJRs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729620AbfKKSnZ (ORCPT + 99 others); Mon, 11 Nov 2019 13:43:25 -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