Bug 150718
| Summary: | i386 gcc4 -Werror build fails; if -Werror removed, testsuite tests fail | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jason Vas Dias <jvdias> |
| Component: | gdb | Assignee: | Elena Zannoni <ezannoni> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | wtogami |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-04-27 13:41:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 136450 | ||
gdb-6.3.0.0-1.15 builds successfuly. |
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 -Werror . 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 '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH}\n' gdb-6.3.0.0-0.29-i386 gcc-4.0.0-0.31-i386 glibc-2.3.4-14-i686 binutils-2.15.94.0.2-4-i386 How reproducible: 100% Steps to Reproduce: 1. rpmbuild --rebuild gdb-6.3.0.0-0.29.src.rpm Actual results: Build fails Expected results: Build should succeed Additional info: