Re: Kernel Link Problems

Cliff Albert (cliff@oisec.net)
Thu, 18 Oct 2001 15:25:16 +0200


On Wed, Oct 17, 2001 at 04:29:41PM -0700, Bill Huey wrote:

> I'm running the 2.4.12-ac3 and I get this while linking vmlinuz:
>
> ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o piggy.o
> ld: bvmlinux: Not enough room for program headers (allocated 2, need 3)
> ld: final link failed: Bad value
>

Same thing happening here on 2.4.12-ac{2,3}, 2.4.12-ac1 will link correctly

ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o bvmlinux head.o misc.o piggy.o
ld: bvmlinux: Not enough room for program headers (allocated 2, need 3)
ld: final link failed: Bad value

Distribution is Debian/unstable (apt-get dist-upgraded just before compile)

Linux neve 2.4.12-ac1 #7 Fri Oct 12 21:27:50 CEST 2001 i686 unknown

Gnu C 2.95.4
Gnu make 3.79.1
util-linux 2.11l
mount 2.11l
modutils 2.4.10
e2fsprogs 1.25
reiserfsprogs 3.x.0j
Linux C Library 2.2.4
Dynamic linker (ldd) 2.2.4
Procps 2.0.7
Net-tools 1.60
Kbd 1.06
Sh-utils 2.0.11

-- 
Cliff Albert		| RIPE:	     CA3348-RIPE | www.oisec.net
cliff@oisec.net		| 6BONE:     CA2-6BONE	 | icq 18461740
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/