Subject: Re: can't build current kernel, Not enough room for program headers
To: Harry Waddell <>
From: Markus W Kilbinger <>
List: current-users
Date: 05/24/2004 00:08:13
>>>>> "Harry" == Harry Waddell <> writes:

    Harry> I tried building a new kernel from todays src to test some ACPI patches, and
    Harry> ran into this:

    Harry> #      link  GENERIC_LAPTOP/netbsd
    Harry> ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X
    Harry> -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o ld: netbsd: Not enough room for
    Harry> program headers (allocated 3, need 4) ld: final link failed: Bad value
    Harry> *** [netbsd] Error code 1
    Harry> 1 error

    Harry> is anyone else experiencing this problem? Is there an easy
    Harry> workaround?

It was due to binutils/bfd/elf.c changes -> just re-update your
sources, a workaround was just checked in.