This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cannot build gcc 3.2.3 in Suse 10.3 (gcc 4.2.1)


Matteo Rama wrote:
> thanks for the reply. It looks like replacing line 662 of read-rtl.c with
> obstack_ptr_grow (&vector_stack, read_rtx (infile));
> doesn't fix the problem. The error is still there:
> ....
> .../../gcc-3.2.3/gcc/read-rtl.c: In function 'read_rtx':
> .../../gcc-3.2.3/gcc/read-rtl.c:662: error: lvalue required as increment operand
> .../../gcc-3.2.3/gcc/read-rtl.c:662:60: warning: C++ style comments are
> not allowed in ISO C90
> .../../gcc-3.2.3/gcc/read-rtl.c:662:60: warning: (this will be reported
> only once per input file)
> make[1]: *** [read-rtl.o] Error 1
> make[1]: Leaving directory `/root/gcc/obj/gcc'
> make: *** [all-gcc] Error 2

I thought the usual suggestion, if you don't want to fix the source
code, was to build one of the earliest gcc versions which has this bug
fixed.  Then you should be able to use this older version to build the
buggy version.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]