|
Bugzilla – Full Text Bug Listing |
| Summary: | GCC 11: qemu package fails | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Martin Liška <martin.liska> |
| Component: | Basesystem | Assignee: | E-mail List <kvm-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | brogers |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 1181859 | ||
|
Description
Martin Liška
2021-02-08 07:56:33 UTC
This code is broken all right. I sent a fix to upstream iPXE project, and will include it in next qemu submission to Factory, hopefully today. Thanks for the fix, but there are more errors later in the build: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/qemu/standard/x86_64 [ 2047s] brotli/c/dec/decode.c:2033:41: error: argument 2 of type 'const uint8_t *' {aka 'const unsigned char *'} declared as a pointer [-Werror=vla-parameter] [ 2047s] 2033 | size_t encoded_size, const uint8_t* encoded_buffer, size_t* decoded_size, [ 2047s] | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ [ 2047s] In file included from brotli/c/dec/decode.c:7: [ 2047s] ./brotli/c/include/brotli/decode.h:204:19: note: previously declared as a variable length array 'const uint8_t[*decoded_size]' {aka 'const unsigned char[*decoded_size]'} [ 2047s] 204 | const uint8_t encoded_buffer[BROTLI_ARRAY_PARAM(encoded_size)], [ 2047s] | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 2047s] brotli/c/dec/decode.c:2034:14: error: argument 4 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Werror=vla-parameter] [ 2047s] 2034 | uint8_t* decoded_buffer) { [ 2047s] | ~~~~~~~~~^~~~~~~~~~~~~~ [ 2047s] In file included from brotli/c/dec/decode.c:7: [ 2047s] ./brotli/c/include/brotli/decode.h:206:13: note: previously declared as a variable length array 'uint8_t[encoded_size]' {aka 'unsigned char[encoded_size]'} [ 2047s] 206 | uint8_t decoded_buffer[BROTLI_ARRAY_PARAM(*decoded_size)]); [ 2047s] | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I branched the project and will resolve all the remaining issues. OK, I've got all the GCC 11 failures fixed now. I'll check in soon. This is an autogenerated message for OBS integration: This bug (1181922) was mentioned in https://build.opensuse.org/request/show/879687 Factory / qemu (In reply to Martin Liška from comment #4) > Thanks for the fix, but there are more errors later in the build: > https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging: > Gcc7/qemu/standard/x86_64 > > [ 2047s] brotli/c/dec/decode.c:2033:41: error: argument 2 of type 'const > uint8_t *' {aka 'const unsigned char *'} declared as a pointer > [-Werror=vla-parameter] > [ 2047s] 2033 | size_t encoded_size, const uint8_t* encoded_buffer, > size_t* decoded_size, > [ 2047s] | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ > [ 2047s] In file included from brotli/c/dec/decode.c:7: > [ 2047s] ./brotli/c/include/brotli/decode.h:204:19: note: previously > declared as a variable length array 'const uint8_t[*decoded_size]' {aka > 'const unsigned char[*decoded_size]'} > [ 2047s] 204 | const uint8_t > encoded_buffer[BROTLI_ARRAY_PARAM(encoded_size)], > [ 2047s] | > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > [ 2047s] brotli/c/dec/decode.c:2034:14: error: argument 4 of type 'uint8_t > *' {aka 'unsigned char *'} declared as a pointer [-Werror=vla-parameter] > [ 2047s] 2034 | uint8_t* decoded_buffer) { > [ 2047s] | ~~~~~~~~~^~~~~~~~~~~~~~ > [ 2047s] In file included from brotli/c/dec/decode.c:7: > [ 2047s] ./brotli/c/include/brotli/decode.h:206:13: note: previously > declared as a variable length array 'uint8_t[encoded_size]' {aka 'unsigned > char[encoded_size]'} > [ 2047s] 206 | uint8_t > decoded_buffer[BROTLI_ARRAY_PARAM(*decoded_size)]); > [ 2047s] | > ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This warning is still there, fixed with: https://github.com/google/brotli/pull/893 I'm going to include the patch. I've just made SR#893662. This is an autogenerated message for OBS integration: This bug (1181922) was mentioned in https://build.opensuse.org/request/show/893798 Factory / qemu Fixed now. |