This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/4734: internal compiler error, change_address



>Number:         4734
>Category:       c
>Synopsis:       Internal compiler error with -O2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 29 12:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        3.0
>Organization:
Statistical Computing Facility, UC Berkeley
>Environment:
System: SunOS _edited_.Berkeley.EDU 5.7 Generic_106541-17 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4

	
host: sparc-sun-solaris2.7
build: sparc-sun-solaris2.7
target: sparc-sun-solaris2.7
configured with: ../gcc-3.0/configure --prefix=/usr/local/gnu/gcc-3.0 --with-gnu-as --with-as=/usr/local/gnu/bin/as --with-gnu-ld --with-ld=/usr/local/gnu/bin/ld
>Description:
Attempting to build ImageMagick 5.4.0 with gcc 3.0. It complains:

$ gcc -DHAVE_CONFIG_H -I../ -I. -I../../ImageMagick-5.4.0/coders -I../magick -I../../ImageMagick-5.4.0 -I../../ImageMagick-5.4.0/magick -I/opt/gnome/include/freetype2 -D_REENTRANT -I/opt/gnome/include -I/usr/local/x11/include -I/opt/gnome/include/freetype2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/app/ImageMagick-5.4.0/include -g -O2 -Wall -c ../../ImageMagick-5.4.0/coders/fits.c -MT fits.lo -MD -MP -MF .deps/fits.TPlo -o fits.o
../../ImageMagick-5.4.0/coders/fits.c: In function `ReadFITSImage':
../../ImageMagick-5.4.0/coders/fits.c:478: Internal compiler error in change_address, at emit-rtl.c:1635
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Here is the output of ImageMagick's gmake:
source='../../ImageMagick-5.4.0/coders/fits.c' object='fits.lo' libtool=yes \
depfile='.deps/fits.Plo' tmpdepfile='.deps/fits.TPlo' \
depmode=gcc3 /bin/sh ../../ImageMagick-5.4.0/depcomp \
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I../ -I. -I../../ImageMagick-5.4.0/coders -I../magick -I../../ImageMagick-5.4.0 -I../../ImageMagick-5.4.0/magick  -I/opt/gnome/include/freetype2 -D_REENTRANT -I/opt/gnome/include -I/usr/local/x11/include -I/opt/gnome/include/freetype2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/app/ImageMagick-5.4.0/include  -g -O2 -Wall -c -o fits.lo `test -f ../../ImageMagick-5.4.0/coders/fits.c || echo '../../ImageMagick-5.4.0/coders/'`../../ImageMagick-5.4.0/coders/fits.c
gmake: *** [fits.lo] Error 1

I had to pair this down to the above gcc invocation to get at the error message.

Um,
  $ libtool --version
  ltmain.sh (GNU libtool) 1.4.1 (1.922.2.34 2001/09/03 01:22:13)


>How-To-Repeat:
	Try building ImageMagick on sun4u?
>Fix:
	Removing -O2 gets rid of the error.
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]