https://bugs.freedesktop.org/show_bug.cgi?id=104607
Bug ID: 104607 Summary: Mesa fails to build in OBS after c797cd605ac9cb42795a40b1967b6dd10184b763 Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: network723@rkmail.ru QA Contact: dri-devel@lists.freedesktop.org
Created attachment 136691 --> https://bugs.freedesktop.org/attachment.cgi?id=136691&action=edit Don't look at me
Mesa fails to build with openSUSE build service after the commit c797cd605ac9cb42795a40b1967b6dd10184b763 with message 'I: Program returns random data in a function \n E: Mesa no-return-in-nonvoid-function si_shader.c:1967'
I had to make some changes to si_shader.c to make it build again, however I had no idea what I was doing.
https://bugs.freedesktop.org/show_bug.cgi?id=104607
--- Comment #1 from Bas Nieuwenhuizen bas@basnieuwenhuizen.nl --- This patch is on the list and probably fixes it:
https://patchwork.freedesktop.org/patch/197359/
https://bugs.freedesktop.org/show_bug.cgi?id=104607
--- Comment #2 from network723@rkmail.ru --- (In reply to Bas Nieuwenhuizen from comment #1)
This patch is on the list and probably fixes it:
Thank you, it worked for me.
https://bugs.freedesktop.org/show_bug.cgi?id=104607
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Timothy Arceri t_arceri@yahoo.com.au --- Fixed by:
author Mauro Rossi issor.oruam@gmail.com commit 4d61eb80187cd8e5984eed94f2ae3c7d6c3b3aa0 (patch)
ac: fix build error in si_shader assert() is replaced by unreachable(), to avoid following building error:
external/mesa/src/gallium/drivers/radeonsi/si_shader.c:1967:1: error: control may reach end of non-void function [-Werror,-Wreturn-type] } ^ 1 error generated.
Fixes: c797cd6 ("ac: add load_patch_vertices_in() to the abi")
Reviewed-by: Bas Nieuwenhuizen bas@basnieuwenhuizen.nl Reviewed-by: Timothy Arceri tarceri@itsqueeze.com
dri-devel@lists.freedesktop.org