Bug 54636 - "ld: bvmlinux: Not enough room for program headers (allocated 2, need 3)" building kernel 2.2.19
"ld: bvmlinux: Not enough room for program headers (allocated 2, need 3)" bui...
Product: Red Hat Raw Hide
Classification: Retired
Component: binutils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2001-10-14 16:52 EDT by Jonathan Kamens
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-10-18 04:19:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2001-10-14 16:52:28 EDT
I have gcc-2.96-99, glibc-2.2.4-13 (but the problem also happens with -19),
and binutils-  When I try to run "make bzImage" in my 2.2.19
kernel directory, I get:

ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o
ld: bvmlinux: Not enough room for program headers (allocated 2, need 3)
ld: final link failed: Bad value
make[2]: *** [bvmlinux] Error 1
make[2]: Leaving directory
make[1]: *** [compressed/bvmlinux] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.19/arch/i386/boot'
make: *** [bzImage] Error 2

If I downgrade to binutils-, the problem goes away.
Comment 1 Jakub Jelinek 2001-10-18 04:19:10 EDT
This looks very much like:
Comment 2 Jakub Jelinek 2001-11-12 09:15:20 EST
Should be fixed in

Note You need to log in before you can comment on or make changes to this bug.