Opened: 2009-05-07 16:49 CEST

I reported this with mplayer's bugzilla
(http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1461)
and was told:

------- Comment  #1 From Diego Biurrun  2009-05-07 22:40:22 CEST  [reply]
-------

These are gcc bugs, more so if it worked with previous gcc versions.  Go report
bugs to the gcc team.

-------------------------------------------------------------------------------------------------------------
So here it is:

I built gcc using default CFLAGS etc and
I configured mplayer with --enable-gui and default CFLAGS. 

The build dies with:

/usr/bin/gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I. -D_REENTRANT -I/usr/X11/include -I/usr/include/
-I/usr/include/SDL -D_REENTRANT -I/usr/include/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Ilibdvdread4
-I/usr/include/freetype2 -I/usr/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -c -o
liba52/imdct.o liba52/imdct.c
In file included from liba52/imdct.c:728:
liba52/imdct_3dnow.h: In function 'T.65':
liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS'
while reloading 'asm'
l
[snip]

liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:283: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints
liba52/imdct_3dnow.h:286: error: 'asm' operand has impossible constraints

[snip]
liba52/imdct.c: In function 'ifft16':
liba52/imdct.c:294: warning: array subscript is below array bounds
liba52/imdct.c: In function 'ifft64_c':
liba52/imdct.c:310: warning: array subscript is below array bounds
liba52/imdct.c: In function 'ifft128_c':
liba52/imdct.c:318: warning: array subscript is below array bounds
liba52/imdct.c:322: warning: array subscript is below array bounds
make: *** [liba52/imdct.o] Error 1

Here are config.h and config.mak (I don't see a place to include an
attachement):


-- 
           Summary: gcc-4.4.0 fails to compile svn trunk mplayer.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ronis at ronispc dot chem dot mcgill dot ca


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40064

Reply via email to