[Mesa-dev] [Bug 103513] [build failure] radv_shader.c:683:2: error: format not a string literal and no format arguments [-Werror=format-security]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 30 08:18:57 UTC 2017


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 at lists.freedesktop.org
          Reporter: pedretti.fabio at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: alex at alex-smith.me.uk, bas at 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 <asmith at feralinteractive.com>
committer  Bas Nieuwenhuizen <bas at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171030/0b5d7605/attachment.html>


More information about the mesa-dev mailing list