[FFmpeg-trac] #1794(avcodec:closed): Can't cross-compile on Intel for ARM target with zmbvenc enabled

FFmpeg trac at avcodec.org
Wed Oct 10 16:39:00 CEST 2012

#1794: Can't cross-compile on Intel for ARM target with zmbvenc enabled
             Reporter:  patters     |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:  invalid
             Keywords:  zmbvenc     |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by cehoyos):

 I forgot: You could try --disable-debug, this may help.

 (I was originally assuming that nobody works on such an old compiler
 anymore, the following tries to explain how to report the compiler bug in
 your case.)
 Since the sourceforge page indicates that this toolchain may have active
 developers, you could try to report the compiler bug to them:
 Run "make V=1 libavcodec/zmbvenc.o" to get the actual compiler command
 that produces the ICE (instead of "CC libavcodec/zmbvenc.o"), copy/paste
 and run that command to see that it is correct (it should produce the same
 ICE). Then replace "-c" (for "compile") by "-E" (preprocessing only) and
 test if you can reproduce the problem with only the preprocessed source:
 .../.../gcc ... -c -o libavcodec/zmbvenc.o libavcodec/zmbvenc.c
 .../.../gcc ... -E -o zmbvice.c libavcodec/zmbvenc.c
 .../.../gcc -c zmbvice.c -o zmbvenc.o (you may have to add some of the
 original options here to reproduce the ICE, like "-g -O3 -fno-tree-
 vectorize", this step may also tell you how to avoid the crash)
 If you still get the ICE, send the preprocessed file (zmbvenc.s) and the
 necessary gcc command to the toolchain developers. Perhaps they can fix
 the bug by updating the compiler (http://gcc.gnu.org/releases.html
 indicates it is over five years old).

 If you only want to solve the compilation problem, I would assume the
 replacing "-O3" in the compile command by "-O1" (or -O2) could fix the
 ICE, just continue compilation with make to get executables.

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

More information about the FFmpeg-trac mailing list