Subject: Re: can't build current kernel, Not enough room for program headers
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 05/23/2004 23:02:02
In article <16561.8397.527341.305108@mogli.lke.rad.klinikum.rwth-aachen.de>,
Markus W Kilbinger <kilbi@rad.rwth-aachen.de> wrote:
>>>>>> "Harry" == Harry Waddell <waddell@caravan.com> 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.

christos