<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - examples/vm_power_manager fails to build on aarch64 with gcc14"
href="https://bugs.dpdk.org/show_bug.cgi?id=1530">1530</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>examples/vm_power_manager fails to build on aarch64 with gcc14
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>22.11
</td>
</tr>
<tr>
<th>Hardware</th>
<td>ARM
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>examples
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dev@dpdk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>guillaume.gardet@arm.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">examples/vm_power_manager fails to build with gcc14 on openSUSE Tubmleweed
aarch64.
Compiler version:
gcc (SUSE Linux) 14.2.0
Build error:
../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c: In function
‘cmd_query_freq_list_parsed’:
../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:207:42: error:
implicit declaration of function ‘strtol’; did you mean ‘strtok’?
[-Wimplicit-function-declaration]
207 | lcore_id = (unsigned int)strtol(res->cpu_num, &ep,
10);
| ^~~~~~
| strtok
Adding the missing stdlib.h header fixes the problem.
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1530">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>