Problems compiling libfaad2 on a Pentium 4
I'm running into some problems compiling libfaad2 on a Mobile Pentium 4: cc -c -I. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o ps_dec.o ps_dec.c ps_dec.c: In function `ps_decorrelate': ps_dec.c:1841: unable to find a register to spill in class `FLOAT_REGS' ps_dec.c:1841: this is the insn: (insn 1058 2119 1060 (set (reg/v:SF 11 st(3) [382]) (subreg:SF (reg/v:DI 21 rxmm0 [260]) 0)) 90 {*movsf_1} (nil) (nil)) ps_dec.c:1841: confused by earlier errors, bailing out make: *** [ps_dec.o] Error 1 --snip-- If I remove "-march=pentium4 -mcpu=pentium4" it compiles fine and works without error. I wasn't able to find reference to this specific problem in any of the documentation or mailing lists. I'm running gcc 3.4.3. Hope this helps. --Garret Kelly
Garret Kelly wrote ( On Fri, Feb 25, 2005 at 10:49:42AM -0500 ):
I'm running into some problems compiling libfaad2 on a Mobile Pentium 4:
cc -c -I. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o ps_dec.o ps_dec.c ps_dec.c: In function `ps_decorrelate': ps_dec.c:1841: unable to find a register to spill in class `FLOAT_REGS' ps_dec.c:1841: this is the insn: (insn 1058 2119 1060 (set (reg/v:SF 11 st(3) [382]) (subreg:SF (reg/v:DI 21 rxmm0 [260]) 0)) 90 {*movsf_1} (nil) (nil)) ps_dec.c:1841: confused by earlier errors, bailing out make: *** [ps_dec.o] Error 1
--snip--
If I remove "-march=pentium4 -mcpu=pentium4" it compiles fine and works without error. I wasn't able to find reference to this specific problem in any of the documentation or mailing lists. I'm running gcc 3.4.3. Hope this helps.
Smells like a compiler bug. btw i had no problems on mobile p4 with gcc 3.3 . Alex (beastd)
Alexander Strasser wrote:
Garret Kelly wrote ( On Fri, Feb 25, 2005 at 10:49:42AM -0500 ):
I'm running into some problems compiling libfaad2 on a Mobile Pentium 4:
cc -c -I. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o ps_dec.o ps_dec.c ps_dec.c: In function `ps_decorrelate': ps_dec.c:1841: unable to find a register to spill in class `FLOAT_REGS' ps_dec.c:1841: this is the insn: (insn 1058 2119 1060 (set (reg/v:SF 11 st(3) [382]) (subreg:SF (reg/v:DI 21 rxmm0 [260]) 0)) 90 {*movsf_1} (nil) (nil)) ps_dec.c:1841: confused by earlier errors, bailing out make: *** [ps_dec.o] Error 1
--snip--
If I remove "-march=pentium4 -mcpu=pentium4" it compiles fine and works without error. I wasn't able to find reference to this specific problem in any of the documentation or mailing lists. I'm running gcc 3.4.3. Hope this helps.
Smells like a compiler bug. btw i had no problems on mobile p4 with gcc 3.3 .
Alex (beastd)
I actually upgraded from gcc 3.3.3 to 3.4.3 because I was recieveing the same error. --Garret
Garret Kelly writes:
I'm running into some problems compiling libfaad2 on a Mobile Pentium 4:
cc -c -I. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o ps_dec.o ps_dec.c ps_dec.c: In function `ps_decorrelate': ps_dec.c:1841: unable to find a register to spill in class `FLOAT_REGS' ps_dec.c:1841: this is the insn: (insn 1058 2119 1060 (set (reg/v:SF 11 st(3) [382]) (subreg:SF (reg/v:DI 21 rxmm0 [260]) 0)) 90 {*movsf_1} (nil) (nil)) ps_dec.c:1841: confused by earlier errors, bailing out make: *** [ps_dec.o] Error 1
--snip--
If I remove "-march=pentium4 -mcpu=pentium4" it compiles fine and works without error. I wasn't able to find reference to this specific problem in any of the documentation or mailing lists. I'm running gcc 3.4.3.
distro? self-compiled gcc? Diego
On Fri, Feb 25, 2005 at 08:44:51PM +0100, Diego Biurrun wrote:
Garret Kelly writes:
I'm running into some problems compiling libfaad2 on a Mobile Pentium 4:
cc -c -I. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o ps_dec.o ps_dec.c ps_dec.c: In function `ps_decorrelate': ps_dec.c:1841: unable to find a register to spill in class `FLOAT_REGS' ps_dec.c:1841: this is the insn: (insn 1058 2119 1060 (set (reg/v:SF 11 st(3) [382]) (subreg:SF (reg/v:DI 21 rxmm0 [260]) 0)) 90 {*movsf_1} (nil) (nil)) ps_dec.c:1841: confused by earlier errors, bailing out make: *** [ps_dec.o] Error 1
--snip--
If I remove "-march=pentium4 -mcpu=pentium4" it compiles fine and works without error. I wasn't able to find reference to this specific problem in any of the documentation or mailing lists. I'm running gcc 3.4.3.
distro? self-compiled gcc?
"unable to find a register to spill" is ALWAYS an internal gcc bug, and should be reported to the gcc developers. rich
D Richard Felker III writes:
On Fri, Feb 25, 2005 at 08:44:51PM +0100, Diego Biurrun wrote:
Garret Kelly writes:
I'm running into some problems compiling libfaad2 on a Mobile Pentium 4:
cc -c -I. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o ps_dec.o ps_dec.c ps_dec.c: In function `ps_decorrelate': ps_dec.c:1841: unable to find a register to spill in class `FLOAT_REGS' ps_dec.c:1841: this is the insn: (insn 1058 2119 1060 (set (reg/v:SF 11 st(3) [382]) (subreg:SF (reg/v:DI 21 rxmm0 [260]) 0)) 90 {*movsf_1} (nil) (nil)) ps_dec.c:1841: confused by earlier errors, bailing out make: *** [ps_dec.o] Error 1
--snip--
If I remove "-march=pentium4 -mcpu=pentium4" it compiles fine and works without error. I wasn't able to find reference to this specific problem in any of the documentation or mailing lists. I'm running gcc 3.4.3.
distro? self-compiled gcc?
"unable to find a register to spill" is ALWAYS an internal gcc bug, and should be reported to the gcc developers.
FAQ updated. Diego
Diego Biurrun wrote:
D Richard Felker III writes:
On Fri, Feb 25, 2005 at 08:44:51PM +0100, Diego Biurrun wrote:
Garret Kelly writes:
If I remove "-march=pentium4 -mcpu=pentium4" it compiles fine and works without error. I wasn't able to find reference to this specific problem in any of the documentation or mailing lists. I'm running gcc 3.4.3.
distro? self-compiled gcc?
"unable to find a register to spill" is ALWAYS an internal gcc bug, and should be reported to the gcc developers.
FAQ updated.
Diego
Allright, thanks. It's a self-compiled gcc-3.4.3, running on slack 10, for the record. Garret
participants (4)
-
Alexander Strasser -
D Richard Felker III -
Diego Biurrun -
Garret Kelly