From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id A03CE3858004 for ; Tue, 16 Mar 2021 08:52:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A03CE3858004 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mliska@suse.cz X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 83820AC1F; Tue, 16 Mar 2021 08:52:26 +0000 (UTC) Subject: Re: Failing in generated file options.c To: Gary Oblock , "gcc@gcc.gnu.org" References: From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <6cbf7bc1-8dff-d547-8db7-524796b21c06@suse.cz> Date: Tue, 16 Mar 2021 09:52:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 08:52:28 -0000 On 3/16/21 3:39 AM, 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=`pwd` > echo BASE = $BASE > touch objdir install > rm -rf objdir install > mkdir objdir install > cd objdir > echo BUILDING IN `pwd` > ../sources/configure --prefix=$BASE/install --disable-bootstrap -enable-language=c,c++,lto --disable-multilib --enable-valgrind-annotations > make CFLAGS='-O2 -g' CXXFLAGS='-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="config.h system.h coretypes.h options.h tm.h" < optionlist > options.c > > Does anyone have any idea what's going to here? Hey. As already mentioned, the error message appeared in 5137d1ae6a1fe4a3ff8b5983f6e4d9aeb69e5486: Remove Report keyword for options Since g:7caa49706316e650fb67719e1a1bf3a35054b685 the option is ignored as we print used command line for -fverbose-asm output. gcc/ChangeLog: * doc/options.texi: Remove Report keyword. * opt-functions.awk: Print error when Report keyword is used. * optc-gen.awk: Do not handle Report keyword. * opts.h (struct cl_option): Remove cl_report bitfield flag. > > > CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to Ampere Computing or its subsidiaries. It is to be used solely for the purpose of furthering the parties' business relationship. Any unauthorized review, copying, or distribution of this email (or any attachments thereto) is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. > Small comment about this one. Is it really appropriate attaching such a notice if you send an email to a public mailing list? Cheers, Martin