[FFmpeg-devel] [PATCH] configure: warn if GCC 4.2 is being used

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Aug 24 08:49:53 CEST 2015


Ganesh Ajjanagadde <gajjanagadde <at> gmail.com> writes:

> +    if [ "$first" = true ] && $_cc -dumpversion | grep -q '^4\.2'; then

Will this not trigger for 4.4.2?

> +        warn "$gcc_version does not build ffmpeg correctly. 
> Please do not use GCC 4.2!"
> +        warn "See Ticket #1464 for more details."

Please make this something like:
"gcc 4.2 is outdated and may miscompile FFmpeg, 
please use a newer compiler."

Fate passes with some patched versions and it 
works with Apple's ppc compiler (gcc 4.2).

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list