[FFmpeg-cvslog] configure: loongson disable expensive optimizations in gcc O3 optimization

周晓勇 git at videolan.org
Thu Nov 12 04:07:30 CET 2015


ffmpeg | branch: release/2.7 | 周晓勇 <zhouxiaoyong at loongson.cn> | Wed Jul 15 17:28:31 2015 +0800| [99ab664ff84c07dd014fe4f04b3698e80eae3041] | committer: Michael Niedermayer

configure: loongson disable expensive optimizations in gcc O3 optimization

With gcc-4.9.2 loongson faild in test fate-dca, this is caused by option
-fexpensive-optimizations in -O3 optimization. We disable it temporarily
before the bug been fixed up.

Signed-off-by: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 2c34389551b6ba3d90f8783806c337e387e603cd)

Conflicts:

	configure

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=99ab664ff84c07dd014fe4f04b3698e80eae3041
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 806e2e9..cf124b7 100755
--- a/configure
+++ b/configure
@@ -3965,7 +3965,7 @@ elif enabled mips; then
             enable fast_cmov
             enable fast_unaligned
             disable aligned_stack
-            cpuflags="-march=loongson3a -mhard-float"
+            cpuflags="-march=loongson3a -mhard-float -fno-expensive-optimizations"
         ;;
         generic)
             disable mips32r5



More information about the ffmpeg-cvslog mailing list