Re: build binutils-2.17 fails with gcc-4.1.2 because default -Werror

2007-04-19 Thread Nick Clifton
Hi Guys, I have applied the patch together with this ChangeLog entry. Cheers Nick bfd/ChangeLog 2007-04-19 Nick Clifton <[EMAIL PROTECTED]> * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto. ___ bug-binutils mailing list bu

Re: build binutils-2.17 fails with gcc-4.1.2 because default -Werror

2007-04-18 Thread Alan Modra
On Wed, Apr 18, 2007 at 03:10:48PM +0200, [EMAIL PROTECTED] wrote: > > The build of binutils-2.17 fails with gcc-4.1.2, as far as I can tell > because configure turns on -Werror by default (see output below). > Maybe gcc-4.1.2 warns about stuff that previous versions (gcc-3.x.x) did not? > Have no

Re: build binutils-2.17 fails with gcc-4.1.2 because default -Werror

2007-04-18 Thread Nick Clifton
Hi anirkko, /build/binutils-2.17/bfd/coffcode.h: In function 'coff_rtype_to_howto': /build/binutils-2.17/bfd/coffcode.h:4928: warning: 'genrel.howto' may be used uninitialized in this function The attached patch should take care of this problem. Please could you try it out. Cheers Nick

build binutils-2.17 fails with gcc-4.1.2 because default -Werror

2007-04-18 Thread anirkko
The build of binutils-2.17 fails with gcc-4.1.2, as far as I can tell because configure turns on -Werror by default (see output below). Maybe gcc-4.1.2 warns about stuff that previous versions (gcc-3.x.x) did not? Have no idea whether the warning points out a real problem or not. Maybe not, there