[SCM] libav/experimental: Re-add check for compilation failure with ebx clobber, and only set ebx_available if both "b" constraint and exb clobber code compile. This is to fix compilation with Mac OSX 10.5.8's gcc 4.0.1 in 64 bit mode (-m64) which only fails for ebx/rbx clobbers but not "b" constraints - this is probably a compiler bug.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:52:16 UTC 2013
The following commit has been merged in the experimental branch:
commit e04a3c9613358b139f194df331ead6eba6369d8a
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Wed Sep 30 21:57:13 2009 +0000
Re-add check for compilation failure with ebx clobber, and only set
ebx_available if both "b" constraint and exb clobber code compile.
This is to fix compilation with Mac OSX 10.5.8's gcc 4.0.1 in 64
bit mode (-m64) which only fails for ebx/rbx clobbers but not
"b" constraints - this is probably a compiler bug.
Originally committed as revision 20107 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/configure b/configure
index 1c05d71..04f20e6 100755
--- a/configure
+++ b/configure
@@ -2163,7 +2163,7 @@ elif enabled x86; then
EOF
# check whether EBX is available on x86
- check_asm ebx_available '""::"b"(0)'
+ check_asm ebx_available '""::"b"(0)' && check_asm ebx_available '"":::"%ebx"'
# check whether more than 10 operands are supported
check_cc <<EOF && enable ten_operands
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list