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
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel