[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-12-28 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2007-12-29 01:48 --- This is now fixed for builds with gcc by the following change: http://sources.redhat.com/ml/binutils/2007-12/msg00160.html -- What|Removed |Added ---

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-12-28 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2007-12-28 19:55 --- Native build with gcc 4.2.2 on hppa64-hp-hpux11.11 fails: /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/bf d -I. -DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE -DHPUX_CORE -DHPUX_LAR

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-16 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-16 15:18 --- Patches checked in with this ChangeLog entry. bfd/ChangeLog 2007-10-16 Nick Clifton <[EMAIL PROTECTED]> PR 5146 * configure.in (AC_CHECK_HEADERS): Add alloca.h * configure: Regenerate.

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-16 Thread haubi at gentoo dot org
--- Additional Comments From haubi at gentoo dot org 2007-10-16 15:05 --- Hi Nick, > Well bum. OK, I'll check your patch in as well as mine, and that should take > care of it, right ? Yep - both bfd/som.c and bfd/elf64-hppa.c get "config.h" through "sysdep.h" - should work. And you d

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-16 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-16 14:55 --- Subject: Re: bfd build fails in alloca-conf.h when built without gcc Hi Haubi, > Currently bfd/configure does _not_ check for - IMO this still is > required, as that patch tests HAVE_ALLOCA_H too. Well bum.

Re: [Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-16 Thread Nick Clifton
Hi Haubi, Currently bfd/configure does _not_ check for - IMO this still is required, as that patch tests HAVE_ALLOCA_H too. Well bum. OK, I'll check your patch in as well as mine, and that should take care of it, right ? Cheers Nick ___ bu

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-16 Thread haubi at gentoo dot org
--- Additional Comments From haubi at gentoo dot org 2007-10-16 14:44 --- Well, compiling bfd/som.c succeeded, so the patch for bfd/som.c seems ok. But linking the first executable in binutils/ now gives: /bin/sh ./libtool --tag=CC --mode=link cc -Wp,-H256000 -g -o size size.o bucomm

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-16 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-16 14:16 --- Subject: Re: bfd build fails in alloca-conf.h when built without gcc Hi Haubi, > With this patch only (without checking for in bfd/configure), the > next unknown symbol is 'size_t': Doh. > Eh, in gas/ChangeL

Re: [Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-16 Thread Nick Clifton
Hi Haubi, With this patch only (without checking for in bfd/configure), the next unknown symbol is 'size_t': Doh. Eh, in gas/ChangeLog-9295 there is this log entry: "Replace alloca-conf.h inclusion with code recommended in autoconf documentation." Maybe this should be done for bfd too ?

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-15 Thread haubi at gentoo dot org
--- Additional Comments From haubi at gentoo dot org 2007-10-15 09:51 --- Hi Nick, (In reply to comment #1) > Fixing the bfd configure script so that the system alloca.h is used instead > does not seem to me to be sufficient - the problem can still arise in other > build directories.

[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-10-12 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-10-12 16:47 --- Subject: Re: New: bfd build fails in alloca-conf.h when built without gcc Hi Michael, > When building binutils-2.18 with native cc on hppa-hpux11.11, > include/alloca-conf.h fails to correctly include , or to d