mesa: cd6f79a71d75d5d756176a03f04c4442c0ef9e7f (master 17.4.0-devel) clang build error CXX addrlib/gfx9/addrlib_libamdgpu_addrlib_la-gfx9addrlib.lo addrlib/gfx9/gfx9addrlib.cpp:727:50: error: expected expression const CoordEq* pMetaEq = GetMetaEquation({0, fmaskElementBytesLog2, 0, pIn->cMaskFlags, ^
Looks like you're not building with C++11 enabled? The recent changes to addrlib require that.
commit 7f33e94e43a647d71a9f930cf3180e5abb529edd Author: Marek Olšák <marek.olsak@amd.com> Date: Tue Nov 7 00:56:13 2017 +0100 amd/addrlib: update to latest version This uses C++11 initializer lists. I just overwrote all Mesa files with internal addrlib and discarded hunks that we should probably keep, but I might have missed something. The code depending on ADDR_AM_BUILD is removed. We can add it back next time if needed. Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com> :040000 040000 c055da298572eb64e857a1907496ccf7e92c2920 06079de7e3cf90c76f245612b96c12e6a369a42d M src bisect run success
Created attachment 135484 [details] [review] build addrlib with C++11 Does the attached patch help?
commit abeded1cacb5a17a422cb3788153814ed2e01ecb Author: Nicolai Hähnle <nicolai.haehnle@amd.com> Date: Wed Nov 15 12:51:23 2017 +0100 amd: build addrlib with C++11
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.