From: James Zern Date: Tue, 16 Aug 2022 20:57:25 +0000 (-0700) Subject: configure: add -Wno-pass-failed for libyuv X-Git-Tag: accepted/tizen/7.0/unified/20240521.012539~1^2~442 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d22e5a49e38a1749afdbff167dec81fb5061c5c6;p=platform%2Fupstream%2Flibvpx.git configure: add -Wno-pass-failed for libyuv with certain optimization flags or sanitizers enabled some code may fail to vectorize: third_party/libyuv/source/row_common.cc:3178:7: warning: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning] this was observed with integer/undefined sanitizers using clang 11/13 Bug: b/229626362 Change-Id: I01595c641763c4cd4242e02f2cc5cbabfe69d03e --- diff --git a/configure b/configure index 425ab3c..1b850b5 100755 --- a/configure +++ b/configure @@ -676,6 +676,8 @@ process_toolchain() { && LIBYUV_CXXFLAGS="${LIBYUV_CXXFLAGS} -Wno-missing-declarations" check_cxxflags -Wno-missing-prototypes \ && LIBYUV_CXXFLAGS="${LIBYUV_CXXFLAGS} -Wno-missing-prototypes" + check_cxxflags -Wno-pass-failed \ + && LIBYUV_CXXFLAGS="${LIBYUV_CXXFLAGS} -Wno-pass-failed" check_cxxflags -Wno-unused-parameter \ && LIBYUV_CXXFLAGS="${LIBYUV_CXXFLAGS} -Wno-unused-parameter" fi