Bug ID | 1220490 |
---|---|
Summary | GCC 14: gdb package fails |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Development |
Assignee | screening-team-bugs@suse.de |
Reporter | michal.jires@suse.com |
QA Contact | qa-bugs@suse.de |
CC | mjambor@suse.com, tdevries@suse.com |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
Building gdb with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/gdb/standard/x86_64 Due to: gdb-13.2/gdb/configure: line 418: test: too many arguments configure: error: 18086 gdb-13.2/gdb/configure: line 307: return: Specific: numeric argument required gdb-13.2/gdb/configure: line 317: exit: Specific: numeric argument required gdb-13.2/gdb/configure: conftest.c: In function 'main': gdb-13.2/gdb/configure: conftest.c:54:18: error: implicit declaration of function 'strerror'; did you mean 'Fstrerror'? [-Wimplicit-function-declaration] gdb-13.2/gdb/configure: 54 | strerror (errno)); gdb-13.2/gdb/configure: | ^~~~~~~~ gdb-13.2/gdb/configure: | Fstrerror gdb-13.2/gdb/configure: conftest.c:75:9: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] gdb-13.2/gdb/configure: 75 | if (strcmp ("librpm.so", "/lib64/librpm.so.10") != 0) gdb-13.2/gdb/configure: | ^~~~~~ gdb-13.2/gdb/configure: conftest.c:41:1: note: include '<string.h>' or provide a declaration of 'strcmp' gdb-13.2/gdb/configure: 40 | #include <errno.h> gdb-13.2/gdb/configure: +++ |+#include <string.h> gdb-13.2/gdb/configure: 41 | Builds with: Index: gdb.spec_dir/gdb-13.2/gdb/configure =================================================================== --- gdb.spec_dir.orig/gdb-13.2/gdb/configure +++ gdb.spec_dir/gdb-13.2/gdb/configure @@ -17942,6 +17942,7 @@ else #include <rpm/rpmlib.h> #include <dlfcn.h> #include <errno.h> +#include <string.h> int main ()