From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20443 invoked by alias); 24 Jan 2002 20:26:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20384 invoked by uid 71); 24 Jan 2002 20:26:01 -0000 Resent-Date: 24 Jan 2002 20:26:01 -0000 Resent-Message-ID: <20020124202601.20383.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, Wladimir Mutel Received:(qmail 14971 invoked from network); 24 Jan 2002 20:16:16 -0000 Received: from unknown (HELO fluffy.isd.dp.ua) (193.108.162.185) by sources.redhat.com with SMTP; 24 Jan 2002 20:16:16 -0000 Received: from mwg by fluffy.isd.dp.ua with local (Exim 3.34 #1 (Debian)) id 16TqI6-0000f2-00; Thu, 24 Jan 2002 22:16:10 +0200 Message-Id: Date: Thu, 24 Jan 2002 12:26:00 -0000 From: Wladimir Mutel To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version:3.113 Subject: c/5481: AT&T Cyclone compiles wrongly and segfaults X-SW-Source: 2002-01/txt/msg00872.txt.bz2 List-Id: >Number: 5481 >Category: c >Synopsis: Making Cyclone 0.2 with gcc-3.0.3 compiler produces bad cyclone compiler executable. >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Thu Jan 24 12:26:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Wladimir Mutel >Release: 3.0.3 (Debian testing/unstable) >Organization: >Environment: System: Linux fluffy.isd.dp.ua 2.4.17 #1 Mon Dec 24 13:13:11 EET 2001 i686 unknown Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux >Description: During make, compiled and linked cyclone tries to compile bison/main.cyc cyclone segfaults >How-To-Repeat: Download http://www.research.att.com/projects/cyclone/cyclone-0.2.tar.gz Then do the following : tar zxf cyclone-0.2.tar.gz cd cyclone ./configure vi Makefile.inc (change CC variable to be gcc-3.0, then save file and exit vi) make Then you see this : make[1]: Entering directory `/disk1/home/mwg/cyclone/cyclone/tools/bison' /disk1/home/mwg/cyclone/cyclone/bin/cyclone -I/disk1/home/mwg/cyclone/cyclone/include -B/disk1/home/mwg/cyclone/cyclone/bin/cyc-lib -c main.cyc make[1]: *** [main.o] Segmentation fault make[1]: Leaving directory `/disk1/home/mwg/cyclone/cyclone/tools/bison' make: *** [tools] Error 2 I tried to debug this, but without much success. I did not understand its logic completely enough, so I was unable to compose short enough testcase for gcc-3.0 >Fix: Compiling with gcc-2.95.4 works well. People from AT&T say that gcc-3.0 will not work. >Release-Note: >Audit-Trail: >Unformatted: