From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5813 invoked by alias); 5 Jan 2008 14:25:23 -0000 Received: (qmail 5801 invoked by uid 22791); 5 Jan 2008 14:25:22 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 05 Jan 2008 14:24:54 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m05EOqUq015305 for ; Sat, 5 Jan 2008 09:24:52 -0500 Received: from zebedee.littlepinkcloud.COM (vpn-14-13.rdu.redhat.com [10.11.14.13]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m05EOpod022231; Sat, 5 Jan 2008 09:24:52 -0500 Received: from littlepinkcloud.COM (localhost.localdomain [127.0.0.1]) by zebedee.littlepinkcloud.COM (8.13.8/8.13.5) with ESMTP id m05EOp1V017115; Sat, 5 Jan 2008 14:24:51 GMT Received: (from aph@localhost) by littlepinkcloud.COM (8.13.8/8.13.5/Submit) id m05EOox8017111; Sat, 5 Jan 2008 14:24:50 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18303.37682.764849.533611@zebedee.pink> Date: Sun, 06 Jan 2008 11:11:00 -0000 From: Andrew Haley To: "Matteo Rama" Cc: gcc-help@gcc.gnu.org Subject: Re: cannot build gcc 3.2.3 in Suse 10.3 (gcc 4.2.1) In-Reply-To: <8a5d77640801050609q423c9ebfqd77bd1e9b2f0e9c1@mail.gmail.com> References: <8a5d77640801050312n458a95e8ne112521e0e1beb53@mail.gmail.com> <18303.34783.719194.834082@zebedee.pink> <8a5d77640801050609q423c9ebfqd77bd1e9b2f0e9c1@mail.gmail.com> X-Mailer: VM 7.19 under Emacs 22.0.93.1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg00044.txt.bz2 Matteo Rama writes: > 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 Well, you're going to have to fix the code. Feel free to ask us, but we'll need more information, such as the preprocessed source. Yeah, I suppose I could try building it myself, but it's not a very interesting thing to do. I might try a build later. Andrew. -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903