mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Kernel Link Problems
@ 2001-10-17 23:29 Bill Huey
  2001-10-18 13:25 ` Cliff Albert
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Huey @ 2001-10-17 23:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: Bill Huey


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel Link Problems
  2001-10-17 23:29 Kernel Link Problems Bill Huey
@ 2001-10-18 13:25 ` Cliff Albert
  2001-10-18 13:36   ` Bill Huey
  2001-10-18 13:37   ` Cliff Albert
  0 siblings, 2 replies; 4+ messages in thread
From: Cliff Albert @ 2001-10-18 13:25 UTC (permalink / raw)
  To: Bill Huey; +Cc: linux-kernel, alan

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel Link Problems
  2001-10-18 13:25 ` Cliff Albert
@ 2001-10-18 13:36   ` Bill Huey
  2001-10-18 13:37   ` Cliff Albert
  1 sibling, 0 replies; 4+ messages in thread
From: Bill Huey @ 2001-10-18 13:36 UTC (permalink / raw)
  To: Bill Huey, linux-kernel, alan

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel Link Problems
  2001-10-18 13:25 ` Cliff Albert
  2001-10-18 13:36   ` Bill Huey
@ 2001-10-18 13:37   ` Cliff Albert
  1 sibling, 0 replies; 4+ messages in thread
From: Cliff Albert @ 2001-10-18 13:37 UTC (permalink / raw)
  To: Bill Huey, linux-kernel, alan

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 | www.oisec.net
cliff@oisec.net		| 6BONE:     CA2-6BONE	 | icq 18461740

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-10-18 13:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-17 23:29 Kernel Link Problems Bill Huey
2001-10-18 13:25 ` Cliff Albert
2001-10-18 13:36   ` Bill Huey
2001-10-18 13:37   ` Cliff Albert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®