Hello,
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
What's going on and how do I fix this ?
Thanks
bill
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 | http://www.oisec.net
[email protected] | 6BONE: CA2-6BONE | icq 18461740
On Thu, Oct 18, 2001 at 03:25:16PM +0200, Cliff Albert wrote:
> > 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
It's a Debian problem. Downgrade to the previous version of binutils.
bill
On Thu, Oct 18, 2001 at 03:25:16PM +0200, Cliff Albert 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
Some more investigation pointed me that this maybe a flaw in some package in debian-unstable. As 2.4.12-ac2 compiled on my laptop (which was not uptodate) and i've had reports that ac3 compiled just fine on machines running debian-stable.
--
Cliff Albert | RIPE: CA3348-RIPE | http://www.oisec.net
[email protected] | 6BONE: CA2-6BONE | icq 18461740