#738(avcodec:new): libacvodec cannot be built if it configured with "--disable-optimizations"
#738: libacvodec cannot be built if it configured with "--disable-optimizations" ---------------------------------+-------------------------------------- Reporter: Andrew | Type: defect Status: new | Priority: minor Component: avcodec | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+-------------------------------------- In file included from libavcodec/cabac.h:60, from libavcodec/cabac.c:31: libavcodec/x86/cabac.h: In function ‘get_cabac_bypass_sign_x86’: libavcodec/x86/cabac.h:107: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ libavcodec/x86/cabac.h:107: error: ‘asm’ operand has impossible constraints make: *** [libavcodec/cabac.o] Error 1 -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libacvodec cannot be built if it configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: new Priority: minor | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by Andrew): sorry, 1) ./version.sh N-35739-ga6c4c0f 2) This error has appeared not later the beginning of December. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libacvodec cannot be built if it configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: open Priority: minor | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 Comment: Only reproducible for ia32, regression since 599b4c6e. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libavcodec cannot be built if configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: open Priority: minor | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libavcodec cannot be built if configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: open Priority: minor | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by michael): reverting 599b4c6e just causes the next file to fail: libpostproc/postprocess_template.c: In function ‘dering_MMX2’: libpostproc/postprocess_template.c:1045:5: error: can’t find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ libpostproc/postprocess_template.c:1045:5: error: ‘asm’ operand has impossible constraints -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libavcodec cannot be built if configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: closed Priority: minor | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: Not reproducible anymore. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:5> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libavcodec cannot be built if configured with "--disable-optimizations" ------------------------------------+------------------------------------ Reporter: Andrew | Owner: Type: defect | Status: reopened Priority: minor | Component: avcodec Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by rogerdpack): * status: closed => reopened * resolution: fixed => Comment: I was just able to reproduce it with 85c830331c36502144e1cc9cf8aa7bd177e1d79d ./configure --enable-memalign-hack --arch=x86 --enable-gpl --enable- libx264 --enable-avisynth --enable-libxvid --target-os=mingw32 --cross- prefix=/home/rogerdpack/dev/ffmpeg-windows-build- helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg- config --enable-libmp3lame --enable-version3 --enable-libvo-aacenc --enable-libvpx --extra-libs=-lws2_32 --extra-libs=-lpthread --enable-zlib --extra-libs=-lwinmm --extra-libs=-lgdi32 --enable-librtmp --enable- libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --disable- optimizations --enable-runtime-cpudetect I think the work around is to also use --disable-mmx if you use --disable- optimizations. Is this expected? Feel free to re-close it if I'm wrong though, and I will research a bit more into it :) -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:6> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libavcodec cannot be built if configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: closed Priority: minor | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: reopened => closed * resolution: => fixed Comment: Please do not reopen ancient tickets, I suspect you have found ticket #1695, patches exist. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:7> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libavcodec cannot be built if configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: closed Priority: minor | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by rogerdpack): Ok I hope #1695 fixes it (and may be related, though I'll admit that the error message I got was that described in this ticket). Real work around for now: configure with --disable-postproc. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:8> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libavcodec cannot be built if configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: closed Priority: minor | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by cehoyos): Replying to [comment:8 rogerdpack]:
Ok I hope #1695 fixes it (and may be related, though I'll admit that the error message I got was that described in this ticket). Real work around for now: configure with --disable-postproc. --disable-postproc helped with an error compiling cabac.c, are you sure?
-- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:9> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#738: libavcodec cannot be built if configured with "--disable-optimizations" ------------------------------------+----------------------------------- Reporter: Andrew | Owner: Type: defect | Status: closed Priority: minor | Component: avcodec Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by rogerdpack): (--disable-postproc helped it avoid the other error he mentioned "error: can’t find a register in class ‘GENERAL_REGS’ while reloading ‘asm’") FWIW. I haven't run into this for quite awhile and so appreciate the fix. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/738#comment:10> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg