The intel-driver code breaks when running the autogen.sh (autoconf and friends) script. Specifically, when the shell has CFLAGS=-g3. Compilation would fail due to unresolved cos() and sin() symbols. This was not seen in a default "release" compile, though. Manually adding "-lm" to Makefile fixed the issue. I am attaching a non-controversial fix to the configure.ac that appears to resolve the issue. "intel-driver code" refers to the following repository: http://cgit.freedesktop.org/vaapi/intel-driver/ And patch is based off: http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=63db874e9c924f086bcd3518cc0f3d8c6df9ecec
Created attachment 70320 [details] [review] 0001-configure.ac-Ensure-libm-is-linked.patch Addition of a simple autoconf directive
gb, rob, mind reviewing this issue and patch?
Hi Joe, yes, this patch is needed since the VEBOX additions. In particular, gen75_vpp_vebox.c is using the sin() function. I will apply your patch with s/cos/sin/ -- not that it changes anything, but at least it points to what we actually use. Thanks.
Pushed to git master and staging branches.
Resolved Fix-- Brian, could I trouble you for a "verify?"
Verified.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.