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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux