public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40064]  New: gcc-4.4.0 fails to compile svn trunk mplayer.
@ 2009-05-07 22:16 ronis at ronispc dot chem dot mcgill dot ca
  2009-05-07 22:18 ` [Bug c/40064] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: ronis at ronispc dot chem dot mcgill dot ca @ 2009-05-07 22:16 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/40064] gcc-4.4.0 fails to compile svn trunk mplayer.
  2009-05-07 22:16 [Bug c/40064] New: gcc-4.4.0 fails to compile svn trunk mplayer ronis at ronispc dot chem dot mcgill dot ca
@ 2009-05-07 22:18 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-07 22:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-05-07 22:18 -------
And this has been fixed for 4.4.1.  Really these inline-asm could be converted
into use of intrinsics.

*** This bug has been marked as a duplicate of 39543 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-07 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-07 22:16 [Bug c/40064] New: gcc-4.4.0 fails to compile svn trunk mplayer ronis at ronispc dot chem dot mcgill dot ca
2009-05-07 22:18 ` [Bug c/40064] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).