public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Failing in generated file options.c
@ 2021-03-16  8:27 Erick Ochoa
  0 siblings, 0 replies; 5+ messages in thread
From: Erick Ochoa @ 2021-03-16  8:27 UTC (permalink / raw)
  To: gcc

Hi Gary,

the options.c file is generated from the gcc/common.opt file. Report was a
keyword that could be given to optimization options but which was dropped
sometime in December I think. The patches I sent you should have the
keyword Report dropped. Are you applying your sources already? If not, are
you only applying a subset of the patches? If you look at the patch
numbered 9, you will see that the Report keyword was removed. If you are
only applying patches before the 9th, yeah I would expect that error to
trigger.

-Erick

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Failing in generated file options.c
@ 2021-03-16  2:39 Gary Oblock
  2021-03-16  7:04 ` Andrew Pinski
  2021-03-16  8:52 ` Martin Liška
  0 siblings, 2 replies; 5+ messages in thread
From: Gary Oblock @ 2021-03-16  2:39 UTC (permalink / raw)
  To: gcc

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?


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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-16  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16  8:27 Failing in generated file options.c Erick Ochoa
  -- strict thread matches above, loose matches on Subject: below --
2021-03-16  2:39 Gary Oblock
2021-03-16  7:04 ` Andrew Pinski
2021-03-16  8:52 ` Martin Liška
2021-03-16  9:59   ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).