Bug ID | 1169728 |
---|---|
Summary | GCC 10: qemu build fails |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | martin.liska@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:N/qemu/standard/x86_64 with: [ 150s] /home/abuild/rpmbuild/BUILD/qemu-4.2.0/scsi/qemu-pr-helper.c: In function 'multipath_pr_out': [ 150s] /home/abuild/rpmbuild/BUILD/qemu-4.2.0/scsi/qemu-pr-helper.c:523:32: error: array subscript <unknown> is outside array bounds of 'struct transportid *[]' [-Werror=array-bounds] [ 150s] 523 | paramp.trnptid_list[paramp.num_transportid++] = id; [ 150s] | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 150s] In file included from /home/abuild/rpmbuild/BUILD/qemu-4.2.0/scsi/qemu-pr-helper.c:36: [ 150s] /usr/include/mpath_persist.h:168:22: note: while referencing 'trnptid_list' [ 150s] 168 | struct transportid *trnptid_list[]; [ 150s] | ^~~~~~~~~~~~ [ 150s] /home/abuild/rpmbuild/BUILD/qemu-4.2.0/scsi/qemu-pr-helper.c:424:35: note: defined here 'paramp' [ 150s] 424 | struct prout_param_descriptor paramp; [ 150s] | ^~~~~~ I first thought that it's GCC bug. But it seems it's correct warning: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92326