[ipxe-devel] [ipxe/pipxe] Raspberry Pi 4? (#2)

IntelMiner notifications at github.com
Wed Jun 2 15:13:29 UTC 2021


Hi team,

I finally had some time to sit down and poke at this again.

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. 

I upgraded to GCC 11.1.0 in the meantime, however I still seem to be getting the infiniband errors I mentioned previously @stappersg as well as another error, though the build continues after this first error in the "encode" library

Running a standard `make -j16` shows this error, but continues

```
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)]);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

```

After that it will switch to the bin-arm64-efi ipxe build, before eventually erroring out with

```
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,
      |                                           ~~^~~~~~
```

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/pipxe/issues/2#issuecomment-853112641
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20210602/1e418ee0/attachment.htm>


More information about the ipxe-devel mailing list