------- Additional Comments From aaron_williams at net dot com 2005-08-04 06:25 ------- Subject: Re: gcc optimization error for sparc with xine/ffmpeg, bad assembly generated
Hmmm, I though I had binutils 2.16.1, but it's actually 2.15... that might be the problem. Trying to upgrade to 2.16.1 now. gcc -O3 -mcpu=ultrasparc -mtune=ultrasparc -fno-inline-functions -c test.i -o test.o -v Reading specs from /opt/gcc3.3/lib/gcc-lib/sparc-sun-solaris2.8/3.3.6/specs Configured with: ../configure --host=sparc-sun-solaris2.8 --prefix=/opt/gcc3.3 --enable-shared --with-gnu-ld --with-ld=/opt/gcc3.3/bin/ld --with-gnu-as --with-as=/opt/gcc3.3/bin/as --with-cpu=ultrasparc Thread model: posix gcc version 3.3.6 /opt/gcc3.3/lib/gcc-lib/sparc-sun-solaris2.8/3.3.6/cc1 -fpreprocessed test.i -quiet -dumpbase test.i -mcpu=ultrasparc -mtune=ultrasparc -auxbase-strip test.o -O3 -version -fno-inline-functions -o /var/tmp//cczPFnhi.s GNU C version 3.3.6 (sparc-sun-solaris2.8) compiled by GNU C version 3.3.6. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 /opt/gcc3.3/bin/as -V -Qy -s -xarch=v8plusa -o test.o /var/tmp//cczPFnhi.s GNU assembler version 2.15 (sparc-sun-solaris2.8) using BFD version 2.15 /var/tmp//cczPFnhi.s: Assembler messages: /var/tmp//cczPFnhi.s:464: Error: Illegal operands: There are only 32 single precision f registers; [0-31] > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23222