[Bug 1169728] New: GCC 10: qemu build fails
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 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... 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 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brogers@suse.com Blocks| |1157217 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c1 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS Assignee|screening-team-bugs@suse.de |martin.liska@suse.com --- Comment #1 from Martin Liška <martin.liska@suse.com> --- One needs to cherry pick:https://github.com/patchew-project/qemu/commit/4ce1e15fbc7266a108a7c77a39626... Let me do it. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c2 --- Comment #2 from Martin Liška <martin.liska@suse.com> --- Ah, all right, the patch is already included in devel project. @Bruce: Can you please make a SR to Factory? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c3 --- Comment #3 from Bruce Rogers <brogers@suse.com> --- (In reply to Martin Liška from comment #2)
Ah, all right, the patch is already included in devel project. @Bruce: Can you please make a SR to Factory?
Yes, I am planning for that shortly. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c4 Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #4 from Bruce Rogers <brogers@suse.com> --- Fixed qemu is submitted to Factory. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c5 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #5 from Martin Liška <martin.liska@suse.com> --- There's one related issue in qemu:testsuite that I've just reported: https://bugs.launchpad.net/qemu/+bug/1874073 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c6 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |IN_PROGRESS --- Comment #6 from Martin Liška <martin.liska@suse.com> --- I've just made a SR#796065. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c7 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #7 from Martin Liška <martin.liska@suse.com> --- Fixed in devel project. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c8 --- Comment #8 from Martin Liška <martin.liska@suse.com> --- Please push the package to openSUSE:Factory. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c10 pgnd _ <pgnet.dev@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.liska@suse.com Flags| |needinfo?(martin.liska@suse | |.com) --- Comment #10 from pgnd _ <pgnet.dev@gmail.com> --- I build qemu @ https://build.opensuse.org/project/show/home:pgnd:Virtualization:qemu gcc9 has been working great. after this bug's 'close', I switched my obs qemu build over to GCC 10. One 'piece' ovmf is now failing build here's the GCC10+ovmf build log https://paste.opensuse.org/949a8539 before spinning my wheels, is ovmf -- related to qemu here -- known to build with GCC10? i.e., is 'my' buildfail GCC10 related? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c11 Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glin@suse.com --- Comment #11 from Bruce Rogers <brogers@suse.com> --- (In reply to pgnd _ from comment #10)
I build qemu @
https://build.opensuse.org/project/show/home:pgnd:Virtualization:qemu
gcc9 has been working great.
after this bug's 'close',
I switched my obs qemu build over to GCC 10. One 'piece'
ovmf
is now failing build
here's the GCC10+ovmf build log
https://paste.opensuse.org/949a8539
before spinning my wheels, is ovmf -- related to qemu here -- known to build with GCC10? i.e., is 'my' buildfail GCC10 related?
Although the qemu package can be enabled to build the EDK2 ovmf code, it doesn't by default so I'm not aware of how it behaves with gcc10. Gary Lin is in charge of ovmf, so I'll add him to cc list. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c12 --- Comment #12 from pgnd _ <pgnet.dev@gmail.com> --- thx. so far, all I can additionally verify is that switching BACK to gcc9 cures the failed-build problem; i.e., gcc9 build's OK == "succeeded". status here: https://build.opensuse.org/project/show/home:pgnd:Virtualization:qemu i understand that's a different statement than gcc10 _is_ the problem. poking around upstream & on gcc list(s) to see if i can find anything relevant ... before someone here provides any additional/useful insight. let me know if this^ should be moved to a separate bug. i s'pose Gary Lin may have some comment re: that. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 http://bugzilla.opensuse.org/show_bug.cgi?id=1169728#c14 --- Comment #14 from pgnd _ <pgnet.dev@gmail.com> --- done: https://bugzilla.opensuse.org/show_bug.cgi?id=1171643 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1169728 pgnd _ <pgnet.dev@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pgnet.dev@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com