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

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

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

Build binutils-2.17 with --enable-targets=all fails (Solaris)

2007-04-18 Thread anirkko
Hi Building binutils-2.17 with --enable-targets=all fails, apparently because of a missing stdint.h file (see output below), which I can't find anywhere on my system (Solaris 2.6). Should the configure script not check for the presence of this, and possibly substitute if missing? Or are you suppos

Build binutils-2.17 fails with --enable-64-bit-bfd (Sparc/Solaris)

2007-04-18 Thread anirkko
Hi again Building binutils-2.17 also fails with --enable-64-bit-bfd (see output below) on an Ultra-1 (ultrasparc, running Solaris 2.6 on a 32bit-kernel). Best regards, Arto - ... ... gcc -W -Wall -Wstrict-prototypes -Wmis