[FFmpeg-trac] #2823(undetermined:new): Building ffmpeg failed

FFmpeg trac at avcodec.org
Tue Jul 30 19:57:16 CEST 2013


#2823: Building ffmpeg failed
-------------------------------------+-------------------------------------
             Reporter:  pradeepvr    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  critical     |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by redxii):

 I get a similar error in MinGW-w64 '''32-bit''' toolchain, the 64-bit
 toolchain doesn't produce an error.
 {{{
 CC      libavcodec/binkaudio.o
 CC      libavcodec/binkdsp.o
 CC      libavcodec/bintext.o
 CC      libavcodec/bitstream.o
 libavcodec/bitstream.c: In function 'ff_init_vlc_sparse':
 libavcodec/bitstream.c:348:1: error: unable to find a register to spill in
 class 'AREG'
 libavcodec/bitstream.c:348:1: error: this is the insn:
 (insn 600 599 601 93 (parallel [
             (set (reg:SI 1 dx [orig:259 D.8365 ] [259])
                 (mem/v:SI (plus:SI (reg/v/f:SI 262 [ vlc ])
                         (const_int 16 [0x10])) [-1 S4 A32]))
             (set (mem/v:SI (plus:SI (reg/v/f:SI 262 [ vlc ])
                         (const_int 16 [0x10])) [-1 S4 A32])
                 (unspec_volatile:SI [
                         (mem/v:SI (plus:SI (reg/v/f:SI 262 [ vlc ])
                                 (const_int 16 [0x10])) [-1 S4 A32])
                         (reg/v/f:SI 262 [ vlc ])
                         (reg/f:SI 1 dx [357])
                     ] UNSPECV_CMPXCHG))
             (set (reg:CCZ 17 flags)
                 (compare:CCZ (unspec_volatile:SI [
                             (mem/v:SI (plus:SI (reg/v/f:SI 262 [ vlc ])
                                     (const_int 16 [0x10])) [-1 S4 A32])
                             (reg/v/f:SI 262 [ vlc ])
                             (reg/f:SI 1 dx [357])
                         ] UNSPECV_CMPXCHG)
                     (reg/v/f:SI 262 [ vlc ])))
         ]) ./libavutil/atomic_gcc.h:57 1843 {*sync_compare_and_swapsi}
      (expr_list:REG_DEAD (reg/f:SI 1 dx [357])
         (expr_list:REG_UNUSED (reg:CCZ 17 flags)
             (nil))))
 libavcodec/bitstream.c:348: confused by earlier errors, bailing out
 make: *** [libavcodec/bitstream.o] Error 1
 }}}

 GCC -v

 {{{
 $ gcc -v
 Reading specs from
 e:/buildsys/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.3/specs
 COLLECT_GCC=E:\Buildsys\MinGW\bin\gcc.exe
 COLLECT_LTO_WRAPPER=e:/buildsys/mingw/bin/../libexec/gcc/i686-w64-mingw32/4.6.3
 /lto-wrapper.exe
 Target: i686-w64-mingw32
 Configured with: /home/ruben/mingw-w64/src/gcc/configure
 --host=i686-w64-mingw32 --build=x86_64-linux-gnu --target=i686-w64-mingw32
 --with-sysroot=/home/ruben/m
 ingw-w64/mingw32mingw32/mingw32
 --prefix=/home/ruben/mingw-w64/mingw32mingw32/mingw32 --with-
 gmp=/home/ruben/mingw-w64/prereq/i686-w64-mingw32/install --with-mp
 fr=/home/ruben/mingw-w64/prereq/i686-w64-mingw32/install --with-
 mpc=/home/ruben/mingw-w64/prereq/i686-w64-mingw32/install --with-
 ppl=/home/ruben/mingw-w64/prere
 q/i686-w64-mingw32/install --with-
 cloog=/home/ruben/mingw-w64/prereq/i686-w64-mingw32/install --disable-ppl-
 version-check --disable-cloog-version-check --enable
 -cloog-backend=isl --with-host-libstdcxx='-static -lstdc++ -lm' --enable-
 shared --enable-static --enable-threads=win32 --enable-plugins --disable-
 multilib --ena
 ble-languages=c,lto,c++,objc,obj-c++,fortran,java --enable-libgomp
 --disable-dw2-exceptions --enable-sjlj-exceptions --enable-fully-dynamic-
 string --enable-libs
 tdcxx-time --disable-nls --disable-werror --enable-checking=release
 --with-gnu-as --with-gnu-ld --disable-win32-registry --disable-rpath
 --disable-werror --with
 -libiconv-prefix=/home/ruben/mingw-w64/prereq/i686-w64-mingw32/install
 --with-pkgversion=rubenvb-4.6.3-2-release --with-
 bugurl=mingw-w64-public at lists.sourceforg
 e.net CC= CFLAGS='-O2 -march=nocona -mtune=core2 -fomit-frame-pointer
 -momit-leaf-frame-pointer' LDFLAGS=' -Wl,--large-address-aware'
 Thread model: win32
 gcc version 4.6.3 (rubenvb-4.6.3-2-release)
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2823#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list