[FFmpeg-user] GCC 5.1: build errors

Reindl Harald h.reindl at thelounge.net
Fri Sep 11 13:51:06 CEST 2015


Am 10.09.2015 um 23:10 schrieb Moritz Barsnick:
> This is a gcc error message asking you to file a gcc bug report in
> RedHat bugzilla (likely because RedHat/Fedora modified the original
> source). But perhaps ffmpeg developers would like to introduce a
> workaround. ;-)

works:

--extra-cflags="-I%{_prefix}/local/x264 %{optflags} -Ofast -fno-PIC 
-fno-PIE -ffast-math -funsafe-math-optimizations -fomit-frame-pointer 
-funroll-loops -funswitch-loops -minline-all-stringops"

broken:

--extra-cflags="%{optflags} -Ofast -fno-PIC -fno-PIE -ffast-math 
-funsafe-math-optimizations -fomit-frame-pointer -floop-interchange 
-floop-block -ftree-loop-distribution -funroll-loops -funswitch-loops 
-minline-all-stringops"

x264-snapshot linked statically is still fine with the same build params


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150911/037c601f/attachment.sig>


More information about the ffmpeg-user mailing list