https://bugs.freedesktop.org/show_bug.cgi?id=103513

            Bug ID: 103513
           Summary: [build failure] radv_shader.c:683:2: error: format not
                    a string literal and no format arguments
                    [-Werror=format-security]
           Product: Mesa
           Version: git
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: pedretti.fa...@gmail.com
        QA Contact: mesa-dev@lists.freedesktop.org
                CC: a...@alex-smith.me.uk, b...@basnieuwenhuizen.nl

I am getting this radv error while building mesa on Ubuntu:

../../../../../src/amd/vulkan/radv_shader.c: In function
‘radv_shader_dump_stats’:
../../../../../src/amd/vulkan/radv_shader.c:683:2: error: format not a string
literal and no format arguments [-Werror=format-security]
  fprintf(file, buf->buf);
  ^~~~~~~
cc1: some warnings being treated as errors

Full build log here:
https://launchpadlibrarian.net/343622680/buildlog_ubuntu-zesty-amd64.mesa_17.4~git1710300730.446c57~gd~z_BUILDING.txt.gz

I didn't bisect, but I suspect this commit introduced the error:

author     Alex Smith <asm...@feralinteractive.com>
committer  Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
radv: Implement VK_AMD_shader_info
https://cgit.freedesktop.org/mesa/mesa/commit/?id=de889794134e6245e08a24425a6d686a1be584b8

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to