public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/52592] New: mplayer compilation failure with undefined reference to `__builtin_iround'
@ 2012-03-15  5:40 ojab at ojab dot ru
  2012-03-15  6:02 ` [Bug c/52592] " pinskia at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: ojab at ojab dot ru @ 2012-03-15  5:40 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52592
           Summary: mplayer compilation failure with undefined reference
                    to `__builtin_iround'
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ojab@ojab.ru


MPlayer build fails with gcc-4.7.0rc2 (see
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2047 ):

gcc -o mencoder mencoder.o parser-mecmd.o … -lfribidi -lass -lz -lbz2 -lmad
-lvpx -lpthread -ldl -rdynamic   -lmp3lame
ffmpeg/libavcodec/libavcodec.a(ffv1.o): In function `encode_init':
ffv1.c:(.text.unlikely+0x16a1): undefined reference to `__builtin_iround'
collect2: error: ld returned 1 exit status
make: *** [mencoder] Error 1
make: *** Waiting for unfinished jobs....
ffmpeg/libavcodec/libavcodec.a(ffv1.o): In function `encode_init':
ffv1.c:(.text.unlikely+0x16a1): undefined reference to `__builtin_iround'
collect2: error: ld returned 1 exit status
make: *** [mplayer] Error 1


Looks like related to http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01001.html
and 
>Please document those in doc/extend.texi and make sure they do not leak into the global namespace as ifloor, etc., but are only available as __builtin_ifloor, etc..
from http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01003.html

mplayer builds fine with CFLAGS=-ffast-math, I think that it can be gcc bug.

Please tell me what additional info is needed.


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

end of thread, other threads:[~2012-03-15 13:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-15  5:40 [Bug c/52592] New: mplayer compilation failure with undefined reference to `__builtin_iround' ojab at ojab dot ru
2012-03-15  6:02 ` [Bug c/52592] " pinskia at gcc dot gnu.org
2012-03-15  6:04 ` [Bug middle-end/52592] " pinskia at gcc dot gnu.org
2012-03-15  6:04 ` ojab at ojab dot ru
2012-03-15  6:13 ` ojab at ojab dot ru
2012-03-15  6:13 ` [Bug middle-end/52592] [4.7/4.8 Regression] " pinskia at gcc dot gnu.org
2012-03-15  6:44 ` pinskia at gcc dot gnu.org
2012-03-15  7:11 ` pinskia at gcc dot gnu.org
2012-03-15  7:22 ` pinskia at gcc dot gnu.org
2012-03-15  7:47 ` pinskia at gcc dot gnu.org
2012-03-15  9:42 ` jakub at gcc dot gnu.org
2012-03-15 13:41 ` jakub at gcc dot gnu.org
2012-03-15 13:42 ` jakub at gcc dot gnu.org
2012-03-15 14:18 ` jakub at gcc dot gnu.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).