<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [build failure] radv_shader.c:683:2: error: format not a string literal and no format arguments [-Werror=format-security]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103513">103513</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[build failure] radv_shader.c:683:2: error: format not a string literal and no format arguments [-Werror=format-security]
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pedretti.fabio@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>alex@alex-smith.me.uk, bas@basnieuwenhuizen.nl
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="https://launchpadlibrarian.net/343622680/buildlog_ubuntu-zesty-amd64.mesa_17.4~git1710300730.446c57~gd~z_BUILDING.txt.gz">https://launchpadlibrarian.net/343622680/buildlog_ubuntu-zesty-amd64.mesa_17.4~git1710300730.446c57~gd~z_BUILDING.txt.gz</a>
I didn't bisect, but I suspect this commit introduced the error:
author Alex Smith <<a href="mailto:asmith@feralinteractive.com">asmith@feralinteractive.com</a>>
committer Bas Nieuwenhuizen <<a href="mailto:bas@basnieuwenhuizen.nl">bas@basnieuwenhuizen.nl</a>>
radv: Implement VK_AMD_shader_info
<a href="https://cgit.freedesktop.org/mesa/mesa/commit/?id=de889794134e6245e08a24425a6d686a1be584b8">https://cgit.freedesktop.org/mesa/mesa/commit/?id=de889794134e6245e08a24425a6d686a1be584b8</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>