Recent Mesa (git 7b55a05159) fails to build with GCC 4.8 (opensuse 42.2), but does build with GCC 6 (opensuse TW) [ 434s] Making all in drivers/radeonsi [ 434s] make[4]: Entering directory '/home/abuild/rpmbuild/BUILD/mesa/src/gallium/drivers/radeonsi' [ 434s] CC si_blit.lo [ 434s] CC si_compute.lo [ 434s] CC cik_sdma.lo [ 434s] CC si_cp_dma.lo [ 434s] CC si_debug.lo [ 434s] CC si_descriptors.lo [ 435s] CC si_dma.lo [ 435s] CC si_hw_context.lo [ 435s] CC si_pipe.lo [ 435s] CC si_pm4.lo [ 435s] CC si_perfcounter.lo [ 436s] si_perfcounter.c:314:1: error: initializer element is not constant [ 436s] }; [ 436s] ^ [ 436s] Makefile:691: recipe for target 'si_perfcounter.lo' failed [ 436s] make[4]: *** [si_perfcounter.lo] Error 1 [ 436s] make[4]: *** Waiting for unfinished jobs.... [ 436s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/mesa/src/gallium/drivers/radeonsi' [ 436s] Makefile:587: recipe for target 'all-recursive' failed [ 436s] make[3]: *** [all-recursive] Error 1 [ 436s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/mesa/src/gallium' [ 436s] Makefile:840: recipe for target 'all-recursive' failed [ 436s] make[2]: *** [all-recursive] Error 1 [ 436s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/mesa/src' [ 436s] Makefile:630: recipe for target 'all' failed [ 436s] make[1]: *** [all] Error 2 [ 436s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/mesa/src' [ 436s] Makefile:632: recipe for target 'all-recursive' failed [ 436s] make: *** [all-recursive] Error 1
Created attachment 131225 [details] [review] patch Can you try this patch?
(In reply to Samuel Pitoiset from comment #1) > Created attachment 131225 [details] [review] [review] > patch > > Can you try this patch? It did build successfully with the proposed patch.
Fixed with: https://cgit.freedesktop.org/mesa/mesa/commit/?id=485ece83aceb3a35792efbc6fe2bca57ba46c04a
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.