http://bugzilla.opensuse.org/show_bug.cgi?id=1158539 Bug ID: 1158539 Summary: GCC 10: gdb build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The package can't be built due to: [ 192s] g++ -x c++ -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -Wno-error=odr -DPERF_ATTR_SIZE_VER5_BUNDLE -I/home/abuild/rpmbuild/BUILD/gdb-8.3.1/build-x86_64-suse-linux/processor-trace-2.0.1-root/usr/include -I. -I../../gdb -I../../gdb/config -DLOCALEDIR=""/usr/share/locale"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -I../../gdb/../libdecnumber -I../../gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -I/usr/include/python3.7m -I/usr/include/python3.7m -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wformat -Wformat-nonliteral -Wno-unused -Werror -c -o ser-base.o -MT ser-base.o -MMD -MP -MF ./.deps/ser-base.Tpo ../../gdb/ser-base.c [ 192s] In file included from ../../gdb/common/common-defs.h:96, [ 192s] from ../../gdb/defs.h:28, [ 192s] from ../../gdb/regcache.c:20: [ 192s] ../../gdb/regcache.c: In function 'void registers_changed()': [ 192s] ../../gdb/../include/libiberty.h:727:36: error: ignoring return value of 'void* __builtin_alloca(long unsigned int)' declared with attribute 'warn_unused_result' [-Werror=unused-result] [ 192s] 727 | # define alloca(x) __builtin_alloca(x) [ 192s] | ~~~~~~~~~~~~~~~~^~~ [ 192s] ../../gdb/regcache.c:463:3: note: in expansion of macro 'alloca' [ 192s] 463 | alloca (0); [ 192s] | ^~~~~~ [ 192s] g++ -x c++ -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -Wno-error=odr -DPERF_ATTR_SIZE_VER5_BUNDLE -I/home/abuild/rpmbuild/BUILD/gdb-8.3.1/build-x86_64-suse-linux/processor-trace-2.0.1-root/usr/include -I. -I../../gdb -I../../gdb/config -DLOCALEDIR=""/usr/share/locale"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber -I../../gdb/../libdecnumber -I../../gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -I/usr/include/python3.7m -I/usr/include/python3.7m -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wformat -Wformat-nonliteral -Wno-unused -Werror -c -o ser-event.o -MT ser-event.o -MMD -MP -MF ./.deps/ser-event.Tpo ../../gdb/ser-event.c -- You are receiving this mail because: You are on the CC list for the bug.