public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Wladimir Mutel <mwg@fluffy.isd.dp.ua>
To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org
Subject: c/5481: AT&T Cyclone compiles wrongly and segfaults
Date: Thu, 24 Jan 2002 12:26:00 -0000	[thread overview]
Message-ID: <E16TqI6-0000f2-00@fluffy.isd.dp.ua> (raw)


>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:
 
 


                 reply	other threads:[~2002-01-24 20:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16TqI6-0000f2-00@fluffy.isd.dp.ua \
    --to=mwg@fluffy.isd.dp.ua \
    --cc=debian-gcc@lists.debian.org \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).