[Mesa-dev] Fwd: errors for mesa master Android build 1698

Jason Ekstrand jason at jlekstrand.net
Mon Dec 4 23:54:51 UTC 2017


On Mon, Dec 4, 2017 at 3:12 PM, Rob Herring <robh at kernel.org> wrote:

> Looks like Jason is the actual culprit here. Unfortunately, the build
> can't keep up with every commit. Looks to me like these should be
> fixed.
>

The problem is that you need to define HAVE_FUNC_ATTRIBUTE_NORETURN


> I wonder how long until I give up and just set Android back to
> -Wno-error...
>

Yeah, -Werror may not be such a good idea.  The code I committed isn't
really buggy.  It just doesn't have the #define needed to shut up the
compiler.

--Jason


> Rob
>
>
> ---------- Forwarded message ----------
> From:  <ci_notify at linaro.org>
> Date: Mon, Dec 4, 2017 at 2:47 PM
> Subject: errors for mesa master Android build 1698
> To: rob.herring at linaro.org, samuel.pitoiset at gmail.com
>
>
> Build URL: https://ci.linaro.org/job/robher-aosp/1698/
> Full log: https://ci.linaro.org/job/robher-aosp/1698/consoleText
> Parsed warnings/errors:
> https://ci.linaro.org/job/robher-aosp/1698/parsed_console
>
> branch: origin/master
> commit: 5de7c782fbb30dc49d6b48f797db8f551dada50a
>
> ERRORS:
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:272:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:810:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2182:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2208:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2714:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2734:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2755:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_alu.c:372:1: error: control may
> reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_glsl450.c:106:1: error: control
> may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_glsl450.c:469:1: error: control
> may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:272:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:810:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2182:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2208:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2714:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2734:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2755:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_alu.c:372:1: error: control may
> reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_glsl450.c:106:1: error: control
> may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_glsl450.c:469:1: error: control
> may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:272:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:810:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2182:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2208:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2714:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2734:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2755:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_alu.c:372:1: error: control may
> reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_glsl450.c:106:1: error: control
> may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_glsl450.c:469:1: error: control
> may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_alu.c:372:1: error: control may
> reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:272:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:810:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2182:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2208:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2714:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2734:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/spirv_to_nir.c:2755:1: error:
> control may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_glsl450.c:106:1: error: control
> may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> external/mesa3d/src/compiler/spirv/vtn_glsl450.c:469:1: error: control
> may reach end of non-void function [-Werror,-Wreturn-type]
> }
> ^
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171204/010f33a8/attachment-0001.html>


More information about the mesa-dev mailing list