<p></p>
<p>Hi team,</p>
<p>I finally had some time to sit down and poke at this again.</p>
<p>I went ahead and wiped my old git copy and resynced from scratch just to make sure there weren't any lingering issues with testing.</p>
<p>I upgraded to GCC 11.1.0 in the meantime, however I still seem to be getting the infiniband errors I mentioned previously <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/stappersg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stappersg">@stappersg</a> as well as another error, though the build continues after this first error in the "encode" library</p>
<p>Running a standard <code>make -j16</code> shows this error, but continues</p>
<pre><code>enc/encode.c:1435:20: error: argument 5 of type 'const uint8_t *' {aka 'const unsigned char *'} declared as a pointer [-Werror=vla-parameter]
 1435 |     const uint8_t* input_buffer, size_t* encoded_size,
      |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from enc/encode.c:9:
./include/brotli/encode.h:293:19: note: previously declared as a variable length array 'const uint8_t[*encoded_size]' {aka 'const unsigned char[*encoded_size]'}
  293 |     const uint8_t input_buffer[BROTLI_ARRAY_PARAM(input_size)],
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
enc/encode.c:1436:14: error: argument 7 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Werror=vla-parameter]
 1436 |     uint8_t* encoded_buffer) {
      |     ~~~~~~~~~^~~~~~~~~~~~~~
In file included from enc/encode.c:9:
./include/brotli/encode.h:295:13: note: previously declared as a variable length array 'uint8_t[input_size]' {aka 'unsigned char[input_size]'}
  295 |     uint8_t encoded_buffer[BROTLI_ARRAY_PARAM(*encoded_size)]);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

</code></pre>
<p>After that it will switch to the bin-arm64-efi ipxe build, before eventually erroring out with</p>
<pre><code>drivers/infiniband/flexboot_nodnic.c: In function 'flexboot_nodnic_create_qp':
drivers/infiniband/flexboot_nodnic.c:368:53: error: implicit conversion from 'enum ib_queue_pair_type' to 'nodnic_queue_pair_type' [-Werror=enum-conversion]
  368 |  status = nodnic_port_create_qp(&port->port_priv, qp->type,
      |                                                   ~~^~~~~~
drivers/infiniband/flexboot_nodnic.c: In function 'flexboot_nodnic_destroy_qp':
drivers/infiniband/flexboot_nodnic.c:409:45: error: implicit conversion from 'enum ib_queue_pair_type' to 'nodnic_queue_pair_type' [-Werror=enum-conversion]
  409 |  nodnic_port_destroy_qp(&port->port_priv, qp->type,
      |                                           ~~^~~~~~
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/ipxe/pipxe/issues/2#issuecomment-853112641">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFNGVG7XTDZAB2YHAAAHQTTQZDBTANCNFSM4JYPEOCQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFNGVDQV6KOTKQSI74PIW3TQZDBTA5CNFSM4JYPEOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLMXOQI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/pipxe/issues/2#issuecomment-853112641",
"url": "https://github.com/ipxe/pipxe/issues/2#issuecomment-853112641",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>