[FFmpeg-trac] #1024(avcodec:new): ffmpeg does not build with gcc-4.7

FFmpeg trac at avcodec.org
Sun Feb 26 13:43:17 CET 2012


#1024: ffmpeg does not build with gcc-4.7
----------------------------------+---------------------------------------
             Reporter:  belegdol  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  unspecified
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Hi,

 I have recently tried to build an mplayer snapshot, which pulls ffmpeg
 git. Unfortunately, it is impossible to build it with gcc-4.7 prerelease,
 which Fedora switched to:

 {{{
 ffmpeg/libavcodec/libavcodec.a(ffv1.o): In function `encode_init':
 /builddir/build/BUILD/mplayer-
 export-2012-02-26/ffmpeg/libavcodec/ffv1.c:1041: undefined reference to
 `__builtin_iround'
 collect2: error: ld returned 1 exit status
 make: *** [mplayer] Error 1
 make: *** Waiting for unfinished jobs....
 ffmpeg/libavcodec/libavcodec.a(ffv1.o): In function `encode_init':
 /builddir/build/BUILD/mplayer-
 export-2012-02-26/ffmpeg/libavcodec/ffv1.c:1041: undefined reference to
 `__builtin_iround'
 collect2: error: ld returned 1 exit status
 make: *** [mencoder] Error 1
 }}}
 Any ideas on how to fix this? Or is it perhaps a gcc error? Cheers.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1024>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list