Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4011845ybg; Tue, 29 Oct 2019 00:25:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwP4ohNa+QPvMFNcB6UMIOclrcFR1aTwBZqOyr60cma9FS1rk+B44TeYI6QKHmoX9gcvkQ1 X-Received: by 2002:a17:906:4e55:: with SMTP id g21mr1879170ejw.0.1572333907047; Tue, 29 Oct 2019 00:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572333907; cv=none; d=google.com; s=arc-20160816; b=SOOMc/ir7pu3eproLUD4bAKRKtmjemgSbkMxhhNOiNo+eTqNZBEsEn6zx2gsBa9kZl 3SwaTWvSN6fl9gNg1Q9yL1AE86y89iowieOVR6ygw3ieGAj3JWc7ly6k9T7Vk0dyp3jS Uvp2vVbDwVxrpIuAwGti3Ip0s/4hojGpbhji8FPjKnYUyXNTmGj9BsgwhrEchAkaXK8A mPIaMuzPIWsHefm3PXLJBpv7q5mx+glnmd01LkMb6+huLUSNieQ6K/ptXA6TguK2c+fK lVmtDEiGFt1rnmCd7T3aCmECXC3OR1zqbaSE6weLNZartNWWTlC7GomZpdtSh0XNVVRo yncA== 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:dkim-filter; bh=WiGt+TCyyATo5E1qzm7PLkeK8QQ2Cm8OCwWpT1e4wCI=; b=JORGdSi634NIX8v8zd+mPJMNUe1CpNfP+0aQcoc/2wNj5OqKaQyuSaKKjLyVqaNC7h aaFUoRoawbA9Sfq5YaMquu+Mk6zyqcEkm+GTPkFFRBHrqQvvKR4+WDfK2hVH7ZVoaKh4 oGKEZu6s8bkuh1h1UZEZxOrFahOhHyB64TY+53yKvwg9e9tnfGtEYU703Hw0tdNhYlns URpvnAjXrOoNxU8ukkhdNyq3X4RggYEfqqUSrG/Drv9i+MZ/Qrnlxs4fEyttt5R5sEPH ZGT4jm6Ke0FVH/X7zxQ+gmbLWLsmsHx7uox4WvbKeFVYDlrfTDIayOBSqLllKIslDp5k z3QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pT5nXJVc; 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 v13si11405904eda.131.2019.10.29.00.24.43; Tue, 29 Oct 2019 00:25:07 -0700 (PDT) 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=@nifty.com header.s=dec2015msa header.b=pT5nXJVc; 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 S1730258AbfJ2B5A (ORCPT + 99 others); Mon, 28 Oct 2019 21:57:00 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:41073 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727263AbfJ2B47 (ORCPT ); Mon, 28 Oct 2019 21:56:59 -0400 Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x9T1ufbp013620; Tue, 29 Oct 2019 10:56:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x9T1ufbp013620 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1572314202; bh=WiGt+TCyyATo5E1qzm7PLkeK8QQ2Cm8OCwWpT1e4wCI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pT5nXJVc2vnAqpTvk7LjqeXZFnkhsKLCcbarM4RZdq2krk8GUlh/Hm1LiVHfYMS1N l/4CmjA6bXuGkykUTHuBgkptWP+QjGuVT79bR8k7dCQ8DIjvnTvOsAF2nw4QNMBZXJ snvZ99/qEBIAAhTsvbUx77S1xP0XQHhHCAInzEGOF3PZEXYGj/ZIfgfQK4KePr8DBW zpua6fFLJremi+i/GcE+n9P3QeMUjjeMgbxh4p/NGwcEWXh7vE4ErPbMBmgcPOF8Vi hw0SdxsNs11za2H4osYYS8o13aOY8sa3z6zal85UzFXDAC1Lv8B2CE5TX4zRCI1rCc TKEDTQREOT1cg== X-Nifty-SrcIP: [209.85.217.53] Received: by mail-vs1-f53.google.com with SMTP id k1so5121939vsm.0; Mon, 28 Oct 2019 18:56:42 -0700 (PDT) X-Gm-Message-State: APjAAAXqX4JjueQpxjBVQ4/1eA7HYliayFLytWjVBzYZE0vgK2LMbQHf 5tilmaSlZLnKiQhedAhMFTkraBEUK8t1AL+laLQ= X-Received: by 2002:a67:2d08:: with SMTP id t8mr298470vst.155.1572314201070; Mon, 28 Oct 2019 18:56:41 -0700 (PDT) MIME-Version: 1.0 References: <20191028155639.30330-1-e5ten.arch@gmail.com> In-Reply-To: From: Masahiro Yamada Date: Tue, 29 Oct 2019 10:56:05 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: support byacc as alternative YACC to bison To: Ethan Sommer Cc: Michal Marek , Nathan Chancellor , Sedat Dilek , Nick Desaulniers , Linux Kbuild mailing list , Linux Kernel Mailing List 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 Hi Ethan, On Tue, Oct 29, 2019 at 10:41 AM Ethan Sommer wrote: > > > I applied this patch, and tried the latest byacc, > > but I still cannot build kconfig probably because > > %destructor is not supported. > > byacc does not seem to work anyway. > > Hi Masahiro, because I hadn't built it in a while I completely forgot > that to support %destructor byacc needs to be built with > --enable-btyacc, should I update the commit message to include that > detail? OK, I was able to build kconfig with --enable-btyacc. byacc still cannot build scripts/dtc/dtc-parser.y Thought? dtc is not compiled for x86. Please try ARCH=arm. masahiro@pug:~/ref/linux$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- YACC=/home/masahiro/bin/yacc scripts/kconfig/conf --syncconfig Kconfig SYSHDR arch/arm/include/generated/uapi/asm/unistd-common.h SYSHDR arch/arm/include/generated/uapi/asm/unistd-oabi.h SYSHDR arch/arm/include/generated/uapi/asm/unistd-eabi.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] /home/masahiro/bin/yacc: e - line 120 of "scripts/dtc/dtc-parser.y", syntax error ERROR(&@2, "Header flags don't match earlier ones"); ^ make[1]: *** [scripts/Makefile.host;17: scripts/dtc/dtc-parser.tab.h] Error 1 make[1]: *** Deleting file 'scripts/dtc/dtc-parser.tab.h' make[1]: *** [scripts/dtc/dtc-parser.tab.h] Deleting file 'scripts/dtc/dtc-parser.tab.c' make: *** [Makefile;1260: scripts_dtc] Error 2 -- Best Regards Masahiro Yamada