public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/5481: AT&T Cyclone compiles wrongly and segfaults
@ 2002-01-24 12:26 Wladimir Mutel
  0 siblings, 0 replies; only message in thread
From: Wladimir Mutel @ 2002-01-24 12:26 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-24 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-24 12:26 c/5481: AT&T Cyclone compiles wrongly and segfaults Wladimir Mutel

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).