[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#133257: gcc: Assembler errors when compiling with -funroll-loops



tags 133257 + unreproducible
tags 133257 + moreinfo
tags 133257 + helpneeded
thanks

I am unable to reproduce the ICE. Please:

- send the preprocessed source
- try to compiler with gcc/g++-3.1 and/or 3.0


peter karlsson writes:
> Package: gcc
> Version: 2:2.95.4-9
> Severity: normal
> 
> When trying to compile VICE
> <URL:ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/vice-1.8.tar.gz>
> I get these error messages during compilation:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/arch/unix -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../../src      -I../../src    -I../../src/drive  -I../../src/raster -I../../src/monitor    -g -O5 -funroll-loops -DNO_REGPARM -Wall -Winline -c vic20via2.c
> /home/peter/tmp/ccHk6Mpb.s: Assembler messages:
> /home/peter/tmp/ccHk6Mpb.s:4358: Error: invalid section for operation
> /home/peter/tmp/ccHk6Mpb.s:4361: Error: invalid section for operation
> /home/peter/tmp/ccHk6Mpb.s:4364: Error: invalid section for operation
> /home/peter/tmp/ccHk6Mpb.s:4367: Error: invalid section for operation
> make[3]: *** [vic20mem.o] Error 1
> 
> I used this configure command line:
> 
> ./configure --with-xaw3d --disable-fullscreen --enable-gnomeui --with-x
> 
> I have seen this error on two unrelated machines, and when asking, more
> people have experienced it. There is no assembler in the source code, so
> this looks like a compiler bug.
> 
> Removing -funroll-loops cures the problem.
> 
> -- System Information
> Debian Release: 3.0
> Architecture: i386
> Kernel: Linux perkele 2.2.19 #7 tis okt 30 18:35:37 CET 2001 i586
> Locale: LANG=sv, LC_CTYPE=sv_SE.ISO8859-1
> 
> Versions of packages gcc depends on:
> ii  cpp                           2:2.95.4-9 The GNU C preprocessor.
> ii  cpp-2.95                      1:2.95.4-1 The GNU C preprocessor.
> ii  gcc-2.95                      1:2.95.4-1 The GNU C compiler.
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: