[Bug 1199821] New: gdb build fails with GCC 13
http://bugzilla.opensuse.org/show_bug.cgi?id=1199821 Bug ID: 1199821 Summary: gdb build fails with GCC 13 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: --- The package fails due to an out-of-date patch: gdb-6.6-buildid-locate-rpm.patch that causes: conftest.c:47:27: error: conflicting types for 'rpmtsInitIterator' due to enum/integer mismatch; have 'struct rpmdbMatchIterator_s *(struct rpmts_s * const, rpmTag, const void *, size_t)' {aka 'struct rpmdbMatchIterator_s *(struct rpmts_s * const, enum rpmTag_e, const void *, long unsigned int)'} [-Werror=enum-int-mismatch] 47 | extern rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmTag rpmtag, | ^~~~~~~~~~~~~~~~~ In file included from conftest.c:38: /usr/include/rpm/rpmts.h:344:20: note: previous declaration of 'rpmtsInitIterator' with type 'struct rpmdbMatchIterator_s *(struct rpmts_s * const, rpmDbiTagVal, const void *, size_t)' {aka 'struct rpmdbMatchIterator_s *(struct rpmts_s * const, int, const void *, long unsigned int)'} 344 | rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag, | ^~~~~~~~~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199821 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz@suse.com, | |tdevries@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199821 http://bugzilla.opensuse.org/show_bug.cgi?id=1199821#c1 --- Comment #1 from Tom de Vries <tdevries@suse.com> --- I see that the mentioned patch has substantial changes in the fedora package gdb 12.1 update, so it's probably best to first do the devel:gcc update to gdb 12.1 before looking into this. Looking in OBS, I see that for devel:gcc/gdb we use gcc 11, and openSUSE:Factory/gdb we use gcc-12, so I'm not sure where you see use of gcc 13. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199821 http://bugzilla.opensuse.org/show_bug.cgi?id=1199821#c2 --- Comment #2 from Martin Li��ka <martin.liska@suse.com> ---
Looking in OBS, I see that for devel:gcc/gdb we use gcc 11, and
No, it uses gcc12 as well (inherited from openSUSE:Factory).
openSUSE:Factory/gdb we use gcc-12, so I'm not sure where you see use of gcc 13.
I have a sub-project for that. Try: osc build --alternative-project devel:gcc:next openSUSE_Tumbleweed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199821 http://bugzilla.opensuse.org/show_bug.cgi?id=1199821#c3 --- Comment #3 from Martin Li��ka <martin.liska@suse.com> --- Any update on this Tom? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199821 http://bugzilla.opensuse.org/show_bug.cgi?id=1199821#c4 --- Comment #4 from Tom de Vries <tdevries@suse.com> --- (In reply to Martin Li��ka from comment #3)
Any update on this Tom?
I just did: ... $ osc build --alternative-project devel:gcc:next openSUSE_Tumbleweed ... in a checkout of devel:gcc/gdb and that build just fine. So I suppose the port to gdb 12.1 in June fixed the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199821 http://bugzilla.opensuse.org/show_bug.cgi?id=1199821#c5 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Martin Li��ka <martin.liska@suse.com> --- Great, thanks and close this as fixed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com