On Thu, 2 Feb 2017, Diego Biurrun  wrote:

Module: libav
Branch: master
Commit: 24d5680bbc01fc124709d522d348572ad4672563

Author:    Diego Biurrun <di...@biurrun.de>
Committer: Diego Biurrun <di...@biurrun.de>
Date:      Fri Jan 20 15:30:36 2017 +0100

configure: Simplify inline asm check with appropriate helper function

---

configure | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configure b/configure
index 7989818..4a8d04d 100755
--- a/configure
+++ b/configure
@@ -4183,9 +4183,7 @@ EOF
sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ 
\t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}

-check_cc <<EOF && enable_weak inline_asm
-void foo(void) { __asm__ volatile ("" ::); }
-EOF
+check_inline_asm inline_asm '"" ::'

This broke configurations that used --disable-inline-asm to explicitly disable it (even though this particular test might have indicated that it seems to work). This seems to be why the pathscale fate instances are showing build failures since a while:
https://fate.libav.org/x86_64-linux-ekopath4/20170321222119

// Martin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to