Red Hat Bugzilla – Bug 150718
i386 gcc4 -Werror build fails; if -Werror removed, testsuite tests fail
Last modified: 2007-11-30 17:11:01 EST
Description of problem:
gdb cannot build under gcc4 for i386 with the standard spec file;
it gets compilation warnings which are converted to errors with
If you remove -Werror by setting enable_build_warnings="",
then many tests in the testsuite fail.
gdb seems to be generally unreliable and produces garbage output
when debugging gcc4 compiled code, so I thought rebuilding with
the new gcc4 might help, but then I encountered these problems.
Please fix gdb for the gcc4 build !
Version-Release number of selected component (if applicable):
$ rpm -q gdb gcc glibc binutils --queryformat
Steps to Reproduce:
1. rpmbuild --rebuild gdb-220.127.116.11-0.29.src.rpm
Build should succeed
gdb-18.104.22.168-1.15 builds successfuly.