[FFmpeg-devel] [PATCH]Allow to compile with --disable-optimizations with icc
Carl Eugen Hoyos
cehoyos
Mon May 3 15:20:48 CEST 2010
M?ns Rullg?rd <mans <at> mansr.com> writes:
> > Currently, icc compilation fails with --disable-optimizations, because
> > icc does not optimize symbols away with -O0:
> > ...
> > libavdevice/alldevices.c:43: undefined reference to `audio_beos_muxer'
> > ...
> > libavcodec/allcodecs.c:58: undefined reference to `h264_dxva2_hwaccel'
> > ...
>
> Unable to reproduce with icc 11.1.
Which version exactly did you test?
$ svn co svn://ffmpeg.org/ffmpeg/trunk disable-opt
$ cd disable-opt
$ ./configure --cc=/opt/intel/Compiler/11.1/069/bin/intel64/icc
--disable-optimizations --disable-asm
$ make
...
... undefined reference to `avfilter_version'
(and many more)
Also reproducible with the 32 bit version.
Only using --disable-optimizations (without --disable-mmx or disable-asm) fails
earlier with a different error that is also fixed by the patch: Since compiling
ffmpeg with -O0 fails in any case (and is not supposed to be fixed), I don't
think it is worth fixing this problem differently.
Please ok the patch, Carl Eugen
More information about the ffmpeg-devel
mailing list