From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by sourceware.org (Postfix) with ESMTPS id 9FE073858034 for ; Tue, 16 Mar 2021 07:04:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9FE073858034 Received: by mail-yb1-xb30.google.com with SMTP id h82so35703149ybc.13 for ; Tue, 16 Mar 2021 00:04:33 -0700 (PDT) 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:content-transfer-encoding; bh=/CsPTQY4QSIlyACC/SAzGXl/dct7kXUB+8ENoRAwvPU=; b=ABnBjkGbaR7i/Du7KcLKI5get2PCzTuWK7vu+jf9gUjwcyaBz3IlMRqT9OhoPtZKT0 e1sK+QAxQUdwnIz3NJs7sZF/hd/yfpGm/XNiaXuU+vUGM6QpF3kvYV0ZO1wRGxAaDwYW 6Xg9+r+04UlpZ7hBd9WdY9kW0txNylU1glYh7TN3UFKXXCEGJhqUf1AIls060lNEkQwl myl0R2yjMdVVqcuLQGHSllaO+9+SRCyM4Frt9h8AgtYETCruBCd43uj7yBphAZNtb1ap xaIw1zCW3+4pQrqxGF/VSFblS8k244buUTQ2xy47qQSXSx+1yLtWueJh697qx0ERiEts +azQ== X-Gm-Message-State: AOAM5300dYBq1GD3UF2+r6ugSKaCfPGZtCAIcZQiLrdygbcn7bctDyH/ a4QF+iNFNr47/5zQGtqx2+WVnKR8n+RLubTvm8Gdz/Jz8AvlhQ== X-Google-Smtp-Source: ABdhPJwkDNVT/tqmGFfzX39/tpnDot+3XW6lqR2uDpptxc44R3dg8N2pFQJ4H66uhn0pnAvl87DrlDT8MQqIiY//Eeg= X-Received: by 2002:a25:3495:: with SMTP id b143mr4910761yba.431.1615878273176; Tue, 16 Mar 2021 00:04:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Pinski Date: Tue, 16 Mar 2021 00:04:21 -0700 Message-ID: Subject: Re: Failing in generated file options.c To: Gary Oblock Cc: "gcc@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2021 07:04:34 -0000 On Mon, Mar 15, 2021 at 7:41 PM Gary Oblock via Gcc wrote= : > > Guys, > > I checked out a fresh copy of the GCC sources today, applied somebodies > patch to it and voila! > > options.c:13591:2: error: #error Report option property is dropped #error= Report option property is dropped > > I built this the same minimally convoluted way that I always do. > > cd $1 > BASE=3D`pwd` > echo BASE =3D $BASE > touch objdir install > rm -rf objdir install > mkdir objdir install > cd objdir > echo BUILDING IN `pwd` > ../sources/configure --prefix=3D$BASE/install --disable-bootstrap -enable= -language=3Dc,c++,lto --disable-multilib --enable-valgrind-annotations > make CFLAGS=3D'-O2 -g' CXXFLAGS=3D'-O2 -g' -j 12 > make install > > The file option.c is generated in objdir/gcc by an awk script: > > mawk -f ../../sources/gcc/opt-functions.awk -f ../../sources/gcc/opt-read= .awk \ > -f ../../sources/gcc/optc-gen.awk \ > -v header_name=3D"config.h system.h coretypes.h options.h tm.h" < = optionlist > options.c > > Does anyone have any idea what's going to here? # If FLAGS contains a "NAME(...argument...)" flag, return the value # of the argument. Print error message otherwise. It could be any of the following: Name/Type inside Enum Enum/String/Value instead EnumValue Thanks, Andrew > > > CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, i= s for the sole use of the intended recipient(s) and contains information th= at is confidential and proprietary to Ampere Computing or its subsidiaries.= It is to be used solely for the purpose of furthering the parties' busines= s relationship. Any unauthorized review, copying, or distribution of this e= mail (or any attachments thereto) is strictly prohibited. If you are not th= e intended recipient, please contact the sender immediately and permanently= delete the original and any copies of this email and any attachments there= to.