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

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



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.




Reply to: