Bug 150718 - i386 gcc4 -Werror build fails; if -Werror removed, testsuite tests fail
Summary: i386 gcc4 -Werror build fails; if -Werror removed, testsuite tests fail
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Elena Zannoni
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC4Blocker
TreeView+ depends on / blocked
 
Reported: 2005-03-09 22:24 UTC by Jason Vas Dias
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-27 13:41:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jason Vas Dias 2005-03-09 22:24:39 UTC
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:

Comment 1 Miloslav Trmač 2005-04-27 13:41:55 UTC
gdb-6.3.0.0-1.15 builds successfuly.


Note You need to log in before you can comment on or make changes to this bug.