Subject: Re: can't build current kernel, Not enough room for program headers
To: None <>
From: Christos Zoulas <>
List: current-users
Date: 05/23/2004 23:02:02
In article <>,
Markus W Kilbinger <> wrote:
>>>>>> "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.

And that broke something else; so the whole thing is backed out for now.